Closed gitlabspy closed 4 years ago
I was having a similar issue, I tried
torch.set_default_tensor_type('torch.cuda.FloatTensor')
which the developers recommended in another issue. They mention it's a hack, but it worked for me. Cheers
Not a great hack, as they suggested, I'm having OOM issues.
Thanks for reporting this! #9 has been merged now, which should hopefully have solved most of GPU-related issues. Feel free to re-open if your particular issue hasn't been resolved by this, letting us know what distribution/transform you're using exactly. Cheers.
I use
realnvp
flow in examples folder and I tinkered it a little bit. It seems that it only works on cpu.error:
I am pretty new to pytorch but have some experience in tensorflow, so how to put flow to gpu to train? Thx!!