Comments (11)
Well.. I use xformers in kaggle and colab. Basically, installing in an inside virtual environment with Python 3.10
In Colab, you can choose between Pyenv and Conda for your virtual environment (download manually first).
In Kaggle , Conda was already built in.
Pyenv
#Download and installing
! curl https://pyenv.run | bash
#Initialization required environtment path
import os
os.environ['PYENV_ROOT']=f"{os.environ['HOME']}/.pyenv"
os.environ['PATH']+=f":{os.environ['PYENV_ROOT']}/bin"
#setup virtual environtment and Python 3.10
! sudo apt-get install -y libffi-dev
! pyenv install 3.10.7
! pyenv local 3.10.7
! python --version
! pyenv exec python --version
#Download Install xformers from my compiled binaries
!curl -L https://github.com/GrennKren/xformers_wheel/releases/download/v0.0.14_py310/xformers-0.0.14.dev0-cp310-cp310-linux_x86_64.whl --output "xformers-0.0.14.dev0-cp310-cp310-linux_x86_64.whl"
!pyenv exec pip install xformers-0.0.14.dev0-cp310-cp310-linux_x86_64.whl
#Launching webui
! COMMANDLINE_ARGS="--share --xformers" REQS_FILE="requirements.txt" pyenv exec python launch.py
Conda
#Download and install IF conda wasnt installed
! curl --output conda.sh -L https://repo.anaconda.com/miniconda/Miniconda3-latest-Linux-x86_64.sh
! bash conda.sh -b # -b for silent install
#Setup virtual environtment and python 3.10
! conda create -y -n YouNameIt python=3.10
! python --version
! conda run -n YouNameIt python --version
#Install Xformers
! conda install -y -n YouNameIt xformers -c xformers/label/dev
#Launching Webui
! COMMANDLINE_ARGS="--share --xformers" REQS_FILE="requirements.txt" conda run -n YouNameIt --no-capture-output python launch.py
# --no-capture-output is needed because conda run was not produce any output until the python program completed.
from diffusion-colabui.
用了ipynb文件后,造成Colab账号封禁。
from diffusion-colabui.
用了ipynb文件后,造成Colab账号封禁。
It may have something to do with that
Edit::
still no sign of being locked when turning off to private
from diffusion-colabui.
能解封吗?不知道能否申诉成功。
from diffusion-colabui.
Hello. I apologize that this has caused the lockdown of your accounts. It may have something to do with the violation of certain Google policies:
- creating deepfakes
- file hosting, media serving, or other web service offerings not related to interactive compute with Colab
This cannot be resolved by me.
from diffusion-colabui.
@PreCoi It might take a few days for your account to be unlocked. In the meantime, I recommend using dummy accounts for Colab. It is also not recommended to keep the colab running for more than two hours at a time.
from diffusion-colabui.
Triton has been fixed. Testing xformers
from diffusion-colabui.
Triton has not been fixed. Error: openai/triton#625
from diffusion-colabui.
Upgrading to nightly triton...
Testing...
from diffusion-colabui.
More errors. Seems like default xformers is outdated. Installing newer xformers takes very long
from diffusion-colabui.
Xformers has no improvements considering the time it takes to update the dependencies
from diffusion-colabui.
Related Issues (20)
- Hello, can you please update new plug-ins such as controlnet, thank you very much
- error HOT 8
- Ask HOT 7
- When switching models the code crashes
- PyTorch and torchvision were compiled with different CUDA versions HOT 1
- save_to_gdrive option leads to unrecognised arguments HOT 1
- Run In GDrive removed from "old" version HOT 1
- train.py issue
- Where is LorA menu HOT 1
- Problems with "conection errored out" HOT 2
- Excuse me, would it be possible to update some useful plugins? Thank you very much. HOT 3
- AttributeError: 'Options' object has no attribute 'extra_networks_card_height' HOT 1
- Error when running gradio HOT 12
- Hosting question HOT 1
- Namerror HOT 2
- Disconnecting itself HOT 9
- Disconnect issue
- Google Colab copy can't use extensions
- Civit Ai fix
- There's no save everything locally to GDrive like before? HOT 1
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 diffusion-colabui.