Git Product home page Git Product logo

Comments (3)

xiamengzhou avatar xiamengzhou commented on September 21, 2024

It seems to be a lack of support for native FSDP for these settings. Since our repo does not use transformers code, we probably cannot easily use the PR? Plus, Composer has another wrapper on top of FSDP which might add extra complexity.

from llm-shearing.

Longyichen avatar Longyichen commented on September 21, 2024

I am currently encountering this problem when running a pruning experiment on a single GPU. I want to solve it by turning off FSDP, but this code seems to be incompatible with settings without FSDP and encounters many problems. But when I turned on the FSDP settings, this problem prevented me from getting Checkpoint.
Are you able to share the general configuration of your machine, such as cuda, FSDP and other infrastructure? Will you encounter this problem when running a program on a single GPU?

from llm-shearing.

xiamengzhou avatar xiamengzhou commented on September 21, 2024

Hiii I never experimented with single GPUs. You might need to deactivate the FSDP setup in the yaml scripts to completely turn off FSDP by setting`fsdp_config=null.

  • I use cuda 12.2 but I think cuda 12.0 and cuda 11.7 should work as well.
  • You can find the default FSDP set up in the yaml file
  • I use 8 GPUs for pruning and 16 for continued pre-training

from llm-shearing.

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.