mirror of
https://github.com/huggingface/text-generation-inference.git
synced 2025-09-11 12:24:53 +00:00
chore: add dev-containers
This commit is contained in:
parent
805797d50a
commit
2bc1505dac
@ -3,18 +3,18 @@
|
||||
{
|
||||
"name": "CUDA",
|
||||
"image": "nvidia/cuda:12.6.0-devel-ubuntu24.04",
|
||||
"runArgs": [
|
||||
"--gpus=all"
|
||||
],
|
||||
// "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"
|
||||
],
|
||||
// "postCreateCommand": [
|
||||
// "nvidia-smi"
|
||||
// ],
|
||||
"customizations" : {
|
||||
"jetbrains" : {
|
||||
"backend" : "CLion"
|
||||
|
Loading…
Reference in New Issue
Block a user