mirror of
https://github.com/openai/whisper.git
synced 2025-11-24 06:26:03 +00:00
Delete redundant linux packages in Dockerfile.hpu + update README.md
This commit is contained in:
parent
adaec5a2e1
commit
866fece681
@ -7,21 +7,11 @@ ENV OMPI_MCA_btl_vader_single_copy_mechanism=none
|
|||||||
ENV PT_HPU_LAZY_ACC_PAR_MODE=0
|
ENV PT_HPU_LAZY_ACC_PAR_MODE=0
|
||||||
ENV PT_HPU_ENABLE_LAZY_COLLECTIVES=1
|
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
|
ENV DEBIAN_FRONTEND="noninteractive" TZ=Etc/UTC
|
||||||
RUN apt-get update && apt-get install -y \
|
RUN apt-get update && apt-get install -y \
|
||||||
tzdata \
|
tzdata \
|
||||||
bash-completion \
|
|
||||||
python3-pip \
|
python3-pip \
|
||||||
openssh-server \
|
|
||||||
vim \
|
|
||||||
iputils-ping \
|
|
||||||
net-tools \
|
|
||||||
protobuf-compiler \
|
|
||||||
curl \
|
|
||||||
bc \
|
|
||||||
gawk \
|
|
||||||
tmux \
|
|
||||||
&& rm -rf /var/lib/apt/lists/*
|
&& rm -rf /var/lib/apt/lists/*
|
||||||
|
|
||||||
# Download and install the static build of ffmpeg
|
# Download and install the static build of ffmpeg
|
||||||
|
|||||||
10
README.md
10
README.md
@ -154,15 +154,7 @@ See the [PyTorch Docker Images for the Intel® Gaudi® Accelerator](https://deve
|
|||||||
### Run the Container
|
### Run the Container
|
||||||
|
|
||||||
```bash
|
```bash
|
||||||
docker run -it --runtime=habana \
|
docker run -it --runtime=habana -v /path/to/your/whisper:/root/whisper whisper_hpu:latest /bin/bash
|
||||||
-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
|
|
||||||
```
|
```
|
||||||
|
|
||||||
Make sure to replace `/path/to/your/whisper` with the path to the Whisper repository on your local machine.
|
Make sure to replace `/path/to/your/whisper` with the path to the Whisper repository on your local machine.
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user