Fixes for Actions
All checks were successful
Build and push Docker image in git push / build (push) Successful in 4m58s
All checks were successful
Build and push Docker image in git push / build (push) Successful in 4m58s
This commit is contained in:
@ -29,8 +29,16 @@ RUN apt-get update \
|
||||
curl wget \
|
||||
htop screen
|
||||
|
||||
RUN python3 -m pip install --no-cache-dir --break-system-packages \
|
||||
torch --index-url https://download.pytorch.org/whl/cpu
|
||||
# if cpu container (install cpu only versions; for gpu, gpu versions)
|
||||
RUN if [ ! -d /usr/local/cuda/ ]; then \
|
||||
python3 -m pip install --no-cache-dir --break-system-packages \
|
||||
torch --index-url https://download.pytorch.org/whl/cpu; \
|
||||
python3 -m pip install --no-cache-dir --break-system-packages \
|
||||
faiss-cpu; \
|
||||
else \
|
||||
python3 -m pip install --no-cache-dir --break-system-packages \
|
||||
faiss-gpu; \
|
||||
fi;
|
||||
|
||||
RUN mkdir /ums-agenten/
|
||||
|
||||
|
Reference in New Issue
Block a user