Spaces:
Sleeping
Sleeping
File size: 1,216 Bytes
feff440 58ae89c 0b04b83 cf95a3b f12b6ac 1c32918 f12b6ac 0b04b83 cf95a3b 58ae89c cf95a3b 3ab9d2b cf95a3b 50751c0 328da4d 9cdb119 cf95a3b 1815be7 58ae89c 2d5d0cd 58ae89c 2d5d0cd 58ae89c f14f9ff 9cdb119 |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 |
[project]
name = "rubik-tensor"
version = "0.1.0"
description = "Add your description here"
readme = "README.md"
requires-python = ">=3.11,<3.14"
dependencies = [
"fire>=0.7.0",
"gradio>=5.38",
"loguru>=0.7.3",
"plotly>=6.2.0",
]
[project.optional-dependencies]
torch = [ "torch>=2.7.1" ]
torch-cpu = [ "torch>=2.7.1" ]
torch-cu126 = [ "torch>=2.7.1" ]
[dependency-groups]
dev = [
"jupyter>=1.1.1",
"mypy>=1.16.1",
"pre-commit>=4.2.0",
"pytest>=8.4.1",
"pytest-cov>=6.2.1",
"ruff>=0.12.0",
]
[tool.uv]
package = true
conflicts = [
[
{ extra = "torch" },
{ extra = "torch-cpu" },
{ extra = "torch-cu126" },
],
]
[tool.uv.sources]
torch = [
{ extra = "torch", index = "pypi" },
{ extra = "torch-cpu", index = "torch-cpu" },
{ extra = "torch-cu126", index = "torch-cu126" },
]
[[tool.uv.index]]
name = "torch-cpu"
url = "https://download.pytorch.org/whl/cpu"
explicit = true
[[tool.uv.index]]
name = "torch-cu126"
url = "https://download.pytorch.org/whl/cu126"
explicit = true
[[tool.uv.index]]
name = "pypi"
url = "https://pypi.python.org/simple"
[tool.ruff]
line-length = 120
[tool.pytest.ini_options]
addopts = "--cov src"
|