Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion comps/animation/src/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ ARG ARCH=cpu

COPY comps /home/user/comps

RUN pip install --no-cache-dir --upgrade pip && \
RUN pip install --no-cache-dir --upgrade pip setuptools && \
pip install --no-cache-dir -r /home/user/comps/animation/src/requirements.txt ;

ENV PYTHONPATH=$PYTHONPATH:/home/user
Expand Down
2 changes: 1 addition & 1 deletion comps/finetuning/src/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ RUN chown -R user /home/user/comps/finetuning

ENV PATH=$PATH:/home/user/.local/bin

RUN python -m pip install --no-cache-dir --upgrade pip && \
RUN python -m pip install --no-cache-dir --upgrade pip setuptools peft && \
python -m pip install --no-cache-dir torch torchvision torchaudio --index-url https://download.pytorch.org/whl/cpu && \
python -m pip install --no-cache-dir intel-extension-for-pytorch && \
python -m pip install --no-cache-dir oneccl_bind_pt --extra-index-url https://pytorch-extension.intel.com/release-whl/stable/cpu/cn/ && \
Expand Down
2 changes: 1 addition & 1 deletion comps/finetuning/src/Dockerfile.intel_hpu
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ RUN chown -R user /home/user/comps/finetuning

ENV PATH=$PATH:/home/user/.local/bin

RUN python -m pip install --no-cache-dir --upgrade pip && \
RUN python -m pip install --no-cache-dir --upgrade pip setuptools && \
python -m pip install --no-cache-dir -r /home/user/comps/finetuning/src/requirements.txt && \
python -m pip install --no-cache-dir optimum-habana

Expand Down
3 changes: 2 additions & 1 deletion comps/lvms/src/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,8 @@ ENV LANG=C.UTF-8
COPY comps /home/user/comps

RUN pip install --no-cache-dir --upgrade pip setuptools && \
pip install --no-cache-dir -r /home/user/comps/lvms/src/requirements.txt
pip install --no-cache-dir -r /home/user/comps/lvms/src/requirements.txt && \
pip install --no-cache-dir --upgrade transformers

ENV PYTHONPATH=$PYTHONPATH:/home/user

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ RUN mkdir /home/user/model && chown user:user -R /home/user/model
COPY --chown=user:user comps /home/user/comps
WORKDIR /home/user/comps/lvms/src/integrations/dependency/video-llama/

RUN pip install --no-cache-dir --upgrade pip && \
RUN pip install --no-cache-dir --upgrade pip setuptools && \
pip install --no-cache-dir -r /home/user/comps/lvms/src/integrations/dependency/video-llama/requirements.txt

ARG VIDEO_LLAMA_REPO=https://github.com/DAMO-NLP-SG/Video-LLaMA.git
Expand Down
2 changes: 1 addition & 1 deletion comps/third_parties/bridgetower/src/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ ENV PYTHONPATH=/home/user:/usr/lib/habanalabs/:/optimum-habana

COPY --chown=user comps /home/user/comps

RUN pip install --no-cache-dir --upgrade pip && \
RUN pip install --no-cache-dir --upgrade pip setuptools && \
pip install --no-cache-dir -r /home/user/comps/third_parties/bridgetower/src/requirements.txt


Expand Down
1 change: 1 addition & 0 deletions comps/third_parties/bridgetower/src/Dockerfile.intel_hpu
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@ COPY --chown=user comps /home/user/comps
# Install requirements and optimum habana
RUN pip install --no-cache-dir --upgrade pip && \
pip install --no-cache-dir -r /home/user/comps/third_parties/bridgetower/src/requirements.txt && \
pip install --no-cache-dir --upgrade transformers && \
pip install --no-cache-dir optimum[habana]

ENV PYTHONPATH=$PYTHONPATH:/home/user
Expand Down
3 changes: 2 additions & 1 deletion comps/third_parties/wav2lip/src/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,8 @@ ENV PYTHONPATH="$PYTHONPATH:/usr/local/lib/python3.11/site-packages/gfpgan"
WORKDIR /usr/local/lib/python3.11/site-packages

# Install pip dependencies
RUN pip install -r /home/user/comps/animation/src/requirements.txt
RUN pip install --no-cache-dir --upgrade pip setuptools && \
pip install -r /home/user/comps/animation/src/requirements.txt

# Custom patches
# Modify the degradations.py file to import rgb_to_grayscale from torchvision.transforms.functional
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,7 @@ RUN git clone https://huggingface.co/lj1995/GPT-SoVITS pretrained_models
RUN mv pretrained_models/* GPT-SoVITS/GPT_SoVITS/pretrained_models/ && \
rm -rf pretrained_models && \
pip install --no-cache-dir -r GPT-SoVITS/requirements.txt && \
pip install --no-cache-dir --upgrade setuptools && \
python -m nltk.downloader averaged_perceptron_tagger_eng cmudict

RUN mv GPT-SoVITS /home/user/
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,7 @@ COPY --chown=user:user comps /home/user/comps
# Install requirements and optimum habana
RUN pip install --no-cache-dir --upgrade pip && \
pip install --no-cache-dir -r /home/user/comps/tts/src/integrations/dependency/speecht5/requirements.txt && \
pip install --no-cache-dir --upgrade transformers && \
pip install --no-cache-dir optimum[habana]

ENV PYTHONPATH=$PYTHONPATH:/home/user
Expand Down
Loading