Introduction of stable-diffusion-3.5-large-tensorrt
Model Details of stable-diffusion-3.5-large-tensorrt
Stable Diffusion 3.5 Large TensorRT
Introduction
This repository hosts the TensorRT version of
Stable Diffusion 3.5 Large
created in collaboration with
NVIDIA
. The optimized versions give substantial improvements in speed and efficiency.
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.
Model Details
Model Description
This repository holds the ONNX exports of the CLIP, T5, MMDiT and VAE models in BF16 precision. It also holds the MMDiT model in FP8 precision. The transformer model was quantized to FP8 precision using
NVIDIA/TensorRT-Model-Optimizer
.
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
page.
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>
Perform TensorRT optimized inference:
Stable Diffusion 3.5 Large in BF16 precision
python3 demo_txt2img_sd35.py \
"A chic urban apartment interior highlighting mid-century modern furniture, vibrant abstract art pieces on clean white walls, and large windows providing a stunning view of the bustling city below." \
--version=3.5-large \
--bf16 \
--download-onnx-models \
--denoising-steps=30 \
--guidance-scale 3.5 \
--build-static-batch \
--use-cuda-graph \
--hf-token=$HF_TOKEN
Stable Diffusion 3.5 Large using FP8 quantization
python3 demo_txt2img_sd35.py \
"A chic urban apartment interior highlighting mid-century modern furniture, vibrant abstract art pieces on clean white walls, and large windows providing a stunning view of the bustling city below." \
--version=3.5-large \
--fp8 \
--denoising-steps=30 \
--guidance-scale 3.5 \
--download-onnx-models \
--build-static-batch \
--use-cuda-graph \
--hf-token=$HF_TOKEN \
--onnx-dir onnx_fp8 \
--engine-dir engine_fp8
Runs of stabilityai stable-diffusion-3.5-large-tensorrt on huggingface.co
1.5K
Total runs
0
24-hour runs
101
3-day runs
-705
7-day runs
-2.1K
30-day runs
More Information About stable-diffusion-3.5-large-tensorrt huggingface.co Model
More stable-diffusion-3.5-large-tensorrt license Visit here:
stable-diffusion-3.5-large-tensorrt huggingface.co is an AI model on huggingface.co that provides stable-diffusion-3.5-large-tensorrt's model effect (), which can be used instantly with this stabilityai stable-diffusion-3.5-large-tensorrt model. huggingface.co supports a free trial of the stable-diffusion-3.5-large-tensorrt model, and also provides paid use of the stable-diffusion-3.5-large-tensorrt. Support call stable-diffusion-3.5-large-tensorrt model through api, including Node.js, Python, http.
stable-diffusion-3.5-large-tensorrt huggingface.co is an online trial and call api platform, which integrates stable-diffusion-3.5-large-tensorrt's modeling effects, including api services, and provides a free online trial of stable-diffusion-3.5-large-tensorrt, you can try stable-diffusion-3.5-large-tensorrt online for free by clicking the link below.
stabilityai stable-diffusion-3.5-large-tensorrt online free url in huggingface.co:
stable-diffusion-3.5-large-tensorrt is an open source model from GitHub that offers a free installation service, and any user can find stable-diffusion-3.5-large-tensorrt on GitHub to install. At the same time, huggingface.co provides the effect of stable-diffusion-3.5-large-tensorrt install, users can directly use stable-diffusion-3.5-large-tensorrt installed effect in huggingface.co for debugging and trial. It also supports api for free installation.
stable-diffusion-3.5-large-tensorrt install url in huggingface.co: