talking-head-anime-demo icon indicating copy to clipboard operation
talking-head-anime-demo copied to clipboard

torch.device Metal Performance Shaders error

Open JojiTokitou opened this issue 2 years ago • 2 comments

I'm a Japanese student. Sorry for the poor English. When I tried this program, got error as this issue's title. I use M1 MacBook Air and GPU is Metal Performance Shaders (MPS). Can anybody offer me help?

JojiTokitou avatar Jul 22 '22 04:07 JojiTokitou

I found this error

RuntimeError: don't know how to restore data location of torch.FloatStorage (tagged with meta)

JojiTokitou avatar Jul 26 '22 12:07 JojiTokitou

I'm sorry to say that I might not be able to help with your problem. I don't have a MacBook with an M1 chip, so I cannot reproduce your problem.

Someone I know tried to make my system work on MacBooks. It seems that the PyTorch implementation for the M1 chip still have bugs and unimplemented features. So, you either can hack PyTorch to fix those bugs and insert unimplemented features or you can wait until the bugs are fixed by the PyTorch team.

dragonmeteor avatar Jul 28 '22 15:07 dragonmeteor