Git Product home page Git Product logo

Comments (2)

ZexinHe avatar ZexinHe commented on May 29, 2024

Hi,

Thank you for your interest!

I have lowered the frame_size here to 2 by default, which controls the number of video frames rendered per batch. If you find that the VRAM usage is still high, you can further reduce it.

Moreover, could you please share your environment settings? Here are some things to check:

  • Make sure that xFormers memory-efficient attention is enabled and compatible with your CUDA version. You should see UserWarning: xFormers is available if it is working correctly.
  • The recommended version of PyTorch is >=2.1.2. It is crucial to have PyTorch >=2.0 to enable native torch FlashAttention.

As a reference, the VRAM usage for base-sized models should be below 20GB for inference on an A100 with frame_size=2.

For v1.0 models, if you are using d4caebb commit, could you plz share with us more information? From this JSONDecodeError, we couldn't locate the exact line to throw this error. Thanks!

from openlrm.

YuxuanSnow avatar YuxuanSnow commented on May 29, 2024

Hi, thanks for the reply. I think it's because i changed the code to take all images in a folder as input which cause the OOM issue. I will further test and raise questions if i meet any trouble. Thanks!

from openlrm.

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.