Lezwon Castelino
|
d9ea25590e
|
fix ONNX model save on GPU (#3145)
* added to(device)
* added test
* fix test on gpu
* Update pytorch_lightning/core/lightning.py
Co-authored-by: Justus Schock <12886177+justusschock@users.noreply.github.com>
* Update pytorch_lightning/core/lightning.py
Co-authored-by: Justus Schock <12886177+justusschock@users.noreply.github.com>
* remove multi gpu check
Co-authored-by: Justus Schock <12886177+justusschock@users.noreply.github.com>
* updated message
* Update pytorch_lightning/core/lightning.py
Co-authored-by: Justus Schock <12886177+justusschock@users.noreply.github.com>
* updated test
* onxx to onnx
* Update pytorch_lightning/core/lightning.py
Co-authored-by: Rohit Gupta <rohitgr1998@gmail.com>
* Update tests/models/test_onnx.py
Co-authored-by: Rohit Gupta <rohitgr1998@gmail.com>
* add no grad
Co-authored-by: Rohit Gupta <rohitgr1998@gmail.com>
* add isinstance back
* chlog
* error is input_sample is not Tensor
Co-authored-by: Justus Schock <12886177+justusschock@users.noreply.github.com>
Co-authored-by: Rohit Gupta <rohitgr1998@gmail.com>
Co-authored-by: Jirka Borovec <jirka@pytorchlightning.ai>
|
2020-08-26 16:22:19 +00:00 |