m64_17808a488aff / start.sh
11 lines, 342 Braw
1#!/usr/bin/env bash2# flux2-klein-4b-gb10 entrypoint. Runs inside the container; takes no arguments.3set -eu45# Weights are mounted read-only at /weights/flux2; nothing is fetched at runtime.6export HF_HUB_OFFLINE=17export TRANSFORMERS_OFFLINE=189export PYTORCH_CUDA_ALLOC_CONF=expandable_segments:True1011exec python3 /capsule/flux2_server.py