On COLAB: Testing the trained model error: "did you forget to build xformers with `python setup.py develop"
See original GitHub issueBefore this I had some problems with building a CKPT model (with text_encoder). Now:
WARNING:root:WARNING: Need to compile C++ extensions to get sparse attention suport. Please run python setup.py build develop
RuntimeError: No such operator xformers::efficient_attention_forward_generic - did you forget to build xformers with python setup.py develop
?
Issue Analytics
- State:
- Created a year ago
- Comments:10 (4 by maintainers)
Top Results From Across the Web
No such operator xformers::efficient_attention_forward_cutlass
RuntimeError: No such operator xformers::efficient_attention_forward_cutlass - did you forget to build xformers with python setup.py develop ?
Read more >What to do when you get an error - Hugging Face Course
In this section we'll look at some common errors that can occur when you're trying to generate predictions from your freshly tuned Transformer...
Read more >fast-dreambooth colab, +65% speed increase + less than ...
Train your model using this easy simple and fast colab, all you have to do is enter you ... Please run python setup.py...
Read more >python setup.py bdist_wheel did not run successfully
I ran into the same error trying to run a SikuliX script on a Windows 10 PC. ... python setup.py bdist_wheel did not...
Read more >OCR-Free Document Understanding with Donut
from_pretrained () call, I've simply specified the name of the pretrained model from the HuggingFace Hub (the necessary files are downloaded at this...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Okay, I figured it out. If someone wants to run a Custom Colab VM -
You need to match the pytorch version (1.12) instead of (1.13)
I think so too, going to match atleast the pytorch version and see if it works -
Standard Google Collab VM (Colab Pro)
Google Colab VM from Marketplace -