mirror of
https://github.com/1Panel-dev/MaxKB.git
synced 2025-12-26 01:33:05 +00:00
refactor: 尝试去掉nvidia依赖
This commit is contained in:
parent
d89599890e
commit
bf3d06e7b2
|
|
@ -24,7 +24,7 @@ RUN mv /opt/maxkb/app/model/* /opt/maxkb/model && \
|
|||
apt-get update && apt-get install -y curl && \
|
||||
pip3 install --upgrade pip && \
|
||||
cat pyproject.toml && \
|
||||
if [ `uname -m` == "aarch64" ]; then sed -i '/^torch/d' pyproject.toml; fi && \
|
||||
if [ "$(uname -m)" = "aarch64" ]; then sed -i '/^torch/d' pyproject.toml; fi && \
|
||||
cat pyproject.toml && \
|
||||
pip3 install poetry && \
|
||||
poetry export -f requirements.txt --output requirements.txt --without-hashes && \
|
||||
|
|
|
|||
Loading…
Reference in New Issue