We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
I was trying to finetune the VAE decoder. I met this error:
raise ValueError("Attempting to unscale FP16 gradients.").
I set args.mixed_precision as fp16. And here is how I load the vae model:
vae = AutoencoderKL.from_pretrained( args.pretrained_model_name_or_path, subfolder="vae", use_safetensors=True )
Do you have any suggestion?
The text was updated successfully, but these errors were encountered:
No branches or pull requests
I was trying to finetune the VAE decoder. I met this error:
raise ValueError("Attempting to unscale FP16 gradients.").
I set args.mixed_precision as fp16. And here is how I load the vae model:
Do you have any suggestion?
The text was updated successfully, but these errors were encountered: