GithubHelp home page GithubHelp logo

Comments (8)

lllyasviel avatar lllyasviel commented on September 7, 2024

it seems ran out of system ram rather than vram - probably we need a bit optimization on this ..

from fooocus.

philsmy avatar philsmy commented on September 7, 2024

Machine has 16GB of ram. I added 4gb of swap and it is now running! I'm a little concerned that the memory was never released after the install though.

Screen Shot 2023-08-14 at 0 07 04

from fooocus.

philsmy avatar philsmy commented on September 7, 2024

Sadly it is not usable. I do get the UI up and can enter a prompt but it starts to process then everything seems to freeze. Also, I see no movement on the GPU usage chart.

from fooocus.

lllyasviel avatar lllyasviel commented on September 7, 2024

yes we may confirm that this is low ram problem.
this is because both xl base and refiner are used for best results.
if invokeai can work on this machine, then does invokeai use both base and refiner?
if they are not loading less models then i can probably take a look at other methods for system ram optimization

from fooocus.

philsmy avatar philsmy commented on September 7, 2024

You're quite right. SDXL under InvokeAI doesn't run either. I will get a bigger instance tomorrow and go through it again.

from fooocus.

lllyasviel avatar lllyasviel commented on September 7, 2024

The test passed on my end with 8GB RAM on windows. see also updated readme installation guides with images and explanations.
But I am not sure if linux can do that

from fooocus.

elbowdonkey avatar elbowdonkey commented on September 7, 2024

I'm using a Proxmox cluster to try and run Fooocus on a Ubuntu VM. I pass through a RTX3060 with 12GB to that VM. The host machine has 192GB of RAM, with 64GB allocated to the VM.

This VM runs SDXL on InvokeAI, Auto111, ComfyUI, without issue.

When running python launch.py --listen, the process is eventually killed. I can paste all the messages seen after executing the launch script, but ultimately there's no error - it just ends with:

building MemoryEfficientAttnBlock with 512 in_channels...
Killed

I'm not quite sure if this is a RAM issue or what. Typically when I've seen Killed it's because of too little ram. That said, not sure why other SDXL compatible projects load the SDXL models without issue.

from fooocus.

igorw765 avatar igorw765 commented on September 7, 2024

I'm also getting:
building MemoryEfficientAttnBlock with 512 in_channels... [1] 3299 killed python launch.py

OS: Arch Linux
CPU: i5-9600k
GPU: GTX 750 ti
RAM; 24GB DDR4
Swap: 4GB

from fooocus.

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.