-
-
Notifications
You must be signed in to change notification settings - Fork 2
Convert from v0 meta.yaml to v1 recipe.yaml syntax #3
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Changes from all commits
f64a6b1
59112ea
50263d6
c53ec16
38adaf7
0105431
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,6 +1,9 @@ | ||
| azure: | ||
| free_disk_space: true | ||
| github: | ||
| branch_name: main | ||
| tooling_branch_name: main | ||
| conda_build: | ||
| error_overlinking: true | ||
| conda_build_tool: rattler-build | ||
| conda_forge_output_validation: true |
This file was deleted.
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,74 @@ | ||
| schema_version: 1 | ||
|
|
||
| context: | ||
| name: mamba-ssm | ||
| version: 2.2.5 | ||
|
|
||
| package: | ||
| name: ${{ name|lower }} | ||
| version: ${{ version }} | ||
|
|
||
| source: | ||
| url: https://github.com/state-spaces/mamba/archive/refs/tags/v${{ version }}.tar.gz | ||
| sha256: 1e072841619af9c171709b2c6ff17daa0d9bf7caf0fcb083f5c11754b63c6cdb | ||
|
|
||
| build: | ||
| number: 1 | ||
| script: | ||
| env: | ||
| MAMBA_FORCE_BUILD: "TRUE" | ||
| content: | ||
| - sed -i.bak 's@"ninja"@#"ninja"@g' setup.py | ||
| - sed -i.bak 's@"ninja"@#"ninja"@g' pyproject.toml | ||
| - ${{ PYTHON }} -m pip install . -vv --no-deps --no-build-isolation | ||
| skip: | ||
| # mamba-ssm requires CUDA (or ROCm) GPU | ||
| - cuda_compiler_version == "None" or not linux | ||
|
|
||
| requirements: | ||
| build: | ||
| - ${{ compiler('c') }} | ||
| - ${{ compiler('cxx') }} | ||
| - ${{ compiler('cuda') }} | ||
| - ${{ stdlib('c') }} | ||
| host: | ||
| - cuda-version ==${{ cuda_compiler_version }} | ||
| - ninja | ||
| - packaging | ||
| - pip | ||
| - python | ||
| - pytorch * cuda* | ||
| - setuptools >=61.0.0 | ||
| - triton | ||
| - wheel | ||
| run: | ||
| - causal-conv1d >=1.5.2 | ||
| - einops | ||
| - packaging | ||
| - python | ||
| - pytorch | ||
| - setuptools >=61.0.0 | ||
| - transformers | ||
|
|
||
| tests: | ||
| # Need a GPU to import mamba_ssm, can re-enable when pytorch depends on triton>=3.4.0 | ||
| # containing the https://github.com/triton-lang/triton/pull/6570 bugfix | ||
| # - python: | ||
| # imports: | ||
| # - mamba_ssm | ||
| - requirements: | ||
| run: | ||
| - pip | ||
| script: | ||
| - pip check | ||
|
|
||
| about: | ||
| homepage: https://github.com/state-spaces/mamba | ||
| summary: Mamba state-space model | ||
| license: Apache-2.0 | ||
| license_file: LICENSE | ||
|
|
||
| extra: | ||
| recipe-maintainers: | ||
| - timkpaine | ||
| - weiji14 | ||
Uh oh!
There was an error while loading. Please reload this page.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Added myself to the recipe maintainer list if you don't mind! I'd be interested in adding aarch builds later for Grace Hopper systems (xref conda-forge/conda-forge-pinning-feedstock#7764). Can also help with the CUDA 12.9 migration at #1 later.