The documentation page API/MODELS/#DIFFUSERS.TRANSFORMER2DMODEL.NUM_ATTENTION_HEADS doesn’t exist in v0.29.0, but exists on the main version. Click here to redirect to the main version of the documentation.