[project] name = "rwkv-hf-space" version = "0.1.0" description = "Add your description here" readme = "README.md" requires-python = ">=3.10" dependencies = [ "fastapi[standard]>=0.115.11", "huggingface-hub>=0.29.1", "loguru>=0.7.3", "ninja>=1.11.1.3", "numpy>=2.2.3", "pydantic>=2.10.6", "pydantic-settings>=2.8.1", "pynvml>=12.0.0", "rich>=13.9.4", "rwkv>=0.8.28", "setuptools>=75.8.2", "snowflake-id>=1.0.2", "modelscope>=1.23.0", "transformers", ] [project.optional-dependencies] cpu = ["torch>=2.6.0"] cu124 = ["torch>=2.6.0"] [tool.uv] conflicts = [[{ extra = "cpu" }, { extra = "cu124" }, { extra = "cu113" }]] [tool.uv.sources] torch = [ { index = "pytorch-cpu", extra = "cpu" }, { index = "pytorch-cu124", extra = "cu124" }, ] [[tool.uv.index]] name = "pytorch-cpu" url = "https://download.pytorch.org/whl/cpu" explicit = true [[tool.uv.index]] name = "pytorch-cu124" url = "https://download.pytorch.org/whl/cu124" explicit = true