Downloads · 30 days
11
22% of all-time downloads
imgailab/sdxl-trtx-bf16-ada
sdxl-trtx-bf16-ada is a machine learning model from imgailab. Use it for the machine learning task on the model card, and read the license before you ship it in a product. It is set up for tensorrt-rtx. The card lists the license as apache-2.0.
Optimized TensorRT-RTX engines for SDXL on Ada architecture with BF16 quantization.
Downloads · 30 days
11
22% of all-time downloads
All-time downloads
49
Public
Repo size
7 GB
Likes
0
Public
Click a slice to open those files.
.plan7 GB · 100%
From the Hugging Face model README
Optimized TensorRT-RTX engines for SDXL on Ada architecture with BF16 quantization.
One variant, one download - only get exactly what you need!
# ImageAI server downloads automatically
curl -X POST "http://localhost:8001/generate" \
-H "Content-Type: application/json" \
-d '{
"prompt": "a beautiful landscape",
"model": "sdxl-tensorrt_rtx:bf16",
"width": 1024,
"height": 1024
}'
from huggingface_hub import snapshot_download
# Download this specific variant only
engines_path = snapshot_download(
repo_id="imgailab/sdxl-trtx-bf16-ada"
)
# Engines are in: engines_path/engines/*.plan
from imageai_server.tensorrt.nvidia_sdxl_pipeline import NVIDIASDXLPipeline
pipeline = NVIDIASDXLPipeline()
pipeline.load_engines(
engine_dir=f"{engines_path}/engines",
framework_model_dir=f"{engines_path}/framework",
onnx_dir=f"{engines_path}/onnx"
)
pipeline.activate_engines()
images, time_ms = pipeline.infer(
prompt="a serene mountain landscape",
height=1024,
width=1024
)
| Metric | Value |
|---|---|
| Memory Usage | ~4-6GB VRAM |
| Inference Speed | ~4.1s (RTX 4090) |
| Resolution | 1024x1024 (optimized) |
| Batch Size | 1 (optimized) |
| Precision | BF16 |
sdxl-trtx-bf16-ada/
├── engines/ # TensorRT engine files
│ ├── *.plan # Optimized engines
├── config.json # Configuration metadata
└── README.md # This file
Other variants for SDXL:
Inherits license from base model: stabilityai/stable-diffusion-xl-base-1.0
Part of the ImageAI TensorRT-RTX engine collection