Import error

#1
by halidziya1 - opened

Hi,
Does anybody face the problem of :
No module named 'transformers_modules.nvidia.RADIO...
I am using the latest pip package and login was successful.

Yes, seeing a very similar issue
from .vit_patch_generator import ViTPatchGenerator
ModuleNotFoundError: No module named 'transformers_modules.nvidia.radio.abc42a022b55d8f5f6c46100ece44664cc777c66.vit_patch_generator'

NVIDIA org

Can reproduce the error, we will try to fix on Monday at the latest.
For now, you can try E-RADIO model on HF, or use TorchHub example: https://github.com/NVlabs/RADIO/blob/main/README.md#torchhub

NVIDIA org

I dug into this a bit, and I think it was related to a stale cache. It's possible that things will work now if you try again.

Can either of you two give it a go?

If it still doesn't work, can you remove $HOME/.cache/huggingface/hub/models--nvidia--RADIO (or wherever your cache directory is)?

It is still not working for me.

NVIDIA org

Sorry for the delayed response, I think this is fixed now, do you mind trying again?

Sign up or log in to comment