mirror of
https://github.com/karpathy/nanochat.git
synced 2026-03-23 13:23:23 +00:00
Make GPU optional
This commit is contained in:
parent
e72efbbf14
commit
9d4556ba95
|
|
@ -11,6 +11,8 @@
|
|||
// Everythong else gets installed automatically by uv
|
||||
},
|
||||
|
||||
// Needed for GPU passthrough for CUDA in the container
|
||||
"runArgs": ["--gpus=all"]
|
||||
// Pass-through the GPU for CUDA if one is available
|
||||
"hostRequirements": {
|
||||
"gpu": "optional"
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user