Giter Site home page Giter Site logo

Comments (4)

b-fission avatar b-fission commented on August 17, 2024 1

I was about to post an answer on your other thread #2581, but this'll do. I had compiled builds of the tensorflow and bitsandbytes for Windows that can run without AVX.

See here for packages and instructions

from kohya_ss.

martindellavecchia avatar martindellavecchia commented on August 17, 2024

It moved on!, but I faced another issue:

return F.linear(input, self.weight, self.bias)

torch.cuda.OutOfMemoryError: CUDA out of memory. Tried to allocate 10.00 MiB. GPU 0 has a total capacty of 11.00 GiB of which 0 bytes is free. Of the allocated memory 10.16 GiB is allocated by PyTorch, and 80.42 MiB is reserved by PyTorch but unallocated. If reserved but unallocated memory is large try setting max_split_size_mb to avoid fragmentation. See documentation for Memory Management and PYTORCH_CUDA_ALLOC_CONF
steps: 0%|

weird, as i have a 2080ti, 11GB and a 3060 12GB.

Should I also be updating pytorch?

from kohya_ss.

b-fission avatar b-fission commented on August 17, 2024

I have no experience doing multi-GPU training, so I can only make guesses.

What type of model are you training on? SDXL or SD 1.5?
Is your batch size too large?
Use gradient checkpointing?

And I think PyTorch 2.1.2 is installed by default on the current version which should be fine.

from kohya_ss.

martindellavecchia avatar martindellavecchia commented on August 17, 2024

it seems to be running now for LORA training, i didn't notice i was on the dreambooth tab when i was failing with above allocation error 👀 . LORA training looks to be working fine, but it just picking up GPU0. I will dig a bit trying to make it work for multi GPU, thanks so much, your tensorflow with no AVX did the trick! ;) 🚀

Thanks so much!

from kohya_ss.

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.