File size: 915 Bytes
feb6f45 |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 |
version: '3.3'
services:
bloom13b:
image: llama13b-pytorch-installer-1.14.0
build:
context: .
network: host
args:
BASE_IMAGE: "${BASE_IMAGE}"
container_name: llama_demo
privileged: true
runtime: habana
environment:
- HABANA_VISIBLE_DEVICES=all
- OMPI_MCA_btl_vader_single_copy_mechanism=none
- PYTHON=/usr/bin/python3
- MODEL_REFERENCES_ROOT=/Model-References
- PYTHONPATH=/Model-References/PyTorch/common:/usr/lib/habanalabs/:$PYTHONPATH
cap_add:
- SYS_NICE
ipc: host
network_mode: host
working_dir: /Model-References/PyTorch/nlp/DeepSpeedExamples/Megatron-DeepSpeed
volumes:
- ./ssh:/root/.ssh/
- ./launch:/launch
- ./launch/.deepspeed_env:/root/.deepspeed_env
- /mnt/weka/peacock/:/data/
- ./Model-References:/Model-References
- /etc/habanalabs/:/etc/habanalabs/
tty: true
|