stabilityai / stable-diffusion-3.5-controlnets-tensorrt

huggingface.co
Total runs: 297
24-hour runs: 0
7-day runs: 3
30-day runs: -101
Model's Last Updated: October 20 2025
text-to-image

Introduction of stable-diffusion-3.5-controlnets-tensorrt

Model Details of stable-diffusion-3.5-controlnets-tensorrt

Stable Diffusion 3.5 Large ControlNet TensorRT

Introduction

This repository hosts the TensorRT-optimized version of Stable Diffusion 3.5 Large ControlNets , developed in collaboration between Stability AI and NVIDIA . This implementation leverages NVIDIA's TensorRT deep learning inference library to deliver significant performance improvements while maintaining the exceptional image quality of the original model.

Stable Diffusion 3.5 Large is a Multimodal Diffusion Transformer (MMDiT) text-to-image model that features improved performance in image quality, typography, complex prompt understanding, and resource-efficiency. The TensorRT optimization makes these capabilities accessible for production deployment and real-time applications.

The following control types are available:

  • Canny - Use a Canny edge map to guide the structure of the generated image. This is especially useful for illustrations, but works with all styles.

  • Depth - use a depth map, generated by DepthFM, to guide generation. Some example use cases include generating architectural renderings, or texturing 3D assets.

  • Blur - can be used to perform extremely high fidelity upscaling. A common use case is to tile an input image, apply the ControlNet to each tile, and merge the tiles to produce a higher resolution image.

Model Details
Model Description

This repository holds the ONNX export of the Depth, Canny and Blue ControlNet models in BF16 precision.

Performance using TensorRT 10.13
Depth ControlNet: Timings for 40 steps at 1024x1024
Accelerator Precision VAE Encoder CLIP-G CLIP-L T5 MMDiT x 40 VAE Decoder Total
H100 BF16 74.97 ms 11.87 ms 4.90 ms 8.82 ms 18839.01 ms 117.38 ms 19097.19 ms
Canny ControlNet: Timings for 60 steps at 1024x1024
Accelerator Precision VAE Encoder CLIP-G CLIP-L T5 MMDiT x 60 VAE Decoder Total
H100 BF16 78.50 ms 12.29 ms 5.08 ms 8.65 ms 28057.08 ms 106.49 ms 28306.20 ms
Blur ControlNet: Timings for 60 steps at 1024x1024
Accelerator Precision VAE Encoder CLIP-G CLIP-L T5 MMDiT x 60 VAE Decoder Total
H100 BF16 74.48 ms 11.71 ms 4.86 ms 8.80 ms 28604.26 ms 113.24 ms 28859.06 ms
Usage Example
  1. Follow the setup instructions on launching a TensorRT NGC container.
git clone https://github.com/NVIDIA/TensorRT.git
cd TensorRT
git checkout release/sd35
docker run --rm -it --gpus all -v $PWD:/workspace nvcr.io/nvidia/pytorch:25.01-py3 /bin/bash
  1. Install libraries and requirements
cd demo/Diffusion
python3 -m pip install --upgrade pip
pip3 install -r requirements.txt
python3 -m pip install --pre --upgrade --extra-index-url https://pypi.nvidia.com tensorrt-cu12
  1. Generate HuggingFace user access token To download model checkpoints for the Stable Diffusion 3.5 checkpoints, please request access on the Stable Diffusion 3.5 Large , Stable Diffusion 3.5 Large Depth ControlNet , Stable Diffusion 3.5 Large Canny ControlNet , and Stable Diffusion 3.5 Large Blur ControlNet pages. You will then need to obtain a read access token to HuggingFace Hub and export as shown below. See instructions .
export HF_TOKEN=<your access token>
  1. Perform TensorRT optimized inference:
  • Stable Diffusion 3.5 Large Depth ControlNet in BF16 precision

    python3 demo_controlnet_sd35.py \
      "a photo of a man" \
      --version=3.5-large \
      --bf16 \
      --controlnet-type depth \
      --download-onnx-models \
      --denoising-steps=40 \
      --guidance-scale 4.5 \
      --build-static-batch \
      --use-cuda-graph \
      --hf-token=$HF_TOKEN
    
  • Stable Diffusion 3.5 Large Canny ControlNet in BF16 precision

    python3 demo_controlnet_sd35.py \
      "A Night time photo taken by Leica M11, portrait of a Japanese woman in a kimono, looking at the camera, Cherry blossoms" \
      --version=3.5-large \
      --bf16 \
      --controlnet-type canny \
      --download-onnx-models \
      --denoising-steps=60 \
      --guidance-scale 3.5 \
      --build-static-batch \
      --use-cuda-graph \
      --hf-token=$HF_TOKEN
    
  • Stable Diffusion 3.5 Large Blur ControlNet in BF16 precision

    python3 demo_controlnet_sd35.py \
      "generated ai art, a tiny, lost rubber ducky in an action shot close-up, surfing the humongous waves, inside the tube, in the style of Kelly Slater" \
      --version=3.5-large \
      --bf16 \
      --controlnet-type blur \
      --download-onnx-models \
      --denoising-steps=60 \
      --guidance-scale 3.5 \
      --build-static-batch \
      --use-cuda-graph \
      --hf-token=$HF_TOKEN
    

Runs of stabilityai stable-diffusion-3.5-controlnets-tensorrt on huggingface.co

297
Total runs
0
24-hour runs
2
3-day runs
3
7-day runs
-101
30-day runs

More Information About stable-diffusion-3.5-controlnets-tensorrt huggingface.co Model

More stable-diffusion-3.5-controlnets-tensorrt license Visit here:

https://choosealicense.com/licenses/stabilityai-ai-community

stable-diffusion-3.5-controlnets-tensorrt huggingface.co

stable-diffusion-3.5-controlnets-tensorrt huggingface.co is an AI model on huggingface.co that provides stable-diffusion-3.5-controlnets-tensorrt's model effect (), which can be used instantly with this stabilityai stable-diffusion-3.5-controlnets-tensorrt model. huggingface.co supports a free trial of the stable-diffusion-3.5-controlnets-tensorrt model, and also provides paid use of the stable-diffusion-3.5-controlnets-tensorrt. Support call stable-diffusion-3.5-controlnets-tensorrt model through api, including Node.js, Python, http.

stable-diffusion-3.5-controlnets-tensorrt huggingface.co Url

https://huggingface.co/stabilityai/stable-diffusion-3.5-controlnets-tensorrt

stabilityai stable-diffusion-3.5-controlnets-tensorrt online free

stable-diffusion-3.5-controlnets-tensorrt huggingface.co is an online trial and call api platform, which integrates stable-diffusion-3.5-controlnets-tensorrt's modeling effects, including api services, and provides a free online trial of stable-diffusion-3.5-controlnets-tensorrt, you can try stable-diffusion-3.5-controlnets-tensorrt online for free by clicking the link below.

stabilityai stable-diffusion-3.5-controlnets-tensorrt online free url in huggingface.co:

https://huggingface.co/stabilityai/stable-diffusion-3.5-controlnets-tensorrt

stable-diffusion-3.5-controlnets-tensorrt install

stable-diffusion-3.5-controlnets-tensorrt is an open source model from GitHub that offers a free installation service, and any user can find stable-diffusion-3.5-controlnets-tensorrt on GitHub to install. At the same time, huggingface.co provides the effect of stable-diffusion-3.5-controlnets-tensorrt install, users can directly use stable-diffusion-3.5-controlnets-tensorrt installed effect in huggingface.co for debugging and trial. It also supports api for free installation.

stable-diffusion-3.5-controlnets-tensorrt install url in huggingface.co:

https://huggingface.co/stabilityai/stable-diffusion-3.5-controlnets-tensorrt

Url of stable-diffusion-3.5-controlnets-tensorrt

stable-diffusion-3.5-controlnets-tensorrt huggingface.co Url

Provider of stable-diffusion-3.5-controlnets-tensorrt huggingface.co

stabilityai
ORGANIZATIONS

Other API from stabilityai

huggingface.co

Total runs: 629.9K
Run Growth: -60.3K
Growth Rate: -9.57%
Updated:July 10 2024
huggingface.co

Total runs: 308.6K
Run Growth: 362
Growth Rate: 0.12%
Updated:August 04 2023
huggingface.co

Total runs: 34.9K
Run Growth: 14.7K
Growth Rate: 42.02%
Updated:August 09 2024
huggingface.co

Total runs: 869
Run Growth: 0
Growth Rate: 0.00%
Updated:April 04 2025
huggingface.co

Total runs: 90
Run Growth: 68
Growth Rate: 75.56%
Updated:November 05 2025
huggingface.co

Total runs: 74
Run Growth: -53
Growth Rate: -71.62%
Updated:August 03 2024