Comments (22)
Hey! I installed the repo on colab with a V100, I tossed the files in google drive
_C.so
https://drive.google.com/file/d/1Gl_9nxbom02ntBRVpEt8bYYDsBz6Wzvt/view?usp=sharing
_C_flashattention.so
https://drive.google.com/file/d/1EegDE6zEMKsqFBvTdDOFATttqdR6HUPO/view?usp=sharing
from fast-stable-diffusion.
I just got another A100. I'll run the install again and try and retrieve the files when I have a moment
from fast-stable-diffusion.
@tusharbhutt wait a few minutes before trying
from fast-stable-diffusion.
Just snagged an A100, so will probably not work :)
I'll let you know if I can save those two files you mentioned
from fast-stable-diffusion.
@tusharbhutt @TheLastBen Just got an A100 too, ha. I'll send a link to the files when it's done, Ben. Running it now. Took me three runtimes before I got a less substantial GPU...
from fast-stable-diffusion.
Hello,
The supported GPUs are T4 and P100, but if you care to add yours (V100), you can run
pip install git+https://github.com/facebookresearch/xformers@51dd119#egg=xformers
after around 40min, and the installation is done, navigate to /usr/local/lib/python3.7/dist-packages/xformers
save the two files : "_C_flashattention.so" and "_C.so", upload them to any host and send me the link and I will integrate them in the Colab for V100 users.
Note: for V100 or equivalent, the speed increase is almost 100%
from fast-stable-diffusion.
Thank you very much, I'll integrate them immediately
from fast-stable-diffusion.
Hello, The supported GPUs are T4 and P100, but if you care to add yours (V100), you can run
pip install git+https://github.com/facebookresearch/xformers@51dd119#egg=xformers
after around 40min, and the installation is done, navigate to
/usr/local/lib/python3.7/dist-packages/xformers
save the two files : "_C_flashattention.so" and "_C.so", upload them to any host and send me the link and I will integrate them in the Colab for V100 users.Note: for V100 or equivalent, the speed increase is almost 100%
Excellent, will give that I try, thank you!
from fast-stable-diffusion.
let me know if it works
from fast-stable-diffusion.
Three times?!?! Wow, I dropped from an A100 to a P100 in one go... can't wait to see what the limits are when they're imposed tomorrow by Google.
No appearance of the xformers folder under the dist-packages yet.
from fast-stable-diffusion.
My install finished but I don't see anything with those file names. https://imgur.com/a/OIQvUN5
from fast-stable-diffusion.
@taylorharrison try the command : !ls -al [path to xformers folder]
to see if the files exist
from fast-stable-diffusion.
Same results, no folder. Not sure how to run a Unix command on a Google Web Colab
from fast-stable-diffusion.
@tusharbhutt make a new cell and run this code : !ls -al /usr/local/lib/python3.7/dist-packages/xformers/
from fast-stable-diffusion.
files beginning with "." or "_" don't show in the colab file explorer
from fast-stable-diffusion.
@tusharbhutt Colab file manager hides files with certain file extensions, I had to rename those files to .py to be able to see them.
I already uploaded the compiled libraries for the V100 card on colab in a message above if you want to use those, I think @TheLastBen has already included them in the repo
from fast-stable-diffusion.
@gquarles the V100 are included, but he got an A100, would be good to have the files as an addition
from fast-stable-diffusion.
Oh I see, I had to rename my files to get them to show up
!cp /usr/local/lib/python3.7/dist-packages/xformers/_C.so /usr/local/lib/python3.7/dist-packages/xformers/C.py
!cp /usr/local/lib/python3.7/dist-packages/xformers/_C_flashattention.so /usr/local/lib/python3.7/dist-packages/xformers/C_flashattention.py
from fast-stable-diffusion.
!ls -al /usr/local/lib/python3.7/dist-packages/xformers/
No go...
ls: cannot access '/usr/local/lib/python3.7/dist-packages/xformers/': No such file or directory
from fast-stable-diffusion.
@tusharbhutt it needs to be reinstalled in case you disconnected from the colab
from fast-stable-diffusion.
Just came here because I got lucky and got an A100 myself. Thx @taylorharrison!
from fast-stable-diffusion.
@RaphaelMaschinsen don't thank me yet. Still building wheels over here. Will be nice to play with the A100 eventually though, ha...
Update: well, no luck. It disconnected on me. Got assigned another A100 though and done with work. Will do it again...
@TheLastBen finished the download. here you go: https://drive.google.com/drive/folders/15K3AGvhSfe15NIRE-rkNWYu7gKpx7oSW?usp=sharing
from fast-stable-diffusion.
Related Issues (20)
- Xformers is missing. HOT 2
- Paperspace cell stopping HOT 16
- (RunPod)A tensor with all NaNs was produced in Unet HOT 2
- mov2mov is not working....
- Google colab code could not open the gradio WebUI
- SDXL Lora Paperspace Trainer Errors - Non-Zero Exit Status HOT 4
- AttributeError: module 'jax.random' has no attribute 'KeyArray' HOT 15
- Thelastben GoogleColab Model Conversion error HOT 6
- ModuleNotFoundError: No module named 'diskcache' HOT 11
- *** Error creating infotext for key "Hires negative prompt" HOT 4
- Error loading script: !adetailer.py [Paperspace] HOT 2
- ImportError: cannot import name 'Undefined' from 'pydantic.fields' HOT 4
- ModuleNotFoundError: No module named 'torchvision.transforms.functional_tensor' HOT 4
- ModuleNotFoundError: No module named 'diskcache' HOT 4
- Error loading script: inpaint_anything.py :(
- ModuleNotFoundError: No module named 'pillow_avif' HOT 11
- Error when starting "Start Stable-Diffusion" while "fast_stable_diffusion" is running HOT 1
- Error in the first cell.
- Error when starting "Start Stable-Diffusion" while "fast_stable_diffusion" is running etc... HOT 2
- Chechpoint/model consistency
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from fast-stable-diffusion.