mirror of
https://github.com/agent0ai/agent-zero.git
synced 2026-07-10 01:18:29 +00:00
torch version fix, cron chmod fix
This commit is contained in:
parent
8edcb957b9
commit
80abbdd301
2 changed files with 6 additions and 5 deletions
|
|
@ -47,9 +47,8 @@ source /opt/venv/bin/activate
|
|||
pip install --no-cache-dir --upgrade pip ipython requests
|
||||
# Install some packages in specific variants
|
||||
pip install --no-cache-dir \
|
||||
torch==2.4.0+cpu \
|
||||
torchvision==0.19.0+cpu \
|
||||
torchaudio==2.4.0+cpu \
|
||||
torch==2.4.0 \
|
||||
torchvision==0.19.0 \
|
||||
--index-url https://download.pytorch.org/whl/cpu
|
||||
|
||||
echo "====================PYTHON UV ===================="
|
||||
|
|
|
|||
|
|
@ -1,8 +1,10 @@
|
|||
#!/bin/bash
|
||||
set -e
|
||||
|
||||
# fix permissions for cron files
|
||||
chmod 0644 /etc/cron.d/*
|
||||
# fix permissions for cron files if any
|
||||
if [ -f /etc/cron.d/* ]; then
|
||||
chmod 0644 /etc/cron.d/*
|
||||
fi
|
||||
|
||||
# Prepare SSH daemon
|
||||
bash /ins/setup_ssh.sh "$@"
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue