-
Notifications
You must be signed in to change notification settings - Fork 10
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
How can I debug your code inference_magicdrive.py with pycharm? #15
Comments
You should launch the program with
This is a fail-safe design for different parallel groups. However, if you only have one process, it should always be safe to use the default process group. |
hard-coded launch from localhost:12355 when not provided Ref #15
Please try the above pr, which should support launching by |
hard-coded launch from localhost:12355 when not provided Ref #15
Thanks for sharing your excellent work.
I usually debug code use pycharm. By copying your inference_magicdrive.py into MagicDriveDiT/, I want to run your code using a gpu. But I encounter the following error:
It seems the code didn't enter into this line
if is_distributed():
Looking forward to your reply. Thanks a lot.
The text was updated successfully, but these errors were encountered: