Duplicated from showlab/ShowUI
18 unmodified lines192021222223242518 unmodified lines # Load the modelmodel = Qwen2VLForConditionalGeneration.from_pretrained( "/users/difei/siyuan/showui_demo/showui-2b", "./showui-2b", torch_dtype=torch.bfloat16, device_map="auto",)