Text Generation
Transformers
Safetensors
English
Korean
solar_open
upstage
solar
Mixture of Experts
100b
llm
conversational
Instructions to use upstage/Solar-Open-100B with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use upstage/Solar-Open-100B with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-generation", model="upstage/Solar-Open-100B") messages = [ {"role": "user", "content": "Who are you?"}, ] pipe(messages)# pip install -U transformers accelerate # Load model directly from transformers import AutoTokenizer, AutoModelForCausalLM tokenizer = AutoTokenizer.from_pretrained("upstage/Solar-Open-100B") model = AutoModelForCausalLM.from_pretrained("upstage/Solar-Open-100B", device_map="auto") messages = [ {"role": "user", "content": "Who are you?"}, ] inputs = tokenizer.apply_chat_template( messages, add_generation_prompt=True, tokenize=True, return_dict=True, return_tensors="pt", ).to(model.device) outputs = model.generate(**inputs, max_new_tokens=256) print(tokenizer.decode(outputs[0][inputs["input_ids"].shape[-1]:])) - Notebooks
- Google Colab
- Kaggle
- Local Apps Settings
- vLLM
How to use upstage/Solar-Open-100B with vLLM:
Install from pip and serve model
# Install vLLM from pip: pip install vllm # Start the vLLM server: vllm serve "upstage/Solar-Open-100B" # Call the server using curl (OpenAI-compatible API): curl -X POST "http://localhost:8000/v1/chat/completions" \ -H "Content-Type: application/json" \ --data '{ "model": "upstage/Solar-Open-100B", "messages": [ { "role": "user", "content": "What is the capital of France?" } ] }'Use Docker
docker model run hf.co/upstage/Solar-Open-100B
- SGLang
How to use upstage/Solar-Open-100B with SGLang:
Install from pip and serve model
# Install SGLang from pip: pip install sglang # Start the SGLang server: python3 -m sglang.launch_server \ --model-path "upstage/Solar-Open-100B" \ --host 0.0.0.0 \ --port 30000 # Call the server using curl (OpenAI-compatible API): curl -X POST "http://localhost:30000/v1/chat/completions" \ -H "Content-Type: application/json" \ --data '{ "model": "upstage/Solar-Open-100B", "messages": [ { "role": "user", "content": "What is the capital of France?" } ] }'Use Docker images
docker run --gpus all \ --shm-size 32g \ -p 30000:30000 \ -v ~/.cache/huggingface:/root/.cache/huggingface \ --env "HF_TOKEN=<secret>" \ --ipc=host \ lmsysorg/sglang:latest \ python3 -m sglang.launch_server \ --model-path "upstage/Solar-Open-100B" \ --host 0.0.0.0 \ --port 30000 # Call the server using curl (OpenAI-compatible API): curl -X POST "http://localhost:30000/v1/chat/completions" \ -H "Content-Type: application/json" \ --data '{ "model": "upstage/Solar-Open-100B", "messages": [ { "role": "user", "content": "What is the capital of France?" } ] }' - Docker Model Runner
How to use upstage/Solar-Open-100B with Docker Model Runner:
docker model run hf.co/upstage/Solar-Open-100B
Commit History
7 days ago
-
Chat template: look up tool names in one pass
Verified signature`get_tool_name` loops over every tool call in the conversation for each tool message, so render time grows with the square of the tool calls in the history. This pairs tool messages with their tool calls once before the message loop: both are sorted together by id and paired in one pass. Every assistant tool call with the id contributes its name, in order, as on main. It only uses `sort`, `namespace` and list concatenation, so it renders under MiniJinja too. `get_tool_name` stays defined and unused. | Tool calls | main | this PR | |---:|---:|---:| | 400 | 0.28 s | 0.03 s | | 1,600 | 4.3 s | 0.11 s | | 3,200 | 17.3 s | 0.25 s | transformers 5.22.1 with jinja2 3.1.6, one M4 core, one tool call per assistant message. Output is byte-identical to main on 46,000 randomized conversations (duplicate, unmatched and case-variant ids, shuffled and missing results), under jinja2 and under MiniJinja 3.1.0 through its Python binding. `tokenizer_config.json` carries a second copy of the template…66e34ef
-
Update transformers version to 5.0 (#24)
Verified signature- Update transformers version to 5.0 (ac904a9907098fe4e7b0ce8ccbbff5c527339483) - remove modeling code (900f1fcfbd60d12c41257d976c468b9416f50bf3)1f59143
-
Add Nota AI quantization model, remove Public API Access section
Verified signaturea383611
-
Update solar-open-technical-report.pdf from tmp
Verified signature4ad167d -
Update LICENSE from tmp
Verified signatured7331ce -
Update README.md from tmp
Verified signatureb87796b
-
Link model card to technical report and project page (#22)
Verified signature- Link model card to technical report and project page (143c3cc93421fec711879353c4db116dba601f2f) Co-authored-by: Niels Rogge <nielsr@users.noreply.huggingface.co>c90f8f3
-
Update Pipeline_tag (#20)
Verified signature- Update Pipeline_tag (ff0768426aee32b683046a39f330f0efec64ccf9) Co-authored-by: Siu Kim <Lumia101@users.noreply.huggingface.co>e9e6866 -
Adding `transformers` as the library name (#18)
Verified signature- Adding `transformers` as the library name (30d4d545e75896e7bf43a6d55c810d3394e9117d) Co-authored-by: Aritra Roy Gosthipaty <ariG23498@users.noreply.huggingface.co>0a57d6c -
Update README.md
Verified signature82e8365 -
add solar open technical report. add benchmark results. (#19)
Verified signature- add pdf and benchmarks. enjoy! (17117e22d84761b52091d957979aaac38526b054)ac16609 -
Update config.json (#17)
Verified signature- Update config.json (d04909c6c1dedc20024bd60ea2679626575ddf05) Co-authored-by: knight.lee <knight-lee@users.noreply.huggingface.co>55cb6b9
-
Update README.md
Verified signaturec8988f1
-
Update README.md
Verified signaturee4db2e9 -
Fix the license of Solar modeling and inference code.
Verified signatureCorrected the license of `configuration_solar_open.py` and `modeling_solar_open.py` to Apache 2.0, as they are derived from `transformers`.ff17f06
-
Update README.md
Verified signaturec03acad -
Update README.md
Verified signaturefd4b56c -
Add files using upload-large-folder tool
Verified signatureb6e8096 -
Add files using upload-large-folder tool
Verified signature2754e05
-
Update README: New intro, API date to Dec 31 2025, remove agentic claims
Verified signature7a9b40d -
Update README: Remove agentic claims & update API docs
Verified signature473f1f1
-
Add clickable LICENSE links in README
Verified signature113e7e0 -
Add Solar-Apache License 2.0
Verified signaturec9fe5d7 -
Add model card for Solar Open 100B
Verified signature5751e6f
-
initial commit
Verified signature8efc246