-
Notifications
You must be signed in to change notification settings - Fork 2
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
poetry run
is very slow
#4
Labels
bug
Something isn't working
engineering
performance
priority: medium-low
Non-blocking but somewhat time-sensitive, e.g., adds overhead or friction
Comments
JasonGross
added
engineering
performance
priority: medium-low
Non-blocking but somewhat time-sensitive, e.g., adds overhead or friction
bug
Something isn't working
labels
Jan 11, 2024
Ah, I guess I was sorting the profile wrong.
profile
|
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Labels
bug
Something isn't working
engineering
performance
priority: medium-low
Non-blocking but somewhat time-sensitive, e.g., adds overhead or friction
No idea why, but, e.g.,
poetry run python -m gbmi.exp_max_of_n.train --force load
is very slow (7--8 seconds). The profile fromcProfile
shows literally nothing taking any significant time, Ctrl+C interruption suggests it's an issue with poetry loading pytorch?time poetry run python -c 'import cProfile; from gbmi.exp_max_of_n import train'
takes about 5--6 secondspoetry run python -c 'import cProfile; cProfile.run("from gbmi.exp_max_of_n import train")'
profile.log
The text was updated successfully, but these errors were encountered: