Text-to-Speech
Safetensors
inf5
custom_code

'Cannot copy out of meta tensor' error occurring when running on GPU or CPU

#12
by jatinJam - opened

NotImplementedError: 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.

Sign up or log in to comment