File size: 5,651 Bytes
5751e6f 5f5d4f5 5751e6f 2754e05 5751e6f c8988f1 5751e6f 2754e05 5751e6f 2754e05 5751e6f 113e7e0 2754e05 5751e6f ff17f06 5751e6f 2754e05 e4db2e9 2754e05 5751e6f 2754e05 5751e6f 2754e05 5751e6f 2754e05 5751e6f ff17f06 5751e6f 5f5d4f5 | 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 | ---
language:
- en
- ko
license: other
license_name: solar-apache-2.0
tags:
- upstage
- solar
- moe
- 100b
- llm
pipeline_tag: text-generation
library_name: transformers
---
<p align="center">
<img src="./Solar-Open-100B.png" alt="Solar Open Model" width="100%">
</p>
# **Solar Open**
**Solar Open** is Upstage's flagship **102B-parameter** large language model, trained **entirely from scratch** and released under the **Solar-Apache License 2.0** (see [LICENSE](#license) for details). As a **Mixture-of-Experts (MoE)** architecture, it delivers enterprise-grade performance in reasoning, instruction-following, and agentic capabilities—all while prioritizing transparency and customization for the open-source community.
## Highlights
* **MoE Architecture (102B / 12B):** Built on a Mixture-of-Experts architecture with **102B total / 12B active parameters**. This design delivers the knowledge depth of a massive model with the inference speed and cost-efficiency of a much smaller model.
* **Massive Training Scale:** Pre-trained on **19.7 trillion tokens**, ensuring broad knowledge coverage and robust reasoning capabilities across various domains.
## Model Overview
* **Model Name:** Solar Open 100B
* **Hugging Face ID:** Upstage/Solar-Open-100B
* **Architecture:** Mixture-of-Experts (MoE)
* **Total Parameters:** 102.6B
* **Active Parameters:** 12B (per token)
* **Experts:** 129 Experts (top 8 among 128 Routed + 1 Shared)
* **Pre-training Tokens:** 19.7 Trillion
* **Context Length:** 128k
* **Training Hardware:** NVIDIA B200 GPUs
* **License:** **Solar-Apache License 2.0** (See [LICENSE](./LICENSE))
* **Hardware Requirements:**
* **Minimum:** 4x NVIDIA A100 (80GB)
## License
This repository contains both model weights and code,
which are licensed under different terms:
1. MODEL WEIGHTS (*.safetensors)
Licensed under **Solar-Apache License 2.0**
See: https://huggingface.co/upstage/Solar-Open-100B/blob/main/LICENSE
2. CODE (*.py, *.json, *.jinja files)
Licensed under **Apache License 2.0**
See: https://www.apache.org/licenses/LICENSE-2.0
## Performance
TBA
## Inference Quickstart
We recommend using the following generation parameters:
```
temperature=0.8
top_p=0.95
top_k=50
```
### Transformers
Install the required dependencies:
```bash
pip install -U transformers kernels torch accelerate
```
Run inference with the following code:
```python
import torch
from transformers import AutoModelForCausalLM, AutoTokenizer
MODEL_ID = "upstage/Solar-Open-100B"
# Load model and tokenizer
tokenizer = AutoTokenizer.from_pretrained(MODEL_ID)
model = AutoModelForCausalLM.from_pretrained(
pretrained_model_name_or_path=MODEL_ID,
torch_dtype=torch.bfloat16,
device_map="auto",
trust_remote_code=True,
)
# Prepare input
messages = [{"role": "user", "content": "who are you?"}]
inputs = tokenizer.apply_chat_template(
messages,
tokenize=True,
add_generation_prompt=True,
return_dict=True,
return_tensors="pt",
)
inputs = inputs.to(model.device)
# Generate response
generated_ids = model.generate(
**inputs,
max_new_tokens=4096,
temperature=0.8,
top_p=0.95,
top_k=50,
do_sample=True,
)
generated_text = tokenizer.decode(generated_ids[0][inputs.input_ids.shape[1] :])
print(generated_text)
```
### vLLM
#### Option 1: Using Docker (Highly Recommended)
Docker is the **recommended deployment method** for running `Solar-Open-100B`.
```bash
# For 8 GPUs
docker run --gpus all \
--ipc=host \
-p 8000:8000 \
upstage/vllm-solar-open:latest \
upstage/Solar-Open-100B \
--trust-remote-code \
--enable-auto-tool-choice \
--tool-call-parser solar_open \
--reasoning-parser solar_open \
--logits-processors vllm.model_executor.models.parallel_tool_call_logits_processor:ParallelToolCallLogitsProcessor \
--logits-processors vllm.model_executor.models.solar_open_logits_processor:SolarOpenTemplateLogitsProcessor \
--tensor-parallel-size 8
```
#### Option 2: Installing from Source
For development, debugging, custom modifications or offline inference, Solar Open can also be run
using a source installation of vLLM. We recommend using **[uv](https://docs.astral.sh/uv/)** for environment
management and dependency resolution.
Create and activate a Python virtual environment
```bash
uv venv --python 3.12 --seed
source .venv/bin/activate
```
Install Solar Open's optimized vLLM
```bash
VLLM_PRECOMPILED_WHEEL_LOCATION="https://github.com/vllm-project/vllm/releases/download/v0.12.0/vllm-0.12.0-cp38-abi3-manylinux_2_31_x86_64.whl" \
VLLM_USE_PRECOMPILED=1 \
uv pip install git+https://github.com/UpstageAI/vllm.git@v0.12.0-solar-open
```
Start the vLLM server (For 8 GPUs)
```bash
vllm serve upstage/Solar-Open-100B \
--trust-remote-code \
--enable-auto-tool-choice \
--tool-call-parser solar_open \
--reasoning-parser solar_open \
--logits-processors vllm.model_executor.models.parallel_tool_call_logits_processor:ParallelToolCallLogitsProcessor \
--logits-processors vllm.model_executor.models.solar_open_logits_processor:SolarOpenTemplateLogitsProcessor \
--tensor-parallel-size 8
```
## Public API Access
The official API service for Solar Open is scheduled to launch publicly on **January**.
* **Access:** Upstage Console (TBA)
* **Documentation:** Upstage Console (TBA)
## Citation
If you use Solar Open in your research, please cite:
```bibtex
@misc{solar-open-2025,
title={Solar Open: Scaling Upstage's LLM Capabilities with MoE},
author={Upstage AI},
year={2025},
url={https://huggingface.co/Upstage/Solar-Open-100B}
}
``` |