Update requirements for Intel Macs (#807)

This commit is contained in:
Sebastian Raschka
2025-09-04 15:07:46 -05:00
committed by GitHub
parent efad18bd0b
commit 623dc65d5d
2 changed files with 6 additions and 6 deletions

View File

@@ -7,14 +7,14 @@ name = "llms-from-scratch"
version = "1.0.18"
description = "Implement a ChatGPT-like LLM in PyTorch from scratch, step by step"
readme = "README.md"
requires-python = ">=3.10,<3.13"
requires-python = ">=3.10,<=3.13"
dependencies = [
"torch==2.2.2; sys_platform == 'darwin' and platform_machine == 'x86_64'", # Intel macOS
"torch>=2.3.0; sys_platform != 'darwin' or platform_machine != 'x86_64'",
"torch>=2.2.2,<2.6; sys_platform == 'darwin' and platform_machine == 'x86_64'", # Intel macOS
"torch>=2.3.0,<2.6; sys_platform != 'darwin' or platform_machine != 'x86_64'",
"jupyterlab>=4.0",
"tiktoken>=0.5.1",
"matplotlib>=3.7.1",
"tensorflow==2.16.2; sys_platform == 'darwin' and platform_machine == 'x86_64'", # Intel macOS
"tensorflow>=2.16.2; sys_platform == 'darwin' and platform_machine == 'x86_64'", # Intel macOS
"tensorflow>=2.18.0; sys_platform != 'darwin' or platform_machine != 'x86_64'",
"tqdm>=4.66.1",
"numpy>=1.26,<2.1",