waleedka / hiddenlayer

Neural network graphs and training metrics for PyTorch, Tensorflow, and Keras.
MIT License
1.79k stars 266 forks source link

RuntimeError: 0 INTERNAL ASSERT FAILED #73

Closed sudonto closed 4 years ago

sudonto commented 4 years ago

Python 3.6.8, torch 1.5.0, Ubuntu/Windows.

Build graph gives me error: RuntimeError: 0 INTERNAL ASSERT FAILED at /pytorch/torch/csrc/jit/ir/alias_analysis.cpp:318, please report a bug to PyTorch. We don't have an op for aten::to but it isn't a special case. Argument types: Tensor, None, int, Device, bool, bool, bool, int,.

So strange, in previous I can run this program succesfully. How to solve this?

sudonto commented 4 years ago

Turns out that nn.DataParalel cause this error.