mirror of https://github.com/CrimsonTome/tldr.git
accelerate: leave value as part of the command (#11948)
parent
dc1569dca1
commit
8810d911fe
|
@ -25,4 +25,4 @@
|
||||||
|
|
||||||
- Jalankan model dengan Accelerate, menggunakan GPU dari 2 perangkat yang berbeda:
|
- Jalankan model dengan Accelerate, menggunakan GPU dari 2 perangkat yang berbeda:
|
||||||
|
|
||||||
`accelerate launch {{jalan/menuju/script.py}} --multi_gpu --num_machines {{2}}`
|
`accelerate launch {{jalan/menuju/script.py}} --multi_gpu --num_machines 2`
|
||||||
|
|
|
@ -25,4 +25,4 @@
|
||||||
|
|
||||||
- 2대의 머신을 사용하고, Accelerate로 다중 GPU에서 모델을 실행:
|
- 2대의 머신을 사용하고, Accelerate로 다중 GPU에서 모델을 실행:
|
||||||
|
|
||||||
`accelerate launch {{경로/대상/스크립트.py}} --multi_gpu --num_machines {{2}}`
|
`accelerate launch {{경로/대상/스크립트.py}} --multi_gpu --num_machines 2`
|
||||||
|
|
|
@ -25,4 +25,4 @@
|
||||||
|
|
||||||
- Voer een model uit op multi-GPU met Accelerate, met 2 machines:
|
- Voer een model uit op multi-GPU met Accelerate, met 2 machines:
|
||||||
|
|
||||||
`accelerate launch {{pad/naar/script.py}} --multi_gpu --num_machines {{2}}`
|
`accelerate launch {{pad/naar/script.py}} --multi_gpu --num_machines 2`
|
||||||
|
|
|
@ -25,4 +25,4 @@
|
||||||
|
|
||||||
- Run a model on multi-GPU with Accelerate, with 2 machines:
|
- Run a model on multi-GPU with Accelerate, with 2 machines:
|
||||||
|
|
||||||
`accelerate launch {{path/to/script.py}} --multi_gpu --num_machines {{2}}`
|
`accelerate launch {{path/to/script.py}} --multi_gpu --num_machines 2`
|
||||||
|
|
Loading…
Reference in New Issue