variant=fp16 issue

#9
by nihaal-subhash-7 - opened

I am using the exact code from the model description page.

I am getting this warning:

FutureWarning: You are trying to load the model files of the variant=fp16, but no such modeling files are available.The default model files: {'text_encoder/model.safetensors', 'unet/diffusion_pytorch_model.safetensors', 'vae/diffusion_pytorch_model.safetensors', 'text_encoder_2/model.safetensors'} will be loaded instead. Make sure to not load from variant=fp16if such variant modeling files are not available. Doing so will lead to an error in v0.24.0 as defaulting to non-variantmodeling files is deprecated. deprecate("no variant default", "0.24.0", deprecation_message, standard_warn=False)

The model is already in fp16, so there is no need to use the variant=fp16 parameter, and it is not an error; it is just a notification that does not have any impact.

oh okay. thank you! maybe the model card page could be updated then.

Linaqruf changed discussion status to closed

Sign up or log in to comment