Hugging Face's logo Hugging Face
  • Models
  • Datasets
  • Spaces
  • Buckets new
  • Docs
  • Enterprise
  • Pricing
    • Website
      • Tasks
      • HuggingChat
      • Collections
      • Languages
      • Organizations
    • Community
      • Blog
      • Posts
      • Daily Papers
      • Learn
      • Discord
      • Forum
      • GitHub
    • Solutions
      • Team & Enterprise
      • Hugging Face PRO
      • Enterprise Support
      • Inference Providers
      • Inference Endpoints
      • Storage Buckets

  • Log In
  • Sign Up

nvidia
/
gpt-oss-puzzle-88B

Text Generation
Transformers
Safetensors
PyTorch
English
gpt_oss_puzzle
nvidia
gpt-oss
puzzle
mixture-of-experts
reasoning
vllm
conversational
custom_code
8-bit precision
mxfp4
Model card Files Files and versions
xet
Community
8

Instructions to use nvidia/gpt-oss-puzzle-88B with libraries, inference providers, notebooks, and local apps. Follow these links to get started.

  • Libraries
  • Transformers

    How to use nvidia/gpt-oss-puzzle-88B with Transformers:

    # Use a pipeline as a high-level helper
    from transformers import pipeline
    
    pipe = pipeline("text-generation", model="nvidia/gpt-oss-puzzle-88B", trust_remote_code=True)
    messages = [
        {"role": "user", "content": "Who are you?"},
    ]
    pipe(messages)
    # Load model directly
    from transformers import AutoModelForCausalLM
    model = AutoModelForCausalLM.from_pretrained("nvidia/gpt-oss-puzzle-88B", trust_remote_code=True, dtype="auto")
  • Notebooks
  • Google Colab
  • Kaggle
  • Local Apps
  • vLLM

    How to use nvidia/gpt-oss-puzzle-88B with vLLM:

    Install from pip and serve model
    # Install vLLM from pip:
    pip install vllm
    # Start the vLLM server:
    vllm serve "nvidia/gpt-oss-puzzle-88B"
    # Call the server using curl (OpenAI-compatible API):
    curl -X POST "http://localhost:8000/v1/chat/completions" \
    	-H "Content-Type: application/json" \
    	--data '{
    		"model": "nvidia/gpt-oss-puzzle-88B",
    		"messages": [
    			{
    				"role": "user",
    				"content": "What is the capital of France?"
    			}
    		]
    	}'
    Use Docker
    docker model run hf.co/nvidia/gpt-oss-puzzle-88B
  • SGLang

    How to use nvidia/gpt-oss-puzzle-88B 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 "nvidia/gpt-oss-puzzle-88B" \
        --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": "nvidia/gpt-oss-puzzle-88B",
    		"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 "nvidia/gpt-oss-puzzle-88B" \
            --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": "nvidia/gpt-oss-puzzle-88B",
    		"messages": [
    			{
    				"role": "user",
    				"content": "What is the capital of France?"
    			}
    		]
    	}'
  • Docker Model Runner

    How to use nvidia/gpt-oss-puzzle-88B with Docker Model Runner:

    docker model run hf.co/nvidia/gpt-oss-puzzle-88B
New discussion
Resources
  • PR & discussions documentation
  • Code of Conduct
  • Hub documentation

torch 2.10.0 or torch 2.11.0?

1
#9 opened about 2 months ago by
bogoconic1

MoE routing for reasoning workloads

#7 opened 2 months ago by
O96a

Fails to run on my Spark with the Docker command from the documentation

#6 opened 2 months ago by
VladNC

nvidia is awesome!

🔥 1
1
#5 opened 2 months ago by
ShelterW

GPT-OSS-20B

🚀 6
#4 opened 2 months ago by
noproto
Company
TOS Privacy About Careers
Website
Models Datasets Spaces Pricing Docs