Code Monkey home page Code Monkey logo

Comments (9)

carefree0910 avatar carefree0910 commented on June 12, 2024 1

That's weird... I'll build up a env without cuda support to see what is going on then. 😣

from carefree-creator.

XplosiON1232 avatar XplosiON1232 commented on June 12, 2024 1

Awh, I got the same message, just says "Killed" after "init sd_v1.5". I might try the Google Colab version instead! Thank you :)

from carefree-creator.

carefree0910 avatar carefree0910 commented on June 12, 2024

oh, it's my fault, seems that i've saved some state_dict with device=cuda... I'll look into it and try to fix it ASAP!

from carefree-creator.

XplosiON1232 avatar XplosiON1232 commented on June 12, 2024

oh, it's my fault, seems that i've saved some state_dict with device=cuda... I'll look into it and try to fix it ASAP!

Thanks! Please let me know if you fix it 😄

from carefree-creator.

carefree0910 avatar carefree0910 commented on June 12, 2024

oh, it's my fault, seems that i've saved some state_dict with device=cuda... I'll look into it and try to fix it ASAP!

Thanks! Please let me know if you fix it 😄

I tried to fix it but I have not tested it yet, would you please run it again on your cloud server to see if everything goes right? 😆

from carefree-creator.

XplosiON1232 avatar XplosiON1232 commented on June 12, 2024

oh, it's my fault, seems that i've saved some state_dict with device=cuda... I'll look into it and try to fix it ASAP!

Thanks! Please let me know if you fix it 😄

I tried to fix it but I have not tested it yet, would you please run it again on your cloud server to see if everything goes right? 😆

Hmm.. I just tested but I couldn't get it to work, I reinstalled my vm and installed by pip and then cloning the git, but I get the exact same error...

from carefree-creator.

carefree0910 avatar carefree0910 commented on June 12, 2024

Hi! Turns out that there are still SOME weights that are located on cuda. (I only checked the FIRST weight before. 🤣)

Now at least I can get everything running on my mac, hope it works for your cloud server!

from carefree-creator.

XplosiON1232 avatar XplosiON1232 commented on June 12, 2024

Hi!
I might be doing something wrong, but now I get this error:

xplosion_now@carefree2:~$ cfcreator serve --cpu
> init sd_v1.5
Killed

from carefree-creator.

carefree0910 avatar carefree0910 commented on June 12, 2024

OK! This is what I know: currently this service has VERY MANY models, so your RAM should be large enough (maybe at least 64GB, 100GB will be better!)

If you don't have that much RAM, you can try to add a focus flag, for instance:

cfcreator serve --cpu --focus sd.base

Which will only load a subset of the available models!

from carefree-creator.

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.