version: '3.3' | |
services: | |
gpt3: | |
image: gpt3-pytorch-installer-1.13.1 | |
build: | |
context: . | |
network: host | |
args: | |
BASE_IMAGE: "${BASE_IMAGE}" | |
container_name: gpt3_demo | |
runtime: habana | |
environment: | |
- HABANA_VISIBLE_DEVICES=all | |
- OMPI_MCA_btl_vader_single_copy_mechanism=none | |
- MODEL_GARDEN_ROOT=/model_garden/ | |
cap_add: | |
- SYS_NICE | |
ipc: host | |
network_mode: host | |
working_dir: /launch | |
volumes: | |
- ./ssh:/root/.ssh/ | |
- ./launch:/launch | |
- ./launch/.deepspeed_env:/root/.deepspeed_env | |
- /data/preprocessed_c4_spm:/software/data/datasets/c4_mlperf_19_12_2022/preprocessed_c4_spm | |
- /data/model_garden:/model_garden | |
tty: true | |