#!/usr/bin/env bash # Kimi K3.1 Pro lokal ausprobieren – macOS # Automatisch erzeugt von Tokenstrom (tokenstrom.com). # Aufruf: bash try_mac.sh set -e cd "$(dirname "$0")" echo "== Kimi K3.1 Pro ==" echo "WARNUNG: Groß (2800 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." echo "== Python / Hugging Face ==" python3 -m venv .venv-kimi-k3-1-pro source .venv-kimi-k3-1-pro/bin/activate pip install -q -U pip pip install -q -U torch transformers accelerate pillow scipy echo 'Gated model: if the download fails, run hf auth login first.' python3 demo.py