-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathpyproject.toml
More file actions
68 lines (62 loc) · 1.83 KB
/
pyproject.toml
File metadata and controls
68 lines (62 loc) · 1.83 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
[project]
name = "cgo-26-ae"
version = "0.1.0"
description = "CGO 2026 Artifact for Proton"
readme = "README.md"
requires-python = "==3.13.1"
dependencies = [
"bitsandbytes",
"brokenaxes",
"datasets==4.3.0",
"llnl-hatchet",
"matplotlib",
"pytest",
"triton",
"torch",
# "triton_kernels",
"torchvision",
"unsloth",
"unsloth-zoo",
]
[project.optional-dependencies]
cuda = [
"torch==2.9.0+cu128",
"torchvision"
]
rocm = [
"torch",
"torchvision",
"bitsandbytes"
]
[tool.uv]
override-dependencies = [
"xformers; sys_platform == 'never'",
"pytorch-triton-rocm; sys_platform == 'never'",
]
conflicts = [
[
{extra = "cuda"},
{extra = "rocm"}
],
]
[tool.uv.sources]
triton = { path = "./submodules/triton", editable=true}
unsloth = { path = "./submodules/unsloth", editable=true }
unsloth-zoo = { path = "./submodules/unsloth-zoo", editable=true }
# we simply have copies of triton_kernels for each figure so that we can instrument them differently
# triton_kernels = { path = "./submodules/triton/python/triton_kernels", editable=true}
torch = [
{ index = "pytorch", extra = "cuda"},
{ url = "https://download.pytorch.org/whl/nightly/rocm7.0/torch-2.10.0.dev20251116%2Brocm7.0-cp313-cp313-manylinux_2_28_x86_64.whl", extra = "rocm"},
]
torchvision = [
{ index = "pytorch", extra = "cuda" },
{ url = "https://download.pytorch.org/whl/nightly/rocm7.0/torchvision-0.25.0.dev20251117%2Brocm7.0-cp313-cp313-manylinux_2_28_x86_64.whl", extra = "rocm"}
]
bitsandbytes = [
{ url = "https://github.com/bitsandbytes-foundation/bitsandbytes/releases/download/continuous-release_main/bitsandbytes-1.33.7.preview-py3-none-manylinux_2_24_x86_64.whl", extra = "rocm"}
]
[[tool.uv.index]]
name = "pytorch"
url = "https://download.pytorch.org/whl/cu128"
explicit = true