-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpyproject.toml
More file actions
112 lines (105 loc) · 2.93 KB
/
pyproject.toml
File metadata and controls
112 lines (105 loc) · 2.93 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
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
[project]
name = "Transtreaming"
version = "0.1.0"
description = "Add your description here"
readme = "README.md"
classifiers = ["Private :: Do Not Upload"]
requires-python = ">=3.10"
dependencies = [
"torch>=2.5.1",
"torchvision>=0.20.1",
"torchaudio>=2.5.1",
"lightning~=2.5.1.post0",
"torchmetrics~=1.7.3",
"scipy~=1.15.3",
"numpy~=1.26.4",
"kornia~=0.8.1",
"matplotlib~=3.10.3",
"tqdm~=4.67.1",
"rich~=14.0.0",
"pillow~=11.2.1",
"jaxtyping~=0.3.2",
"typeguard~=4.4.3",
"grpcio==1.42.0",
"grpcio-tools==1.42.0",
"protobuf~=3.20.0",
"hydra-core~=1.3.2",
"hydra-colorlog~=1.2.0",
"hydra-optuna-sweeper~=1.2.0",
"hydra-joblib-launcher~=1.2.0",
"omegaconf~=2.3.0",
"optuna~=2.10.1",
"tensorboard==2.11.2",
"pycocotools==2.0.7",
"sap-toolkit~=1.0.0",
"nuscenes-devkit~=1.1.9",
"rootutils~=1.0.7",
"pre-commit~=4.2.0",
"pytest~=8.4.0",
"sh~=2.2.2 ; sys_platform == 'linux'",
"pywin32 ; sys_platform == 'win32'",
"ninja~=1.11.1.4",
# "spatial-correlation-sampler~=0.5.0",
"tensordict~=0.9.0",
"setuptools~=80.9.0",
]
[project.optional-dependencies]
cpu = [
"torch~=2.5.1",
"torchvision~=0.20.1",
"torchaudio~=2.5.1",
]
cu124 = [
"torch~=2.5.1",
"torchvision~=0.20.1",
"torchaudio~=2.5.1",
]
cu128 = [
"torch~=2.7.0",
"torchvision~=0.22.0",
"torchaudio~=2.7.0",
]
[tool.uv.sources]
torch = [
{ index = "pytorch-cpu", extra = "cpu", marker = "sys_platform == 'win32' or sys_platform == 'linux'" },
{ index = "pytorch-cu124", extra = "cu124", marker = "sys_platform == 'linux'" },
{ index = "pytorch-cu128", extra = "cu128", marker = "sys_platform == 'linux'" },
]
torchvision = [
{ index = "pytorch-cpu", extra = "cpu", marker = "sys_platform == 'win32' or sys_platform == 'linux'" },
{ index = "pytorch-cu124", extra = "cu124", marker = "sys_platform == 'linux'" },
{ index = "pytorch-cu128", extra = "cu128", marker = "sys_platform == 'linux'" },
]
torchaudio = [
{ index = "pytorch-cpu", extra = "cpu", marker = "sys_platform == 'win32' or sys_platform == 'linux'" },
{ index = "pytorch-cu124", extra = "cu124", marker = "sys_platform == 'linux'" },
{ index = "pytorch-cu128", extra = "cu128", marker = "sys_platform == 'linux'" },
]
[[tool.uv.index]]
name = "tsinghua"
url = "https://pypi.tuna.tsinghua.edu.cn/simple"
default = true
[[tool.uv.index]]
name = "pytorch-cpu"
# url = "https://download.pytorch.org/whl/cpu"
url = "https://mirrors.nju.edu.cn/pytorch/whl/cpu"
explicit = true
[[tool.uv.index]]
name = "pytorch-cu124"
# url = "https://download.pytorch.org/whl/cu124"
url = "https://mirrors.nju.edu.cn/pytorch/whl/cu124"
explicit = true
[[tool.uv.index]]
name = "pytorch-cu128"
# url = "https://download.pytorch.org/whl/cu128"
url = "https://mirrors.nju.edu.cn/pytorch/whl/cu128"
explicit = true
[tool.uv]
no-build-isolation-package = ['flash-attn', 'spatial-correlation-sampler']
conflicts = [
[
{ extra = "cpu" },
{ extra = "cu124" },
{ extra = "cu128" },
],
]