Files
NexQuant/start_llama.sh
T
TPTBusiness 11d96ec3bd feat: Data Loader module with tests (P0 complete)
Created rdagent/scenarios/qlib/local/data_loader.py:
- OHLCV loading with thread-safe caching
- Factor metadata loading (sorted by IC)
- Factor time-series loading with alignment
- Feature matrix builder
- Randomized factor selection for diverse strategies
- 11 tests passing

Note: data_loader.py is in local/ (closed source)
Test file is public to validate interface.
2026-04-09 08:15:49 +02:00

32 lines
827 B
Bash
Executable File

#!/bin/bash
# Start llama.cpp server with Qwen3.5-35B for strategy generation
# Usage: ./start_llama.sh
MODEL_PATH="$HOME/models/qwen3.5/Qwen3.5-35B-A3B-Q3_K_M.gguf"
PORT=8081
# GPU: RTX 5060 Ti (16GB VRAM)
# Modell braucht ~15.7GB bei voller GPU-Nutzung
# Mit 14GB free → reduzieren wir GPU-Layers + Context
GPU_LAYERS=30 # Weniger Layers für VRAM
CTX_SIZE=4096 # 4K Context (reicht für Strategien)
echo "🚀 Starting llama.cpp server..."
echo " Model: $(basename $MODEL_PATH)"
echo " Port: $PORT"
echo " GPU Layers: $GPU_LAYERS"
echo " Context: $CTX_SIZE"
echo ""
exec ~/llama.cpp/build/bin/llama-server \
--model "$MODEL_PATH" \
--n-gpu-layers $GPU_LAYERS \
--ctx-size $CTX_SIZE \
--port $PORT \
--threads 8 \
--threads-batch 8 \
--parallel 1 \
--flash-attn \
--jinja \
--host 0.0.0.0