Text Generation
Transformers
Safetensors
English
nemotron-nas
nvidia
llama3.3
conversational
custom_code
Instructions to use nvidia/Llama-3_3-Nemotron-Super-49B-GenRM with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use nvidia/Llama-3_3-Nemotron-Super-49B-GenRM with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-generation", model="nvidia/Llama-3_3-Nemotron-Super-49B-GenRM", 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/Llama-3_3-Nemotron-Super-49B-GenRM", trust_remote_code=True, dtype="auto") - Notebooks
- Google Colab
- Kaggle
- Local Apps Settings
- vLLM
How to use nvidia/Llama-3_3-Nemotron-Super-49B-GenRM with vLLM:
Install from pip and serve model
# Install vLLM from pip: pip install vllm # Start the vLLM server: vllm serve "nvidia/Llama-3_3-Nemotron-Super-49B-GenRM" # 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/Llama-3_3-Nemotron-Super-49B-GenRM", "messages": [ { "role": "user", "content": "What is the capital of France?" } ] }'Use Docker
docker model run hf.co/nvidia/Llama-3_3-Nemotron-Super-49B-GenRM
- SGLang
How to use nvidia/Llama-3_3-Nemotron-Super-49B-GenRM 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/Llama-3_3-Nemotron-Super-49B-GenRM" \ --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/Llama-3_3-Nemotron-Super-49B-GenRM", "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/Llama-3_3-Nemotron-Super-49B-GenRM" \ --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/Llama-3_3-Nemotron-Super-49B-GenRM", "messages": [ { "role": "user", "content": "What is the capital of France?" } ] }' - Docker Model Runner
How to use nvidia/Llama-3_3-Nemotron-Super-49B-GenRM with Docker Model Runner:
docker model run hf.co/nvidia/Llama-3_3-Nemotron-Super-49B-GenRM
Ctrl+K
- 1.57 kB
- 14.6 kB
- 0 Bytes
- 509 Bytes
- 4.35 kB
- 37 kB
- 2.57 kB
- 2.5 kB
- 9.42 GB xet
- 9.86 GB xet
- 9.53 GB xet
- 9.24 GB xet
- 9.97 GB xet
- 9.63 GB xet
- 9.5 GB xet
- 9.93 GB xet
- 8.28 GB xet
- 9.98 GB xet
- 4.41 GB xet
- 46.8 kB
- 78.5 kB
- 2 Bytes
- 860 Bytes xet
- 5.71 kB
- 1.39 kB
- 880 Bytes
- 296 Bytes
- 17.2 MB xet
- 55.3 kB
- 42 Bytes
- 8.19 kB
- 64.6 kB
- 11.1 kB
- 21.3 kB
- 15.8 kB
- 113 kB
- 28.1 kB
- 666 Bytes
- 6.21 kB