mirror of
https://github.com/rakuri255/UltraSinger.git
synced 2026-12-02 18:08:08 +09:00
Use requirement - windows or linux to fix tensorflow 2.10 install problem
This commit is contained in:
1 parent
9ead62b101
commit
3fbc0187ea
8 files changed
+668
-7
No files matched your search
+2
-2
@@ -7,7 +7,7 @@ RUN apt-get update \
|
||||
&& rm -rf /var/lib/apt/lists/*
|
||||
|
||||
# copy only the requirements file to leverage container image build cache
|
||||
COPY ./requirements.txt /app/UltraSinger/requirements.txt
|
||||
COPY ./requirements.txt /app/UltraSinger/requirements-linux.txt
|
||||
WORKDIR /app/UltraSinger
|
||||
|
||||
# no need to run as root
|
||||
@@ -20,7 +20,7 @@ RUN python3 -m venv $VIRTUAL_ENV
|
||||
ENV PATH="$VIRTUAL_ENV/bin:$PATH"
|
||||
|
||||
# install dependencies
|
||||
RUN pip install --no-cache-dir -r requirements.txt \
|
||||
RUN pip install --no-cache-dir -r requirements-linux.txt \
|
||||
&& pip install --no-cache-dir torch==2.3.0 torchvision==0.18.0 torchaudio==2.3.0 --index-url https://download.pytorch.org/whl/cu121 \
|
||||
&& pip install --no-cache-dir tensorflow[and-cuda]==2.16.1
|
||||
|
||||
|
||||
Reference in new issue
Block a user