torch version fix, cron chmod fix
frdel committed
Jun 17, 2025 at 21:15 UTC
80abbdd301f02c00ea7014e33d935eb09dc868ab
2 files changed
+6
-5
docker/base/fs/ins/install_python.sh
+2
-3
@@ -47,9 +47,8 @@ source /opt/venv/bin/activate
47
pip install --no-cache-dir --upgrade pip ipython requests
48
# Install some packages in specific variants
49
pip install --no-cache-dir \
50
- torch==2.4.0+cpu \
51
- torchvision==0.19.0+cpu \
52
- torchaudio==2.4.0+cpu \
50
+ torch==2.4.0 \
51
+ torchvision==0.19.0 \
52
--index-url https://download.pytorch.org/whl/cpu
53
54
echo "====================PYTHON UV ===================="
docker/run/fs/ins/pre_install.sh
+4
-2
@@ -1,8 +1,10 @@
1
#!/bin/bash
2
set -e
3
4
-# fix permissions for cron files
5
-chmod 0644 /etc/cron.d/*
4
+# fix permissions for cron files if any
5
+if [ -f /etc/cron.d/* ]; then
6
+ chmod 0644 /etc/cron.d/*
7
+fi
8
9
# Prepare SSH daemon
10
bash /ins/setup_ssh.sh "$@"