mirror of
https://github.com/huggingface/text-generation-inference.git
synced 2025-09-11 12:24:53 +00:00
chore: fix dev containers
This commit is contained in:
parent
bad878bdd5
commit
668476a241
@ -0,0 +1,26 @@
|
|||||||
|
// For format details, see https://aka.ms/devcontainer.json. For config options, see the
|
||||||
|
// README at: https://github.com/devcontainers/templates/tree/main/src/cpp
|
||||||
|
{
|
||||||
|
"name": "CUDA",
|
||||||
|
"image": "nvidia/cuda:12.6.0-devel-ubuntu24.04",
|
||||||
|
// "runArgs": [
|
||||||
|
// "--gpus=all"
|
||||||
|
// ],
|
||||||
|
"remoteEnv": {
|
||||||
|
"PATH": "${containerEnv:PATH}:/usr/local/cuda/bin",
|
||||||
|
"LD_LIBRARY_PATH": "$LD_LIBRARY_PATH:/usr/local/cuda/lib64:/usr/local/cuda/extras/CUPTI/lib64",
|
||||||
|
"XLA_FLAGS": "--xla_gpu_cuda_data_dir=/usr/local/cuda"
|
||||||
|
},
|
||||||
|
"updateContentCommand": "bash .devcontainer/install-dev-tools.sh",
|
||||||
|
// "postCreateCommand": [
|
||||||
|
// "nvidia-smi"
|
||||||
|
// ],
|
||||||
|
"customizations" : {
|
||||||
|
"jetbrains" : {
|
||||||
|
"backend" : "CLion"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
|
||||||
|
// Uncomment to connect as root instead. More info: https://aka.ms/dev-containers-non-root.
|
||||||
|
// "remoteUser": "root"
|
||||||
|
}
|
@ -1,26 +0,0 @@
|
|||||||
// For format details, see https://aka.ms/devcontainer.json. For config options, see the
|
|
||||||
// README at: https://github.com/devcontainers/templates/tree/main/src/cpp
|
|
||||||
{
|
|
||||||
"name": "CUDA",
|
|
||||||
"image": "nvidia/cuda:12.6.0-devel-ubuntu24.04",
|
|
||||||
// "runArgs": [
|
|
||||||
// "--gpus=all"
|
|
||||||
// ],
|
|
||||||
"remoteEnv": {
|
|
||||||
"PATH": "${containerEnv:PATH}:/usr/local/cuda/bin",
|
|
||||||
"LD_LIBRARY_PATH": "$LD_LIBRARY_PATH:/usr/local/cuda/lib64:/usr/local/cuda/extras/CUPTI/lib64",
|
|
||||||
"XLA_FLAGS": "--xla_gpu_cuda_data_dir=/usr/local/cuda"
|
|
||||||
},
|
|
||||||
"updateContentCommand": "bash backends/trtllm/.devcontainer/install-dev-tools.sh",
|
|
||||||
// "postCreateCommand": [
|
|
||||||
// "nvidia-smi"
|
|
||||||
// ],
|
|
||||||
"customizations" : {
|
|
||||||
"jetbrains" : {
|
|
||||||
"backend" : "CLion"
|
|
||||||
}
|
|
||||||
},
|
|
||||||
|
|
||||||
// Uncomment to connect as root instead. More info: https://aka.ms/dev-containers-non-root.
|
|
||||||
// "remoteUser": "root"
|
|
||||||
}
|
|
Loading…
Reference in New Issue
Block a user