Skip to content

Commit a330aa9

Browse files
committed
update
1 parent 40f279d commit a330aa9

File tree

1 file changed

+17
-12
lines changed

1 file changed

+17
-12
lines changed

pyproject.toml

Lines changed: 17 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -9,18 +9,23 @@ description = "Implement a ChatGPT-like LLM in PyTorch from scratch, step by ste
99
readme = "README.md"
1010
requires-python = ">=3.10,<=3.13"
1111
dependencies = [
12-
"torch>=2.2.2,<2.6; sys_platform == 'darwin' and platform_machine == 'x86_64'", # Intel macOS
13-
"torch>=2.2.2; sys_platform != 'darwin' or platform_machine != 'x86_64'",
14-
"jupyterlab>=4.0",
15-
"tiktoken>=0.5.1",
16-
"matplotlib>=3.7.1",
17-
"tensorflow>=2.16.2; sys_platform == 'darwin' and platform_machine == 'x86_64'", # Intel macOS
18-
"tensorflow>=2.18.0; sys_platform != 'darwin' or platform_machine != 'x86_64'",
19-
"tqdm>=4.66.1",
20-
"numpy>=1.26,<2.1",
21-
"pandas>=2.2.1",
22-
"pip>=25.0.1",
23-
"pytest>=8.3.5",
12+
]
13+
"torch>=2.2.2,<=2.5.1; sys_platform == 'darwin' and platform_machine == 'x86_64' and python_version < '3.13'", # Intel Mac
14+
"torch>=2.2.2; sys_platform == 'darwin' and platform_machine == 'arm64'",
15+
"torch>=2.2.2; sys_platform == 'linux'",
16+
"torch>=2.2.2; sys_platform == 'win32'",
17+
"tensorflow>=2.16.2; sys_platform == 'darwin' and platform_machine == 'x86_64'",
18+
"tensorflow>=2.18.0; sys_platform == 'darwin' and platform_machine == 'arm64'",
19+
"tensorflow>=2.18.0; sys_platform == 'linux'",
20+
"tensorflow>=2.18.0; sys_platform == 'win32'",
21+
"jupyterlab>=4.0",
22+
"tiktoken>=0.5.1",
23+
"matplotlib>=3.7.1",
24+
"tqdm>=4.66.1",
25+
"numpy>=1.26,<2.1",
26+
"pandas>=2.2.1",
27+
"pip>=25.0.1",
28+
"pytest>=8.3.5",
2429
]
2530

2631
[tool.uv.sources]

0 commit comments

Comments
 (0)