Skip to main content

multimodal-serving

Serve and smoke-check align-anything text, multimodal, and omni-modal inference without reading the source checkout.

설치로 이동

소스 정보

저장소
VectorSpaceLab/AREX-Skill
최근 소스 활동
2026년 8월 26일 16:31
감지된 SKILL.md 언어
영어
스타
12
포크
2

설치 방법

기본적으로 소스를 먼저 확인하는 Prompt가 선택됩니다. 직접 명령으로 전환하거나 로컬 사본을 다운로드할 수도 있습니다.

소스 파일 검토

설치 여부를 결정하기 전에 SKILL.md와 SkillsMP에 표시된 보조 파일을 읽어 보세요.

파일 탐색기
6 개 파일

SKILL.md 표시 중

SKILL.md
소스 지침 · 읽기 전용 미리보기
name
multimodal-serving
description
Serve and smoke-check align-anything text, multimodal, and omni-modal inference without reading the source checkout.
metadata
{"disco-role":"operating"}
disable-model-invocation
true
license
Apache 2.0
# Multimodal Serving Use this sub-skill when a task needs to load an align-anything model, choose a text/multimodal/omni Gradio CLI, prepare media/template inputs, or diagnose serving-time model and media failures. ## Start here 1. Read [`references/model-loading-and-cli.md`](references/model-loading-and-cli.md) to choose between `load_pretrained_models`, `AnyModel`, `AnyModelForScore`, `text_modal_cli`, `multi_modal_cli`, and `omni_modal_cli`. 2. Read [`references/media-and-templates.md`](references/media-and-templates.md) before constructing image, audio, video, or mixed omni messages. 3. Use [`scripts/check_model_loading.py`](scripts/check_model_loading.py) for an import-only, dry-run, or real model-loading smoke check. 4. Use [`scripts/run_cli_template.sh`](scripts/run_cli_template.sh) as the bundled serving launcher template instead of relying on source-tree shell snippets. 5. If loading, decoding, templating, or Gradio startup fails, use [`references/troubleshooting.md`](references/troubleshooting.md). ## Routing guidance Use this sub-skill for: - loading base or reward models through align-anything's auto-model registry; - setting device, dtype, cache, `trust_remote_code`, and optional modality/omni initialization flags; - launching the text, multimodal image/audio/video, or MiniCPM-O-style omni CLI; - translating uploaded media into the processor/model inputs expected by align-anything serving code; - explaining optional dependency and backend failures at serving time. Prefer another sub-skill when the task is training/alignment, reward-server deployment, evaluation-benchmark orchestration, or repo-level project setup rather than interactive inference. ## Boundaries and safety notes - Treat remote model code as executable code. Enable `trust_remote_code` only for model repositories you trust. - The bundled CLI launcher starts the package's Gradio CLIs, which currently request a shareable Gradio link. Use only in a trusted network/session unless you adapt the local launcher to disable sharing. - Large multimodal and omni models generally need CUDA/NPU-class memory. CPU import checks are useful, but they do not prove full generation throughput or memory fit. - Keep all local environment names, private install prefixes, and checkout-specific paths out of downstream reports and user-facing instructions.
GitHub에서 보기