All models

MultiAdapter

ResNet-like side network turning a control image into feature maps for a diffusion U-Net; MultiAdapter builds included.

Diffusion and generative · 93 operations Checked

100%

Showing the top corner; full diagram not loaded yetShowing a small copy; full diagram not loaded yetLarge diagram, not loaded yet

Open SVG

Loading diagram (26 KB)

Open in a new tab

Click or tap a spot to read it up close. Scroll or drag inside the diagram to move through it. Zoom with + and − or Ctrl and scroll. Press 0 for the whole graph. Swipe inside the diagram to move through it. Use + and − to zoom.

At a glance

Parameters
154.7M
Operations
93
Framework
PyTorch
Recurrent
No
Source
diffusers 0.40.0
License
Apache-2.0
Checked
Passed: the trace was replayed operation by operation and matched the model's own output for this input.

Files

The diagram is a drawing of a TorchLens trace of the source code. It contains no code or weights.

Details
Stable ID
m1811
Graph hash
460175bb1b053927500286f7c0d8166d77d11188ca8e2e4e240967723fa5661f
Skeleton hash
88d522090072044dfbe84f0227eef539ab7ca036a55e4a50d00965db5fe12eae
Architecture hash
9465d1a2b276f7b434a27c4cf51d4a9e95a576ed5658b04faa68a4dca25b60e3
Diagram SHA-256
e29447618081ae3fc53c4e4e53be64c072588442a5c1d85cef6f471aa03cb9db
TorchLens version
2.36.0
Renderer
graphviz 2.43.0+pyvips 3.2.0+libvips 8.18.7+render-opts@06c1f0d3
Check
Forward pass replayed in PyTorch

What it is

About this model's family

T2I-Adapter is a simple ResNet-like network that reads an image carrying a control signal, such as keyposes or depth, rather than a photograph to be generated. It produces multiple feature maps that are used as additional conditioning in UNet2DConditionModel, the diffusion U-Net of the diffusers library. The diffusers implementation follows the original Adapter and AdapterLight code from the TencentARC T2I-Adapter repository.

By default the adapter takes a 3-channel control image, and a grayscale control image is handled by setting the input channels to 1. Its downsample blocks output 320, 640, 1280 and 1280 channels, and the length of that list sets the number of downsample blocks. Each downsample block holds 2 ResNet blocks by default. The total downscale factor defaults to 8, and the adapter_type argument selects full_adapter, full_adapter_xl or light_adapter.

Key idea. A light ResNet-like side network that turns a control image into multi-scale feature maps used as extra conditioning for a diffusion U-Net.

  • T2I-Adapter
  • t2i adapter
  • TencentARC
  • control image
  • keypose
  • depth conditioning
  • MultiAdapter
  • MotionAdapter
  • diffusers adapter
  • UNet2DConditionModel conditioning

AI-written summary, based on the model's documentation and checked automatically against it; not reviewed by a person. Corrections welcome.