Repository navigation
feat: add native SDXL base 1.0 inference on A100 - #1754
Open
LancelottJ wants to merge 2 commits into
Open
LancelottJ wants to merge 2 commits into
LancelottJ wants to merge 2 commits into
Conversation
LancelottJ
force-pushed
the
feat/sdxl-a100-20261124
branch
from
November 24, 2026 09:02
1c0bf66 to
a407f25
Compare
LancelottJ
force-pushed
the
feat/sdxl-a100-20261124
branch
from
November 24, 2026 09:46
a407f25 to
6ed026e
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Adds SDXL base 1.0 text-to-image through the standard LightX2V runner and CLI. Users supply their own input and receive the generated model output.
Loads stabilityai/stable-diffusion-xl-base-1.0 from its local checkpoint layout. Dual-CLIP, UNet, VAE and Euler inference are implemented inside LightX2V, with separate weight storage/loading and computation.
The adapter reuses existing Hunyuan-Image3 timestep embeddings, registered token embeddings, shared weight-file loading and other LightX2V operators, preserves the weights/infer separation, and provides local-weight setup instructions plus a one-command launcher. NVIDIA A100 single-card inference is implemented. Matching MLU, MetaX and Ascend NPU scripts/configurations are explicit placeholders.
The only modified upstream file is the runner registry, with one new entry. Additions contain this model, required shared inference components, fixed model assets/licenses, packaging declarations, configurations, launchers and user documentation. This PR can be merged directly into main independently of the other adapters.
Standalone inference through the NVIDIA launcher, package construction and upstream formatting checks passed. The three adapter branches also merge cleanly in every order.
Weight preparation, supported inputs and inference commands.
The CLIP input path reuses Transformers’ Rust fast tokenizer so Unicode punctuation and literal HTML entities follow Transformers 5 semantics. A100 output validation covers 12 normalization-sensitive prompts and one ASCII control: all 13 final PNGs match the original implementation byte for byte.