File tree Expand file tree Collapse file tree 10 files changed +12
-7
lines changed
integrations/dependency/video-llama
tts/src/integrations/dependency Expand file tree Collapse file tree 10 files changed +12
-7
lines changed Original file line number Diff line number Diff line change @@ -13,7 +13,7 @@ ARG ARCH=cpu
13
13
14
14
COPY comps /home/user/comps
15
15
16
- RUN pip install --no-cache-dir --upgrade pip && \
16
+ RUN pip install --no-cache-dir --upgrade pip setuptools && \
17
17
pip install --no-cache-dir -r /home/user/comps/animation/src/requirements.txt ;
18
18
19
19
ENV PYTHONPATH=$PYTHONPATH:/home/user
Original file line number Diff line number Diff line change @@ -18,7 +18,7 @@ RUN chown -R user /home/user/comps/finetuning
18
18
19
19
ENV PATH=$PATH:/home/user/.local/bin
20
20
21
- RUN python -m pip install --no-cache-dir --upgrade pip && \
21
+ RUN python -m pip install --no-cache-dir --upgrade pip setuptools peft && \
22
22
python -m pip install --no-cache-dir torch torchvision torchaudio --index-url https://download.pytorch.org/whl/cpu && \
23
23
python -m pip install --no-cache-dir intel-extension-for-pytorch && \
24
24
python -m pip install --no-cache-dir oneccl_bind_pt --extra-index-url https://pytorch-extension.intel.com/release-whl/stable/cpu/cn/ && \
Original file line number Diff line number Diff line change @@ -16,7 +16,7 @@ RUN chown -R user /home/user/comps/finetuning
16
16
17
17
ENV PATH=$PATH:/home/user/.local/bin
18
18
19
- RUN python -m pip install --no-cache-dir --upgrade pip && \
19
+ RUN python -m pip install --no-cache-dir --upgrade pip setuptools && \
20
20
python -m pip install --no-cache-dir -r /home/user/comps/finetuning/src/requirements.txt && \
21
21
python -m pip install --no-cache-dir optimum-habana
22
22
Original file line number Diff line number Diff line change @@ -12,7 +12,8 @@ ENV LANG=C.UTF-8
12
12
COPY comps /home/user/comps
13
13
14
14
RUN pip install --no-cache-dir --upgrade pip setuptools && \
15
- pip install --no-cache-dir -r /home/user/comps/lvms/src/requirements.txt
15
+ pip install --no-cache-dir -r /home/user/comps/lvms/src/requirements.txt && \
16
+ pip install --no-cache-dir --upgrade transformers
16
17
17
18
ENV PYTHONPATH=$PYTHONPATH:/home/user
18
19
Original file line number Diff line number Diff line change @@ -17,7 +17,7 @@ RUN mkdir /home/user/model && chown user:user -R /home/user/model
17
17
COPY --chown=user:user comps /home/user/comps
18
18
WORKDIR /home/user/comps/lvms/src/integrations/dependency/video-llama/
19
19
20
- RUN pip install --no-cache-dir --upgrade pip && \
20
+ RUN pip install --no-cache-dir --upgrade pip setuptools && \
21
21
pip install --no-cache-dir -r /home/user/comps/lvms/src/integrations/dependency/video-llama/requirements.txt
22
22
23
23
ARG VIDEO_LLAMA_REPO=https://github.com/DAMO-NLP-SG/Video-LLaMA.git
Original file line number Diff line number Diff line change @@ -13,7 +13,7 @@ ENV PYTHONPATH=/home/user:/usr/lib/habanalabs/:/optimum-habana
13
13
14
14
COPY --chown=user comps /home/user/comps
15
15
16
- RUN pip install --no-cache-dir --upgrade pip && \
16
+ RUN pip install --no-cache-dir --upgrade pip setuptools && \
17
17
pip install --no-cache-dir -r /home/user/comps/third_parties/bridgetower/src/requirements.txt
18
18
19
19
Original file line number Diff line number Diff line change @@ -19,6 +19,7 @@ COPY --chown=user comps /home/user/comps
19
19
# Install requirements and optimum habana
20
20
RUN pip install --no-cache-dir --upgrade pip && \
21
21
pip install --no-cache-dir -r /home/user/comps/third_parties/bridgetower/src/requirements.txt && \
22
+ pip install --no-cache-dir --upgrade transformers && \
22
23
pip install --no-cache-dir optimum[habana]
23
24
24
25
ENV PYTHONPATH=$PYTHONPATH:/home/user
Original file line number Diff line number Diff line change @@ -53,7 +53,8 @@ ENV PYTHONPATH="$PYTHONPATH:/usr/local/lib/python3.11/site-packages/gfpgan"
53
53
WORKDIR /usr/local/lib/python3.11/site-packages
54
54
55
55
# Install pip dependencies
56
- RUN pip install -r /home/user/comps/animation/src/requirements.txt
56
+ RUN pip install --no-cache-dir --upgrade pip setuptools && \
57
+ pip install -r /home/user/comps/animation/src/requirements.txt
57
58
58
59
# Custom patches
59
60
# Modify the degradations.py file to import rgb_to_grayscale from torchvision.transforms.functional
Original file line number Diff line number Diff line change @@ -22,6 +22,7 @@ RUN git clone https://huggingface.co/lj1995/GPT-SoVITS pretrained_models
22
22
RUN mv pretrained_models/* GPT-SoVITS/GPT_SoVITS/pretrained_models/ && \
23
23
rm -rf pretrained_models && \
24
24
pip install --no-cache-dir -r GPT-SoVITS/requirements.txt && \
25
+ pip install --no-cache-dir --upgrade setuptools && \
25
26
python -m nltk.downloader averaged_perceptron_tagger_eng cmudict
26
27
27
28
RUN mv GPT-SoVITS /home/user/
Original file line number Diff line number Diff line change @@ -23,6 +23,7 @@ COPY --chown=user:user comps /home/user/comps
23
23
# Install requirements and optimum habana
24
24
RUN pip install --no-cache-dir --upgrade pip && \
25
25
pip install --no-cache-dir -r /home/user/comps/tts/src/integrations/dependency/speecht5/requirements.txt && \
26
+ pip install --no-cache-dir --upgrade transformers && \
26
27
pip install --no-cache-dir optimum[habana]
27
28
28
29
ENV PYTHONPATH=$PYTHONPATH:/home/user
You can’t perform that action at this time.
0 commit comments