mirror of
https://github.com/karpathy/nanochat.git
synced 2026-04-03 14:15:26 +00:00
Modify numpy dependency for Python version compatibility
Updated numpy dependency to support Python 3.13 and above.
This commit is contained in:
parent
29d53aa64d
commit
73d8ee9a3a
|
|
@ -8,7 +8,9 @@ dependencies = [
|
|||
"datasets>=4.0.0",
|
||||
"fastapi>=0.117.1",
|
||||
"files-to-prompt>=0.6",
|
||||
"numpy==1.26.4",
|
||||
#"numpy==1.26.4", # this restriction was causing a failure for numpy on py3.13
|
||||
"numpy>=2.3.0; python_version>='3.13'",
|
||||
"numpy>=1.26.4; python_version<'3.13'",
|
||||
"psutil>=7.1.0",
|
||||
"regex>=2025.9.1",
|
||||
"setuptools>=80.9.0",
|
||||
|
|
@ -59,4 +61,4 @@ explicit = true
|
|||
[[tool.uv.index]]
|
||||
name = "pytorch-cu128"
|
||||
url = "https://download.pytorch.org/whl/cu128"
|
||||
explicit = true
|
||||
explicit = true
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user