Hi @alejandro.serna, presuming that you did a pip3 install torchvision - you need to build torchvision from source (or use the precompiled wheels/docker from jetson-containers)
You can find the instructions for this under the Installation section of this thread:
I haven’t tried PyTorch 2.4 yet, but would try the latest torchvision release with it (0.19)