Skip to content
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

Support multi-GPU training for supervised training #206

Merged
merged 4 commits into from
Oct 17, 2024

Conversation

ksikka
Copy link
Collaborator

@ksikka ksikka commented Oct 16, 2024

No description provided.

@ksikka ksikka linked an issue Oct 16, 2024 that may be closed by this pull request
@ksikka ksikka force-pushed the feature/multi-gpu-sup branch 5 times, most recently from c957083 to b81f011 Compare October 17, 2024 17:43
@ksikka ksikka marked this pull request as ready for review October 17, 2024 17:46
Copy link
Collaborator

@themattinthehatt themattinthehatt left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

looks great, most requests are about comments/docs

docs/roadmap.md Outdated Show resolved Hide resolved
docs/source/faqs.rst Outdated Show resolved Hide resolved
lightning_pose/models/base.py Show resolved Hide resolved
lightning_pose/utils/scripts.py Outdated Show resolved Hide resolved
tests/utils/test_scripts.py Show resolved Hide resolved
# assert num_gpus gets modified to 1
assert cfg.training.num_gpus == 1
# the rest of the behavior follows correctly
assert data_module.train_batch_size == 4
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

compare to value in cfg rather than hard code (same for two below)

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Done

tests/utils/test_scripts.py Outdated Show resolved Hide resolved
@themattinthehatt themattinthehatt merged commit 84538bf into paninski-lab:main Oct 17, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

how to carry out multi-GPU with lightning-pose?
2 participants