Closed akx closed 6 months ago
Ah, wrap the device name by doing torch.device(device_name)
and that should fix the type error
@joeyballentine Sure – but factually, .to()
also works with a device name, so should the signature be adjusted to allow for that?
Yeah that should probably be adjusted to match whatever torch's signature is
Please see within.