Skip to content

Commit

Permalink
Merge pull request #28303 from sarthakpati/lion-pytorch
Browse files Browse the repository at this point in the history
Added recipe for `lion-pytorch`
  • Loading branch information
synapticarbors authored Nov 22, 2024
2 parents 0b31c1e + f4ef934 commit 78502c5
Showing 1 changed file with 44 additions and 0 deletions.
44 changes: 44 additions & 0 deletions recipes/lion-pytorch/meta.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,44 @@
{% set name = "lion-pytorch" %}
{% set version = "0.2.2" %}
{% set python_min = "3.7" %}

package:
name: {{ name|lower }}
version: {{ version }}

source:
url: https://pypi.org/packages/source/{{ name[0] }}/{{ name }}/lion_pytorch-{{ version }}.tar.gz
sha256: 46ad3eca1a57c383acc05a503d6b087344cfc23e3f63ecbcb8a6392bc034f7a2

build:
noarch: python
script: {{ PYTHON }} -m pip install . -vv
number: 0

requirements:
host:
- python {{ python_min }}
- pip
- setuptools
run:
- python >={{ python_min }}
- pytorch >=1.6

test:
imports:
- lion_pytorch
commands:
- pip check
requires:
- python {{ python_min }}
- pip

about:
home: https://github.com/lucidrains/lion-pytorch
summary: Lion Optimizer for Pytorch
license: MIT
license_file: LICENSE

extra:
recipe-maintainers:
- sarthakpati

0 comments on commit 78502c5

Please sign in to comment.