mirror of
https://github.com/openai/whisper.git
synced 2025-11-24 06:26:03 +00:00
Add requirements_hpu.txt
This commit is contained in:
parent
e1545f4776
commit
adaec5a2e1
@ -37,14 +37,9 @@ RUN mkdir -p /usr/local/bin/ffmpeg && \
|
||||
ADD . /root/whisper
|
||||
WORKDIR /root/whisper
|
||||
|
||||
# Copy requirements.txt explicitly
|
||||
COPY requirements.txt /root/whisper/requirements.txt
|
||||
# Copy HPU requirements
|
||||
COPY requirements_hpu.txt /root/whisper/requirements.txt
|
||||
|
||||
# Install Python packages from requirements.txt
|
||||
# Install Python packages
|
||||
RUN pip install --upgrade pip \
|
||||
&& pip install optimum-habana==1.14.1 \
|
||||
&& pip install transformers==4.33.0 \
|
||||
&& pip install huggingface-hub==0.26.2 \
|
||||
&& pip install tiktoken==0.8.0 \
|
||||
&& pip install torch-geometric==2.6.1 \
|
||||
&& pip install numba==0.60.0
|
||||
&& pip install -r requirements.txt
|
||||
|
||||
6
requirements_hpu.txt
Normal file
6
requirements_hpu.txt
Normal file
@ -0,0 +1,6 @@
|
||||
optimum-habana==1.14.1
|
||||
transformers==4.45.2
|
||||
huggingface-hub==0.26.2
|
||||
tiktoken==0.8.0
|
||||
torch-geometric==2.6.1
|
||||
numba==0.60.0
|
||||
Loading…
x
Reference in New Issue
Block a user