Skip to content
Computer vision

Sage-Med-Preview

Cutting-edge medical multimodal model

2 min readupdated

Developed by the Shanghai Artificial Intelligence Laboratory and built on Intern-S2-Preview, this model features 35 billion total parameters with 3 billion active. It combines medical knowledge, image analysis, report generation, and visual grounding into a single system. Designed to assist researchers and medical professionals in clinical data analysis and tasks, this new release delivers impressive performance, outperforming many well-known proprietary models on specialized benchmarks.

Key features

  • Efficient architecture: Features 35B total parameters with only 3B active, delivering high performance.
  • Large-scale training: Trained on a pool of approximately 164 million records and 226 billion tokens using reinforcement learning (RL).
  • Precise analysis: Outperforms several competitors in comprehensive multimodal understanding and medical report generation (for example, MIMIC-CXR).
  • Broad validation: Tested across 238 clinical tasks, 74 benchmarks, and over 40 modalities.

What you can do

  • Deploy a local server using vLLM to test medical queries and analyze scans.
  • Generate detailed medical reports and descriptions for X-rays, MRIs, or other imaging types.
  • Use the model for academic research in AI-driven medical diagnostics.

Example

vllm serve "Sage-Med/Sage-Med-Preview" \
    --host 127.0.0.1 \
    --port 8000 \
    --trust-remote-code \
    --served-model-name sage-med-preview \
    --dtype bfloat16 \
    --tensor-parallel-size 2 \
    --gpu-memory-utilization 0.85
Read moreDetails
Benchmarks: Average score of 58.26 across 31 public medical benchmarks.
Hardware: Requires 2 GPUs and about 131 GiB of VRAM for the checkpoint in BF16.
Training: Continual pretraining, task-oriented mid-training, three stages of SFT, and adaptive RL.
Discuss Telegram 16 110

Will it run?

Working out the memory needs

The bot is still collecting this model's weight sizes; the estimate will appear here in a few minutes. Meanwhile you can rent a GPU with headroom.

Massed ComputeOpen Massed Compute

Run it on Massed Compute

The script downloads the model to the rented machine. How to run it is in the model card.

  1. 1. Rent a machine with a fitting GPU

    Open Massed Compute
  2. 2. Paste the script into the machine's terminal

    Connect over SSH (the Massed Compute panel shows the command) or open a terminal on the machine's desktop.

    HF_TOKEN / CIVITAI_TOKENThe script starts with token lines: paste yours between the quotes. The Hugging Face token is for gated models, the Civitai one for Civitai models.

    # Sage-Med/Sage-Med-Preview
    mkdir -p ~/models
    curl -LsSf https://astral.sh/uv/install.sh | sh
    source "$HOME/.local/bin/env"
    uv tool install "huggingface_hub[cli]"
    hf download Sage-Med/Sage-Med-Preview --local-dir ~/models/Sage-Med-Preview
    # The model is in ~/models. How to run it is in the model card (link above).
    Add more LoRAs to Sage-Med-Preview
  3. 3. Use it

    The model is in ~/models. How to run it is in the model card (link above).

Stop the machine in the panel when you are done: it bills by the minute while it runs.

How to speed it up

Picked for this model type. Choose your hardware above to see what fits you exactly.

  • FlashAttention 44.0.0b41from November 25, 2026new release

    fastest exact attention on B200

    Kernels for Blackwell (beta). Exact attention without quantisation — fine for everything, LLMs included.

    How to enable: pip install flash-attn-4; vLLM and SGLang pick it up themselves.

    Earlier generations (2)
    • FlashAttention 3 — The Hopper (H100/H200) version with FP8.
    • FlashAttention 2 — The standard for RTX 30/40/50 and A100: exact attention without the memory cost of long contexts.
  • torch.compile2.15.0from October 28, 2026

    10–30% for free

    Compiles the model for your GPU. Slower first run, faster afterwards.

    How to enable: model = torch.compile(model); in ComfyUI the TorchCompileModel node.

Model family

New posts about versions of Sage-Med-Preview (quants, finetunes, LoRAs) will show up under the bell.

No known relatives of this model yet. All derivatives on Hugging Face

About the model

Sage-Med/Sage-Med-Preview
Author
Sage-Med
Category
Computer vision
Released
Posted

On NeyroLearn

Hugging Face

11016

Ask AI about this model

Answered by Gemini 4 · the chat is kept only in this tab

Comments