Views
No views yet
llmcompressor library with a one-shot calibration process.ultrachat_200k and LongAlign-10k to ensure the model handles both short-form and long-form context effectively.1export VLLM_FP4_ENABLED=1
2export VLLM_USE_V1=1TRITON_TXAS_PATH to /usr/local/cuda/bin/ptxas1triton.runtime.errors.PTXASError: PTXAS error: Internal Triton PTX codegen error
2`ptxas` stderr:
3ptxas fatal : Value 'sm_121a' is not defined for option 'gpu-name'/models/glm-4-9b-chat-hf-nvfp4:1services:
2 glm4-9b-nvfp4:
3 image: nvcr.io/nvidia/vllm:26.01-py3
4 container_name: glm4-9b-fp4
5 ipc: host
6 shm_size: "32gb"
7 ports:
8 - "8080:8080"
9 volumes:
10 - /models:/mnt/models:ro
11 environment:
12 # Required for Blackwell JIT compilation
13 TRITON_PTXAS_PATH: /usr/local/cuda/bin/ptxas
14 VLLM_FP4_ENABLED: 1
15 VLLM_USE_V1: 1
16 deploy:
17 resources:
18 reservations:
19 devices:
20 - driver: nvidia
21 count: 1
22 capabilities: [gpu]
23 command: >
24 python3 -m vllm.entrypoints.openai.api_server
25 --model /mnt/models/glm-4-9b-chat-hf-nvfp4
26 --served-model-name glm-4-9b-chat
27 --port 8080
28 --quantization compressed-tensors
29 --kv-cache-dtype fp8
30 --max-model-len 32768
31 --max-num-seqs 64
32 --gpu-memory-utilization 0.75