Getting a "meta tensor" error when clicking Process Prompt

#2
by VexorionReal-Backup-3 - opened

Hi there! Thanks for sharing this Space. Unfortunately, it seems to be throwing an error right now. Whenever I click on "Process Prompt," I get the following message:

Prompt processing failed: Cannot copy out of meta tensor; no data! Please use torch.nn.Module.to_empty() instead of torch.nn.Module.to() when moving module from meta to a different device.

It looks like it might be an issue with how the model is being loaded onto the GPU/device. Could you take a look and update the code when you have a chance? Thank you!

Seconding this.

Same here. I'm getting the same error as well. Please fix this as soon as possible!

image

Sign up or log in to comment