Spaces:
Running on Zero
Running on Zero
| [project] | |
| name = "zamba2-7b-instruct" | |
| version = "0.1.0" | |
| description = "" | |
| readme = "README.md" | |
| requires-python = ">=3.10" | |
| dependencies = [ | |
| "accelerate>=1.4.0", | |
| "causal-conv1d", | |
| "gradio>=5.16.1", | |
| "hf-transfer>=0.1.9", | |
| "mamba-ssm", | |
| "spaces>=0.32.0", | |
| "torch==2.4.0", | |
| "transformers>=4.49.0", | |
| ] | |
| [tool.ruff] | |
| line-length = 119 | |
| [tool.ruff.lint] | |
| select = ["ALL"] | |
| ignore = [ | |
| "COM812", # missing-trailing-comma | |
| "D203", # one-blank-line-before-class | |
| "D213", # multi-line-summary-second-line | |
| "E501", # line-too-long | |
| "SIM117", # multiple-with-statements | |
| ] | |
| extend-ignore = [ | |
| "D100", # undocumented-public-module | |
| "D101", # undocumented-public-class | |
| "D102", # undocumented-public-method | |
| "D103", # undocumented-public-function | |
| "D104", # undocumented-public-package | |
| "D105", # undocumented-magic-method | |
| "D107", # undocumented-public-init | |
| "EM101", # raw-string-in-exception | |
| "FBT001", # boolean-type-hint-positional-argument | |
| "FBT002", # boolean-default-value-positional-argument | |
| "PD901", # pandas-df-variable-name | |
| "PGH003", # blanket-type-ignore | |
| "PLR0913", # too-many-arguments | |
| "PLR0915", # too-many-statements | |
| "TRY003", # raise-vanilla-args | |
| ] | |
| unfixable = [ | |
| "F401", # unused-import | |
| ] | |
| [tool.ruff.lint.pydocstyle] | |
| convention = "google" | |
| [tool.ruff.lint.per-file-ignores] | |
| "*.ipynb" = ["T201"] | |
| [tool.ruff.format] | |
| docstring-code-format = true | |
| [tool.uv.sources] | |
| causal-conv1d = { url = "https://github.com/Dao-AILab/causal-conv1d/releases/download/v1.5.0.post8/causal_conv1d-1.5.0.post8+cu12torch2.4cxx11abiFALSE-cp310-cp310-linux_x86_64.whl" } | |
| mamba-ssm = { url = "https://github.com/state-spaces/mamba/releases/download/v2.2.4/mamba_ssm-2.2.4+cu12torch2.4cxx11abiFALSE-cp310-cp310-linux_x86_64.whl" } | |