#!/usr/bin/env bash set -euo pipefail ROOT_DIR="$(cd "$(dirname "${BASH_SOURCE[0]}")/.." && pwd)" usage() { cat <<'EOF' Usage: ./scripts/sync_iluvatar_env.sh [uv sync args...] This syncs only the generic Qwen3-ASR dependencies for an Iluvatar host. The Iluvatar GPU stack (IX runtime, PyTorch, vLLM, kernels) should come from the official Iluvatar vLLM image or the vendor's matching installation package. EOF } if [[ "${1:-}" == "-h" || "${1:-}" == "--help" ]]; then usage exit 0 fi cd "$ROOT_DIR" uv sync --project "$ROOT_DIR/environments/iluvatar" --no-dev --no-install-project "$@" echo "[sync_iluvatar_env] Synced common dependencies only." echo "[sync_iluvatar_env] Use the official Iluvatar vLLM Docker image for the GPU runtime stack."