Giter Site home page Giter Site logo

Comments (9)

sisrfeng avatar sisrfeng commented on May 31, 2024 1

I have given up and use pudb for python.

from nvim-dap-python.

sisrfeng avatar sisrfeng commented on May 31, 2024 1

@sisrfeng Does pudb work well with PyTorch? (probably the last question, thanks!)

Mostly.
But it sometimes may fail when using multiple GPUs or multi-process.

from nvim-dap-python.

mfussenegger avatar mfussenegger commented on May 31, 2024

No stopped threads. Cannot move

Indicates that the debugger is not stopped at a breakpoint, but still running. Maybe you just have to wait longer, or it's waiting for some input? I have no idea what input.cuda() does.

If it really isn't progressing, it's probably an issue with debugpy itself, not with nvim-dap-python

from nvim-dap-python.

nyngwang avatar nyngwang commented on May 31, 2024

@sisrfeng Did you solve it eventually? I'm also setting up nvim-dap for PyTorch recently. It will be great if you could share some insights on this. Thanks!

from nvim-dap-python.

nyngwang avatar nyngwang commented on May 31, 2024

@sisrfeng Does pudb work well with PyTorch? (probably the last question, thanks!)

from nvim-dap-python.

nyngwang avatar nyngwang commented on May 31, 2024

@sisrfeng Could you share your config for PyTorch? This is the command I use without considering debugging:

python main.py --epoch 200 -b 128 --lr 0.05 --gpu 0 --gc

Should I create a new configuration for my case?

from nvim-dap-python.

sisrfeng avatar sisrfeng commented on May 31, 2024

@sisrfeng Could you share your config for PyTorch? This is the command I use without considering debugging:

python main.py --epoch 200 -b 128 --lr 0.05 --gpu 0 --gc

Should I create a new configuration for my case?

Without considering debugging, I think a configuration is not needed. What error do you see?

from nvim-dap-python.

nyngwang avatar nyngwang commented on May 31, 2024

@sisrfeng Thanks for your kindness :) I resolved it days ago. You're right, the configuration isn't the point. I used the default config provided by nvim-dap-python for debugpy. (No more problems on this thread!)

from nvim-dap-python.

sisrfeng avatar sisrfeng commented on May 31, 2024

he configuration isn't the point. I used the default config provided by nvim-dap-python for debugpy. (No more problems on this thread!)

You this repo can work with gpu now ?! I tried but failed some days ago.

from nvim-dap-python.

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.