Repository navigation
Expand file tree
/
Copy pathpyproject.toml
More file actions
84 lines (79 loc) · 2.34 KB
/
Copy pathpyproject.toml
File metadata and controls
84 lines (79 loc) · 2.34 KB
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
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
[project]
name = "computervision"
version = "0.0.1"
requires-python = "~=3.12.0"
dependencies = [
"numpy==2.2.6",
"matplotlib==3.10.7",
"torch[device-gfx1100]",
"torchvision[device-gfx1100]>=0.29.0a0", # 0.29 matches torch 2.14 (AMD only ships it as pre-release)
"torchinfo==1.8.0",
"torch-utils==0.1.2",
"jupyter==1.1.1",
"opencv-python==4.12.0.88",
"scipy==1.16.3",
"scikit-learn==1.7.2",
"seaborn==0.13.2",
"bokeh==3.8.1",
"pandas==2.3.3",
"albumentations==2.0.8",
"datasets==4.4.1",
"accelerate==1.12.0",
"segment-anything==1.0",
"diffusers==0.35.2",
"ultralytics==8.3.240",
"onnxscript==0.6.2",
"moviepy==2.2.1",
"jinja2==3.1.5",
"pydantic==2.11.6",
"openai==2.48.0",
"tiktoken==0.13.0",
"tavily==1.1.0",
"chromadb==1.5.9",
"pdfplumber==0.11.9",
"pillow==11.3.0",
"transformers==5.15.1",
"requests==2.34.2",
]
[dependency-groups]
dev = []
# AMD ROCm runtime pieces pulled in by torch/torchvision. Listed directly so
# [tool.uv.sources] can pin them to the AMD index (sources only apply to
# direct dependencies; PyPI has unrelated packages with the same names).
rocm = [
"amd-torch-device-gfx1100",
"amd-torch-device-gfx110x",
"amd-torchvision-device-gfx1100",
"rocm",
"rocm-bootstrap",
"rocm-sdk-core",
"rocm-sdk-libraries",
"rocm-sdk-device-gfx1100",
]
[tool.uv]
package = false
default-groups = "all"
# The AMD ROCm torch wheels used here are Windows builds.
environments = ["sys_platform == 'win32'"]
# AMD's index has no .metadata files, so uv reads the Linux wheel's deps,
# which require a Linux-only triton build. The Windows wheel doesn't need it.
override-dependencies = ["triton; sys_platform == 'linux'"]
[[tool.uv.index]]
name = "pypi"
url = "https://pypi.org/simple"
# AMD ROCm builds for Windows (RX 7900 XTX = gfx1100)
[[tool.uv.index]]
name = "amd"
url = "https://stable.repo.amd.com/rocm/whl-next/"
explicit = true
[tool.uv.sources]
torch = { index = "amd" }
torchvision = { index = "amd" }
amd-torch-device-gfx1100 = { index = "amd" }
amd-torch-device-gfx110x = { index = "amd" }
amd-torchvision-device-gfx1100 = { index = "amd" }
rocm = { index = "amd" }
rocm-bootstrap = { index = "amd" }
rocm-sdk-core = { index = "amd" }
rocm-sdk-libraries = { index = "amd" }
rocm-sdk-device-gfx1100 = { index = "amd" }