This commit is contained in:
zcr
2026-03-17 12:15:01 +08:00
parent 2c000b3e61
commit 735747032a

View File

@@ -20,8 +20,8 @@ services:
reservations:
devices:
- driver: nvidia
count: all # 使用所有可用GPU也可指定数量如count: 1
capabilities: [ gpu, compute, video ]
device_ids: [ '1' ]
command: >
bash -c "
/opt/conda/envs/trellis/bin/python -c 'import torch; print(torch.__version__, torch.cuda.is_available())' &&