The model can be loaded with the following code snippet.
OvisImageTransformer2DModel
The model can be loaded with the following code snippet.
from diffusers import OvisImageTransformer2DModel
transformer = OvisImageTransformer2DModel.from_pretrained("AIDC-AI/Ovis-Image-7B", subfolder="transformer", dtype=torch.bfloat16)
OvisImageTransformer2DModel
[[autodoc]] OvisImageTransformer2DModel
Source and license
Source: Diffusers documentation, adapted for this site. Licensing and attribution follow the terms of the upstream project.