GithubHelp home page GithubHelp logo

Why I get killed? about stablesr HOT 8 OPEN

iceclear avatar iceclear commented on August 27, 2024
Why I get killed?

from stablesr.

Comments (8)

misi0202 avatar misi0202 commented on August 27, 2024 1

Maybe you can check if the model ckpt is loaded twice since in my current setting, the diffusion model and vqgan are initialized from the same large ckpt and I suspect maybe two copies of this large ckpt exist in cpu ram. Not sure about that.

Thanks for you patient reply! I will check about that soon!

from stablesr.

IceClear avatar IceClear commented on August 27, 2024 1

Maybe you can check if the model ckpt is loaded twice since in my current setting, the diffusion model and vqgan are initialized from the same large ckpt and I suspect maybe two copies of this large ckpt exist in cpu ram. Not sure about that.

Thanks for you patient reply! I will check about that soon!

Looking forward to your reply.

from stablesr.

misi0202 avatar misi0202 commented on August 27, 2024 1

Maybe you can check if the model ckpt is loaded twice since in my current setting, the diffusion model and vqgan are initialized from the same large ckpt and I suspect maybe two copies of this large ckpt exist in cpu ram. Not sure about that.

Thanks for you patient reply! I will check about that soon!

Looking forward to your reply.

SAD,it doesn't work,but thanks to your contribution for this issue,hope I can use it in the future! Have a nice Day!

from stablesr.

misi0202 avatar misi0202 commented on August 27, 2024

I use CLI python main.py --train --base configs/stableSRNew/v2-finetune_text_T_512.yaml --gpus GPU_ID, --name NAME --scale_lr False and i get killed 截屏2023-07-07 02 05 08 At first ,i reduce the batch_size and num_workers to 1,but it cant work As a possibility,I use ckpthttps://huggingface.co/stabilityai/stable-diffusion-x4-upscaler I am not sure about that,HELP!!!!!

I am back,it is not reachable in ckpthttps://huggingface.co/stabilityai/stable-diffusion-2-1-base,this confused about me.

from stablesr.

IceClear avatar IceClear commented on August 27, 2024

The most possible reason is that your cpu memory is not enough.

from stablesr.

misi0202 avatar misi0202 commented on August 27, 2024

@IceClear Thanks for your reply!!
maybe is this problem,but if i cant change me cpu memory,is there have alternative choice?

from stablesr.

IceClear avatar IceClear commented on August 27, 2024

Sry. Currently I have no ideas about which part leads to high memory cost. So no solution from my side.

from stablesr.

IceClear avatar IceClear commented on August 27, 2024

Maybe you can check if the model ckpt is loaded twice since in my current setting, the diffusion model and vqgan are initialized from the same large ckpt and I suspect maybe two copies of this large ckpt exist in cpu ram. Not sure about that.

from stablesr.

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.