create a group for dev dependencies, there is no need to install all this other stuff just for speedrun and it's exposing people to dependency chain attacks. we need to delete more dependencies. dependencies bad bad bad

This commit is contained in:
Andrej Karpathy
2026-03-26 03:40:55 +00:00
parent 03be953668
commit a445144d39
3 changed files with 32 additions and 13 deletions
+5 -4
View File
@@ -7,23 +7,23 @@ requires-python = ">=3.10"
dependencies = [
"datasets>=4.0.0",
"fastapi>=0.117.1",
"ipykernel>=7.1.0",
"kernels>=0.11.7",
"matplotlib>=3.10.8",
"psutil>=7.1.0",
"python-dotenv>=1.2.1",
"rustbpe>=0.1.0",
"tiktoken>=0.11.0",
"tokenizers>=0.22.0",
"torch==2.9.1",
"transformers>=4.57.3",
"uvicorn>=0.36.0",
"wandb>=0.21.3",
]
[dependency-groups]
dev = [
"ipykernel>=7.1.0",
"matplotlib>=3.10.8",
"pytest>=8.0.0",
"python-dotenv>=1.2.1",
"transformers>=4.57.3",
]
[tool.pytest.ini_options]
@@ -61,6 +61,7 @@ gpu = [
]
[tool.uv]
default-groups = []
conflicts = [
[
{ extra = "cpu" },