Environment
-
Hardware: NVIDIA DGX Spark G10
-
Container:
nvcr.io/nvidia/vllm:25.09-py3 -
vLLM Version:
0.10.1.1+381074ae -
PyTorch:
2.9.0a0+50eac811a6.nv25.09(NVIDIA optimized) -
Target: FP8 quantization compatible with vLLM inference
Problem
I’m building a production FP8 quantization pipeline for LLMs running on DGX Spark G10 with deployment through vLLM.
The main issue is compatibility between llmcompressor and the NVIDIA vLLM container stack.
The NVIDIA container already ships with optimized builds of:
-
PyTorch
-
CUDA
-
TensorRT
-
vLLM
-
NVIDIA ModelOpt
To avoid overwriting NVIDIA’s optimized PyTorch stack, I install llmcompressor using --no-deps.
However, I immediately hit API/import compatibility issues before quantization even starts.
Current Docker Setup
FROM nvcr.io/nvidia/vllm:25.09-py3
RUN pip install --no-cache-dir --user llmcompressor>=0.4.0 --no-deps
RUN pip install --no-cache-dir --user \
compressed-tensors==0.14.0.1 \
auto-round \
datasets \
pandas \
pyarrow
API Issues Encountered
ImportError: cannot import name 'oneshot' from 'llmcompressor.transformers'
ImportError: cannot import name 'apply' from 'llmcompressor'
Goal
I need:
-
Real FP8 quantization (not simulated/fake quantization)
-
Output models that remain directly loadable by vLLM
-
Production-ready deployment on DGX Spark G10
-
Preservation of NVIDIA’s optimized PyTorch stack
Example target workflow:
from vllm import LLM
llm = LLM(
"/quantized-model",
quantization="fp8"
)
Questions
-
What is the correct/recommended
llmcompressorAPI for FP8 quantization in the NVIDIA vLLM container environment? -
Is
llmcompressorofficially supported with NVIDIA’s vLLM containers? -
Are there better alternatives for FP8 quantization targeting vLLM compatibility?
-
NVIDIA ModelOpt
-
TensorRT-LLM
-
AutoRound
-
Native vLLM FP8 workflows
-
-
Is there a recommended version compatibility matrix for:
-
llmcompressor -
PyTorch
2.9.0a0+50eac811a6.nv25.09 -
vLLM
0.10.1.1
-
-
Any DGX Spark G10-specific recommendations or best practices for FP8 quantization pipelines?
Additional Context
The pipeline is intended for models such as:
-
Mistral-7B
-
Qwen
-
Llama-family models
The objective is reducing memory footprint significantly (example: ~28GB → ~7GB equivalent footprint) while preserving compatibility with vLLM inference.
Currently, the process fails immediately at import/runtime compatibility level before actual quantization begins.
Any guidance or recommended production workflows would be greatly appreciated.