Comments (10)
the only way i have been consistently able to run the code is with pytorch 2.0.0 and the latest versions of everything
conda create -n if python=3.10 -y
conda activate if
conda install pip git -y
pip install deepfloyd_if==1.0.1
pip install xformers==0.0.19
pip install git+https://github.com/openai/CLIP.git --no-deps
pip uninstall torch -y
pip install torch torchvision torchaudio --index-url https://download.pytorch.org/whl/cu118
pip install huggingface_hub
pip install --upgrade diffusers accelerate transformers safetensors
$ pip list
accelerate 0.18.0
deepfloyd-if 1.0.1
diffusers 0.16.1
safetensors 0.3.1
torch 2.0.0+cu118
transformers 4.28.1
xformers 0.0.19
from if.
Same problem
from if.
Same
from if.
same problem
from if.
Please use transformers>=4.27.0 here
from if.
Please use transformers>=4.27.0 here
I tried this but it just shoots another error with accelerator… says it needs to be above version 17. I installed version 17 and it was still broken…
from if.
the only way i have been consistently able to run the code is with pytorch 2.0.0 and the latest versions of everything
conda create -n if python=3.10 -y conda activate if conda install pip git -y pip install deepfloyd_if==1.0.1 pip install xformers==0.0.19 pip install git+https://github.com/openai/CLIP.git --no-deps pip uninstall torch -y pip install torch torchvision torchaudio --index-url https://download.pytorch.org/whl/cu118 pip install huggingface_hub pip install --upgrade diffusers accelerate transformers safetensors
$ pip list accelerate 0.18.0 deepfloyd-if 1.0.1 diffusers 0.16.1 safetensors 0.3.1 torch 2.0.0+cu118 transformers 4.28.1 xformers 0.0.19
Does it work only with python 3.10?
from if.
No you only need Python > 3.7
from if.
Grruhhhh I have to redo everything from doulb-ebuild Docker and all ffor this... Hopefully it should work !
the only way i have been consistently able to run the code is with pytorch 2.0.0 and the latest versions of everything
conda create -n if python=3.10 -y conda activate if conda install pip git -y pip install deepfloyd_if==1.0.1 pip install xformers==0.0.19 pip install git+https://github.com/openai/CLIP.git --no-deps pip uninstall torch -y pip install torch torchvision torchaudio --index-url https://download.pytorch.org/whl/cu118 pip install huggingface_hub pip install --upgrade diffusers accelerate transformers safetensors
$ pip list accelerate 0.18.0 deepfloyd-if 1.0.1 diffusers 0.16.1 safetensors 0.3.1 torch 2.0.0+cu118 transformers 4.28.1 xformers 0.0.19
Grruhhhh I followed the guideline and it did NOT work. I have to redo everything from doulbe-build Docker and all ffor this... I will revert soon. Hopefully it should work !
from if.
Opened a PR here: #95
from if.
Related Issues (20)
- Textual Inversion for DeepFloyd IF published
- Hello! How can I save pictures? Where is the path to save pictures?
- DeepFloyd IF Lab - JupyterLab-based UI with single-click installation, all pipelines, and PNGInfo.
- How to download the model to local use? HOT 3
- How to Change Settings in Google Colab
- How to convert DeepFloyd model to onnx
- ImportError: cannot import name 'CLIPImageProcessor' from 'transformers'
- Null
- What is the FID-30K test subset? HOT 2
- Is the paper going to be released?
- Dedicated Inpainting Model
- Can only run locally? Can't you run on the server and ubuntu?
- Tensor error for basic example usage HOT 3
- Internal: unk is not defined HOT 3
- Error related to Transformers version when launching HOT 1
- There has a path bug in stage_III_sd_x4 file.
- Citation Information HOT 2
- Variance Scheduler HOT 2
- what is bs_scale for?
- ValueError: CLIPVisionModelWithProjection does not support `device_map='auto'`. To implement support, the model class needs to implement the `_no_split_modules` attribute. HOT 6
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 if.