File size: 1,468 Bytes
7df1c81
a01772f
7df1c81
 
a01772f
7df1c81
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
a01772f
7df1c81
 
 
 
 
 
a01772f
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
#!/bin/bash
# ARC Engine v3.0 Quick Start
# ============================

echo "🤖 ARC Engine v3.0 - Quick Start"
echo "================================="

# Check Python version
PYTHON_VERSION=$(python3 --version 2>&1 | cut -d' ' -f2 | cut -d'.' -f1,2)
echo "Python version: $PYTHON_VERSION"

# Check if requirements are installed
echo ""
echo "Checking dependencies..."

if ! python3 -c "import torch" 2>/dev/null; then
    echo "⚠️  PyTorch not found. Installing core dependencies..."
    pip install torch transformers accelerate peft bitsandbytes datasets trl safetensors tqdm matplotlib requests
fi

if python3 -c "import torch" 2>/dev/null; then
    echo "✓ PyTorch installed"
else
    echo "❌ PyTorch installation failed"
    exit 1
fi

if python3 -c "import transformers" 2>/dev/null; then
    echo "✓ Transformers installed"
else
    echo "❌ Transformers not found"
    exit 1
fi

# Check GPU
echo ""
echo "Checking GPU..."
python3 -c "import torch; print(f'CUDA available: {torch.cuda.is_available()}'); print(f'Device: {torch.cuda.get_device_name(0) if torch.cuda.is_available() else \"CPU\"}') if torch.cuda.is_available() else None"

# Run the engine
echo ""
echo "================================="
echo "Starting ARC Engine v3.0..."
echo "================================="
echo ""
echo "First run will download the model (~16GB)"
echo "Type 'help' for commands, 'help <topic>' for specific help"
echo ""

python3 arc_engine_v30_fixed.py