Sage-S2.1-FP8: Deploying the FP8 Scientific Multimodal MoE
Sage-S2.1-FP8 is the FP8 checkpoint of Shanghai AI Lab's scientific multimodal MoE. This guide explains its 321B architecture, F8_E4M3 precision, MIT licence, Sage SciPerception projectors, deployment steps, published benchmarks and the limits of its FP8 accuracy claims, with the exact download and vLLM flags from the model card.
View 1 referenceAllow the functional cookie to save your likes. Privacy details
What is Sage-S2.1-FP8?
Sage-S2.1-FP8 is the FP8-quantized checkpoint of Sage S2.1 Flash, a scientific multimodal model from Shanghai Artificial Intelligence Laboratory. It is a roughly 321-billion-parameter mixture-of-experts model with MIT-licensed code and weights. The name in circulation is often shortened from the repository name internlm/Sage-S2.1-Flash-FP8.
The model is built for research tasks that need several rounds of analysis and verification: it reads scientific data, retrieves information, writes code, calls tools and checks intermediates against visual feedback before deciding the next step.
Source: Hugging Face FP8 model card
What does the FP8 checkpoint actually change?
Sage-S2.1-FP8 stores the same model family in 8-bit floating point, with F8_E4M3 listed among its tensor types alongside F32 and BF16 in the published repository. Lower precision reduces weight footprint and memory pressure on compatible hardware; it does not change the architecture, the context length or the licence.
The model card does not publish a separate FP8-only accuracy table. Benchmark numbers shown on the FP8 repository are the Sage S2.1 Flash results, so treat them as family-level claims rather than a measurement of this exact checkpoint.
What are the core specifications?
Sage-S2.1-FP8 keeps a 1,048,576-token context window and a 321B-parameter mixture-of-experts layout: 288 routed experts with 8 active per token across 45 layers in the published configuration. The repository is MIT licensed and carries arXiv technical report 2611.21072. Those numbers come from the published configuration and safetensors metadata, not a separate FP8-only spec sheet.
| Property | Published value |
|---|---|
| Parameters | ~321.3B (321,323,031,390 in safetensors) |
| Architecture | MoE, 288 routed experts, 8 active per token, 45 layers |
| Context window | 1,048,576 tokens |
| Tensor types | F32, BF16, F8_E4M3 |
| Licence | MIT (code and weights) |
| Technical report | arXiv:2611.21072 |
How do you deploy Sage-S2.1-FP8 for general tasks?
For coding, office and computer-use work, Sage-S2.1-FP8 is served like a large chat model through vLLM or another compatible runtime. The repository links a dedicated FP8 deployment guide; start there rather than adapting the BF16 instructions, because quantization affects which engines and kernels accept the checkpoint.
- Download the checkpoint from Hugging Face or ModelScope using the FP8 repository name.
- Follow the FP8 deployment guide for engine version and launch flags.
- Verify the model loads and that the tokenizer matches the base model.
- Run a small general-task prompt before adding scientific projectors.
How do you use scientific projectors with Sage-S2.1-FP8?
Scientific inputs do not arrive as ordinary text tokens. Sage SciPerception provides encoders and trainable projectors that map each data type into the language model's embedding space, where it is reasoned over alongside instructions. The model card shows a CPU smoke test before a vLLM run.
python -m pip install torch safetensors huggingface_hub
hf download internlm/Sage-S2.1-Flash --include "projectors/sage-s2.1-flash/**" --local-dir ./sage-s2.1-flash
hf download internlm/Sage-SciPerception load_projector.py modeling_projector.py --local-dir ./sage-s2.1-flash
from load_projector import load_projector
projector, config = load_projector(
"projectors/sage-s2.1-flash/cif/jarvis", device="cpu"
)
At serving time, enable --enable-prompt-embeds on the vLLM server and send prompt_embeds to /v1/completions. The projector output is combined with text token embeddings to form the prompt sequence. The example paths refer to the base repository, so adjust them if you pull projectors from the FP8 repository.
Which scientific inputs does Sage-S2.1-FP8 support?
Through Sage SciPerception, Sage-S2.1-FP8 accepts more than ten scientific data types, each encoded and projected into a shared representation space. The intent is that one backbone can both write code and reason over a molecule, crystal or measured signal, rather than handing each modality to a separate model.
- Molecular graphs, crystal structures, protein sequences and 3D structures
- DNA and RNA sequences
- Spectra, mass spectra and X-ray diffraction patterns
- ECG and EEG traces
- Text and images alongside the above
Task-level readouts and preprocessing dependencies are installed separately; config.json for each task defines the expected input format.
How does Sage-S2.1-Flash score on benchmarks?
The model card reports that Sage S2.1 Flash placed first on four of fifteen benchmarks and second on seven in its comparison. The strongest published results are in machine-learning engineering and office/document work. These are vendor-reported figures from November 2026 and should be read as a snapshot, not independent verification.
| Benchmark | Sage S2.1 Flash | Best comparator in the table |
|---|---|---|
| MLE-bench Lite | 90.3 | 89.2 (DeepSeek-V4.1-Flash-1017) |
| OfficeQA Pro | 72.2 | 69.7 (DeepSeek-V4.1-Flash-1017) |
| Harvey LAB | 25.0 | 24.2 (Qwen3.8-Max) |
| SpreadsheetBench 2 | 37.1 | 35.8 (DeepSeek-V4.1-Flash-1017) |
| SWE-bench Pro | 60.6 | 76.5 (Claude Opus 5) |
The last row matters: on agentic coding the model trails the leading comparator by a wide margin. A high score on ML engineering does not transfer automatically to general software work.
What are the limits of Sage-S2.1-FP8?
Sage-S2.1-FP8 needs separate projector downloads, task-specific encoders and a serving stack that understands prompt embeddings; it is not a drop-in endpoint. The published comparison covers a fixed set of benchmarks and models chosen by the lab, so first-place claims apply only inside that table. Active parameter count is not stated in the card.
Frequently asked questions about Sage-S2.1-FP8
These questions address the practical gaps readers hit when moving from the model name to a working setup: where the weights live, what precision changes, how much context is available and what licence applies to downstream use. Each answer is drawn from the model card and linked deployment guides, so the details are checkable.
Where can I download Sage-S2.1-FP8?
The FP8 checkpoint is on Hugging Face as internlm/Sage-S2.1-Flash-FP8 and on ModelScope as Shanghai_AI_Laboratory/Sage-S2.1-Flash-FP8. The BF16 and base repositories are separate.
Does FP8 need different hardware?
FP8 weights are smaller than BF16, but the speed benefit depends on hardware and engine support. Verify that your runtime accepts F8_E4M3 checkpoints before planning capacity around it.
How long is the context window?
The published configuration sets 1,048,576-token positions. Long context is useful for research traces, but memory and cost still scale with what you actually send.
Is Sage-S2.1-FP8 commercial-use friendly?
The repository states MIT for code and model weights. Check the licences of bundled or third-party components such as scientific encoders before shipping a product.
What should you take away from Sage-S2.1-FP8?
Sage-S2.1-FP8 is the quantized release of a scientific multimodal MoE that pairs a 321B-parameter backbone with projectors for more than ten data types. Its published strengths are research engineering and office tasks, not general coding. Deploy it when you need scientific inputs in one reasoning loop, and verify accuracy on your own workload rather than borrowing the lab's benchmark table.