Closed pseudotensor closed 1 year ago
A work-around is to go back to older torch versions but to fix the batch size:
pip install geffnet timm torch==1.12.1 torchvision==0.13.1 omegaconf torch-tensorrt==1.2.0 nvidia-tensorrt --find-links https://github.com/pytorch/TensorRT/releases/expanded_assets/v1.2.0 --extra-index-url https://download.pytorch.org/whl/cu113
This issue has not seen activity for 90 days, Remove stale label or comment or this will be closed in 10 days
due to a bug in torch_tensorrt: https://github.com/pytorch/TensorRT/issues/1465#issuecomment-1347630727
One requires 1.3.0, but kaggle has only support for python3.7. This leads to a syntax error. To reproduce that problem on kaggle, one can locally do:
leads to:
That is, even though pip doesn't complain about any compatibility issues, still torch_tensorrt built for python3.7 is incompatible with it.