#!/usr/bin/env bash # Qwen3.8-Flash-Next GSQ-RCO Coder (Pruned GGUF) lokal ausprobieren – macOS # Automatisch erzeugt von Tokenstrom (tokenstrom.com). # Aufruf: bash try_mac.sh set -e cd "$(dirname "$0")" echo "== Qwen3.8-Flash-Next GSQ-RCO Coder (Pruned GGUF) ==" echo "WARNUNG: Groß (115,9 B parameters, MoE): running entirely on the GPU takes a lot of VRAM (video memory). With MoE offloading, a regular graphics card plus plenty of RAM is enough (see table). Colab Free isn't enough." if true; then echo "== Ollama ==" if ! command -v ollama >/dev/null 2>&1; then if command -v brew >/dev/null 2>&1; then brew install ollama; else echo "Please install the Ollama app first: https://ollama.com/download/mac"; exit 1; fi fi curl -s http://localhost:11434/api/tags >/dev/null 2>&1 || (ollama serve >/dev/null 2>&1 &) sleep 3 MODEL="${MODEL:-}" MODEL="${MODEL:-hf.co/Skyrion/Qwen3.8-Flash-Next-GSQ-RCO-Coder-GGUF-Pruned}" echo "Downloading $MODEL (the first time this takes a few minutes, depending on size) ..." ollama pull "$MODEL" echo "" echo "Done! Now type your question and press Enter. Quit with /bye" exec ollama run "$MODEL" fi