Skip to content

Removed config formatting and env logging (slow) #1647

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

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

00sapo
Copy link

@00sapo 00sapo commented Apr 18, 2025

Motivation

Logging is really slow, especially while loading and preparing experiments, and saving checkpoints

Modification

I profiled the train.py scripts using py-spy.

I then just commented out the lines that slow down the code as a proof of concept. The user should have the ability to alter these lines with config options.

Removed config from visualizer (slow)

removed dump_config (slow)

Removed config from pre_run hook (slow)

removed config when saving checkpoint (slow)

Revert "removed config when saving checkpoint (slow)"

This reverts commit d250e99.

Revert "Removed config from visualizer (slow)"

This reverts commit 4bd1100.

Revert "removed dump_config (slow)"

This reverts commit 7036f30.

Revert "Removed config from pre_run hook (slow)"

This reverts commit 8bfe528.

Removed format_python_code
@CLAassistant
Copy link

CLA assistant check
Thank you for your submission! We really appreciate it. Like many open source projects, we ask that you sign our Contributor License Agreement before we can accept your contribution.
You have signed the CLA already but the status is still pending? Let us recheck it.

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.

2 participants