diff --git a/Dockerfile.hpu b/Dockerfile.hpu index c654ff4..15bfc5a 100644 --- a/Dockerfile.hpu +++ b/Dockerfile.hpu @@ -7,21 +7,11 @@ ENV OMPI_MCA_btl_vader_single_copy_mechanism=none ENV PT_HPU_LAZY_ACC_PAR_MODE=0 ENV PT_HPU_ENABLE_LAZY_COLLECTIVES=1 -# Install essential Linux packages +# Set timezone to UTC and install essential packages ENV DEBIAN_FRONTEND="noninteractive" TZ=Etc/UTC RUN apt-get update && apt-get install -y \ tzdata \ - bash-completion \ python3-pip \ - openssh-server \ - vim \ - iputils-ping \ - net-tools \ - protobuf-compiler \ - curl \ - bc \ - gawk \ - tmux \ && rm -rf /var/lib/apt/lists/* # Download and install the static build of ffmpeg diff --git a/README.md b/README.md index 2d86aed..20b4a96 100644 --- a/README.md +++ b/README.md @@ -154,15 +154,7 @@ See the [PyTorch Docker Images for the IntelĀ® GaudiĀ® Accelerator](https://deve ### Run the Container ```bash -docker run -it --runtime=habana \ - -e HABANA_VISIBLE_DEVICES=all \ - -e OMPI_MCA_btl_vader_single_copy_mechanism=none \ - --cap-add=sys_nice \ - --net=host \ - --ipc=host \ - -v /path/to/your/whisper:/root/whisper \ - whisper_hpu:latest \ - /bin/bash +docker run -it --runtime=habana -v /path/to/your/whisper:/root/whisper whisper_hpu:latest /bin/bash ``` Make sure to replace `/path/to/your/whisper` with the path to the Whisper repository on your local machine.