#!/usr/bin/env bash # Copy to environment.local.sh and edit paths. # In the source checkout, use it for launcher input settings only. # For services, copy/edit/source it inside the prepared execution copy. # Local configuration files are excluded from release verification and packaging. RSI_PROJECT_DIR="$(cd -- "$(dirname -- "${BASH_SOURCE[0]}")" && pwd -P)" export PYTHONDONTWRITEBYTECODE=1 export DECICO_RSI_MODELS_ROOT="${DECICO_RSI_MODELS_ROOT:-/models}" export DECICO_RSI_STUDENT_MODEL="${DECICO_RSI_STUDENT_MODEL:-Qwen3.5-35B-A3B}" case "$DECICO_RSI_STUDENT_MODEL" in Qwen3.5-35B-A3B) ;; *) echo "Unsupported Student: $DECICO_RSI_STUDENT_MODEL" >&2; return 1 2>/dev/null || exit 1 ;; esac export DECICO_RSI_BASE_MODEL="${DECICO_RSI_STUDENT_MODEL_PATH:-$DECICO_RSI_MODELS_ROOT/$DECICO_RSI_STUDENT_MODEL}" export DECICO_RSI_MODEL_NAME="$DECICO_RSI_STUDENT_MODEL" export DECICO_RSI_LOOP_PY=/absolute/path/to/python export DECICO_RSI_TRAIN_PY="$DECICO_RSI_LOOP_PY" # Public legacy exception to the DECICO_RSI_ prefix; runtime reads this name. export RSI_SERVE_PY=/absolute/path/to/serve-venv/bin/python export DECICO_RSI_TRAIN_GPU=2 export DECICO_RSI_API_BASE=http://127.0.0.1:5057/v1 # Historical Teacher service alias, not a checkpoint/download identifier. # Verify actual qwen3_5 weights and record their source, revision and hashes. export DECICO_RSI_DATA_MODEL=Qwen3.8-27B export DECICO_RSI_STUDENT_GDN_BACKEND=fla export DECICO_RSI_TEACHER_GDN_BACKEND=fla export DECICO_RSI_DATA_API_BASE=http://127.0.0.1:5058/v1 export DECICO_RSI_DATA_CHAT_TEMPLATE_KWARGS='{"enable_thinking":false}' export NO_PROXY=localhost,127.0.0.1 export no_proxy="$NO_PROXY" export OPENAI_API_KEY=decico-rsi-local export OPENAI_API_BASE="$DECICO_RSI_API_BASE" export OPENAI_BASE_URL="$DECICO_RSI_API_BASE" export TOKENIZERS_PARALLELISM=false export LOGURU_LEVEL=WARNING # Runtime output paths are assigned inside the private execution copy. # Do not set a source-checkout adapter output path here. export LITELLM_LOCAL_MODEL_COST_MAP=True # Model weights and Python environments are read-only inputs. Outputs/caches # belong to the private execution copy for campaigns, not the source checkout. # Local smoke tests use source-local .runtime/. BFCL static tasks only. # Documented CLI entrypoints initialize their own runtime import paths. # Training is serialized across seed processes by run_experiments.py. # If Teacher shares GPU2 with training, provide a deployment hook implementing # acquire/register_child/release; see modeling/training_resource.py. # export DECICO_RSI_TRAIN_RESOURCE_COMMAND='["/absolute/path/to/resource-hook"]' # After preparation, invoke the documented execution-copy or sealed-runtime CLI. # The launcher clears inherited source-copy output and import paths.