41 lines
1.0 KiB
Bash
41 lines
1.0 KiB
Bash
#!/bin/bash
|
|
|
|
# AMD Strix Halo Toolboxes Startup Script
|
|
|
|
echo "Starting AMD Strix Halo Toolboxes..."
|
|
|
|
# Check if Docker is running
|
|
if ! docker info > /dev/null 2>&1; then
|
|
echo "Error: Docker is not running. Please start Docker first."
|
|
exit 1
|
|
fi
|
|
|
|
# Check if we're in the right directory
|
|
if [ ! -f "amd-strix-halo-toolboxes.yml" ]; then
|
|
echo "Error: amd-strix-halo-toolboxes.yml not found. Please run this script from the amd-strix-halo-toolboxes directory."
|
|
exit 1
|
|
fi
|
|
|
|
# Pull the latest images
|
|
echo "Pulling latest images..."
|
|
docker-compose pull
|
|
|
|
# Start the services
|
|
echo "Starting services..."
|
|
docker-compose up -d
|
|
|
|
echo "Services started successfully!"
|
|
echo ""
|
|
echo "Available containers:"
|
|
echo "- amd-strix-halo-llama-rocm (ROCm backend)"
|
|
echo "- amd-strix-halo-llama-vulkan-radv (Vulkan RADV backend)"
|
|
echo "- amd-strix-halo-llama-vulkan-amdvlk (Vulkan AMDVLK backend)"
|
|
echo ""
|
|
echo "To access a container:"
|
|
echo "docker exec -it amd-strix-halo-llama-rocm bash"
|
|
echo ""
|
|
echo "To view logs:"
|
|
echo "docker-compose logs -f"
|
|
|
|
|