mirror of
https://github.com/agent0ai/agent-zero.git
synced 2026-05-05 23:41:49 +00:00
x86 build fix + build cleanup
This commit is contained in:
parent
1f33bfcd6a
commit
8edcb957b9
18 changed files with 36 additions and 208 deletions
|
|
@ -44,13 +44,19 @@ python3.12 -m venv /opt/venv
|
|||
source /opt/venv/bin/activate
|
||||
|
||||
# upgrade pip and install static packages
|
||||
pip install --upgrade pip ipython requests
|
||||
pip install --no-cache-dir --upgrade pip ipython requests
|
||||
# Install some packages in specific variants
|
||||
pip install torch --index-url https://download.pytorch.org/whl/cpu
|
||||
|
||||
pip install --no-cache-dir \
|
||||
torch==2.4.0+cpu \
|
||||
torchvision==0.19.0+cpu \
|
||||
torchaudio==2.4.0+cpu \
|
||||
--index-url https://download.pytorch.org/whl/cpu
|
||||
|
||||
echo "====================PYTHON UV ===================="
|
||||
|
||||
curl -Ls https://astral.sh/uv/install.sh | UV_INSTALL_DIR=/usr/local/bin sh
|
||||
|
||||
# clean up pip cache
|
||||
pip cache purge
|
||||
|
||||
echo "====================PYTHON END===================="
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue