I have following error:
(effLO310) modellauto@ubuntu:~/joao-jantalia/Masterarbeit/pytorch/EfficientLO-Net$ python -c “import torchvision; print(torchvision.version)”
Traceback (most recent call last):
File “”, line 1, in
File “/home/modellauto/anaconda3/envs/effLO310/lib/python3.10/site-packages/torchvision/init.py”, line 10, in
from torchvision import _meta_registrations, datasets, io, models, ops, transforms, utils # usort:skip
File “/home/modellauto/anaconda3/envs/effLO310/lib/python3.10/site-packages/torchvision/_meta_registrations.py”, line 26, in
def meta_roi_align(input, rois, spatial_scale, pooled_height, pooled_width, sampling_ratio, aligned):
File “/home/modellauto/anaconda3/envs/effLO310/lib/python3.10/site-packages/torchvision/_meta_registrations.py”, line 19, in wrapper
get_meta_lib().impl(getattr(getattr(torch.ops.torchvision, op_name), overload_name), fn)
File “/home/modellauto/.local/lib/python3.10/site-packages/torch/library.py”, line 288, in impl
raise RuntimeError(
RuntimeError: We should not register a meta kernel directly to the operator ‘torchvision::roi_align’, because it has a CompositeImplicitAutograd kernel in core. Instead we should let the operator decompose, and ensure that we have meta kernels for the base ops that it decomposes into.
Also the following versions of pytorch and torchvision:
torch 2.5.0a0+872d972e41.nv24.8
torchvision 0.20.0
Jetpack and cuda versions:
CUDA 12.6 and Jetpack nvidia-l4t-core 36.4.0-20240912212859
i got my versions from here: jp6/cu126 index
The pytorch and torchvision should be compatible or not? what did i do wrong here?