wip deepseek train

This commit is contained in:
Niels Geens
2025-03-03 16:57:04 +01:00
parent b64f8d7d33
commit 3ea3239a9b
21 changed files with 175 additions and 7058 deletions

View File

@@ -1,4 +1,4 @@
#!/bin/bash
container_id=$(docker ps -q)
docker exec -it $container_id bash
docker exec -it $container_id bash -l

View File

@@ -1,11 +1,31 @@
#!/bin/bash
set -e
echo "=== Preparing SIA environment ==="
echo "Installing ITB tool..."
/root/venvs/itb/bin/pip install -e /root/sia/tools/itb/ || echo "Warning: Failed to install ITB tool"
echo "Installing Train tool..."
/root/venvs/train/bin/pip install -e /root/sia/tools/train/ || echo "Warning: Failed to install Train tool"
echo "Installing SIA core..."
/root/venvs/sia/bin/pip install -e /root/sia/ || { echo "Error: Failed to install SIA core"; exit 1; }
echo "=== Starting SIA ==="
while true; do
sia
if [ $? -eq 42 ]; then
echo "SIA exited with code 42. Restarting."
EXIT_CODE=$?
if [ $EXIT_CODE -eq 42 ]; then
echo "SIA exited with code 42. Restarting in 2 seconds..."
sleep 2
else
echo "SIA exited with code $?. Not restarting."
echo "SIA exited with code $EXIT_CODE. Not restarting."
break
fi
done
done
exit $EXIT_CODE