Monadical-SAS / minecraft_skin_generator

Generates Minecraft skins with a text prompt using the HuggingFace "monadical-labs/minecraft-skin-generator" model.
GNU General Public License v3.0
68 stars 20 forks source link

How to solve the error? torch_dtype=torch.float16 #2

Open BobikTyzik opened 1 month ago

BobikTyzik commented 1 month ago

Pipelines loaded with dtype=torch.float16 cannot run with cpu device. It is not recommended to move them to cpu as running them will fail. Please make sure to use an accelerator to run the pipeline in inference, due to the lack of support forfloat16 operations on this device in PyTorch. Please, remove the torch_dtype=torch.float16 argument, or use another device for inference. How to solve the error?

BobikTyzik commented 1 month ago

And I was able to solve the problem