#!/usr/bin/env bash # Sarvam-105B-1711 lokal ausprobieren – macOS # Automatisch erzeugt von Tokenstrom (tokenstrom.com). # Aufruf: bash try_mac.sh set -e cd "$(dirname "$0")" echo "== Sarvam-105B-1711 ==" echo "WARNUNG: Groß (56,1 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-sarvam-105b-1711 source .venv-sarvam-105b-1711/bin/activate pip install -q -U pip pip install -q -U torch transformers accelerate python3 demo.py