GithubHelp home page GithubHelp logo

Comments (10)

kanttouchthis avatar kanttouchthis commented on August 18, 2024 5

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.

ThioJoe avatar ThioJoe commented on August 18, 2024 2

Same problem

from if.

ipechman avatar ipechman commented on August 18, 2024

Same

from if.

hdeping avatar hdeping commented on August 18, 2024

same problem

from if.

patrickvonplaten avatar patrickvonplaten commented on August 18, 2024

Please use transformers>=4.27.0 here

from if.

ipechman avatar ipechman commented on August 18, 2024

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.

jakerator avatar jakerator commented on August 18, 2024

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.

patrickvonplaten avatar patrickvonplaten commented on August 18, 2024

No you only need Python > 3.7

from if.

thusinh1969 avatar thusinh1969 commented on August 18, 2024

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.

patrickvonplaten avatar patrickvonplaten commented on August 18, 2024

Opened a PR here: #95

from if.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.