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

Profiling on test #20

Merged
merged 7 commits into from
Sep 12, 2024
Merged

Profiling on test #20

merged 7 commits into from
Sep 12, 2024

Conversation

flyIchtus
Copy link
Contributor

Add a profiler to the test "binary"

bin/test.py Outdated Show resolved Hide resolved
@colon3ltocard colon3ltocard self-assigned this Sep 12, 2024
@colon3ltocard colon3ltocard merged commit 1e7706b into main Sep 12, 2024
1 check passed

trainer = pl.Trainer(logger=logger, devices="auto", fast_dev_run=args.only_plots)
# Setup profiler
if args.profiler == "pytorch":
Copy link
Collaborator

Choose a reason for hiding this comment

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

I see this is the same in bin/train.py, but it seems impossible to use the "simple" profiler, while it is "pytorch" or nothing. Maybe "simple" could be removed from the --profiler possibilities ?

Copy link
Collaborator

Choose a reason for hiding this comment

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

Oops to slow to write the comment :)

@flyIchtus flyIchtus deleted the profiling_on_test branch September 13, 2024 14:13
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.

4 participants