-
Notifications
You must be signed in to change notification settings - Fork 1.2k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
ModuleNotFoundError: No module named 'aqt' #271
Comments
I just tried Maybe the error was transient? You can specify a specific commit like Line 33 in 62a446f
(unfortunately flaxformers does not provide tags for the Github repo, nor a versioned pypi package).
|
Thanks for the kind reply. Unfortunately, I think the error is not transient. I also tried the colab on fresh Colab VMs for several times, but the error always exits:
Since I'm using ViT models and the error seems to only appear when importing LiT models, I commented the lines about LiT in models.py (line 15, 28, 37 and 38) to bypass the error. |
this error happens to me as well when using a copy of https://colab.research.google.com/github/google-research/vision_transformer/blob/main/vit_jax.ipynb @ZigeW 's solution bypasses the error, but removes the ability to use the LiT models I guess. I tried out the specific commit fix in vision_transformer/vit_jax/setup.py by @andsteing and it does not work unfortunately, it throws the same error
So I guess commenting out the lines are the way forward for now? |
Fixes #271. For more information, see google/aqt#196 PiperOrigin-RevId: 541530820
Ok, the problem is actually in the latest release of the You can fix this by specifying (PR fixing this repo is pending...) |
Fixes #271. For more information, see google/aqt#196 PiperOrigin-RevId: 541530820
Fixes #271. For more information, see google/aqt#196 PiperOrigin-RevId: 541530820
Fixes #271. For more information, see google/aqt#196 PiperOrigin-RevId: 541530820
I tried to run the first colab to finetune ViT-B_16 on cifar10, but got the error "ModuleNotFoundError: No module named 'aqt'" when importing bert from flaxformer.architectures.bert. It seems to be an issue about flaxformer, does anyone know how to fix it?
The text was updated successfully, but these errors were encountered: