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

Don't overwrite sys.excepthook in mlflow logger #3675

Merged
merged 1 commit into from
Oct 22, 2024
Merged

Don't overwrite sys.excepthook in mlflow logger #3675

merged 1 commit into from
Oct 22, 2024

Conversation

dakinggg
Copy link
Contributor

What does this PR do?

The previous PR that added exception hook handling to mlflow just blindly overwrites the existing excepthook. This PR changes that to use the existing excepthook and just add what the mlflow logger needs.

Before: llama-7b-commits-6-D3ipHw (exception is not rich formatted, because systemwide excepthook is not triggered)
After: llama-7b-commits-11-3KdS8L (exception is rich formatted, because systemwide excepthook is triggered)

Note: this is the same as #3672, but off a branch instead of a fork.

@dakinggg dakinggg requested a review from a team as a code owner October 22, 2024 00:22
@dakinggg dakinggg enabled auto-merge (squash) October 22, 2024 00:28
@dakinggg dakinggg merged commit 3af18e5 into main Oct 22, 2024
14 checks passed
@dakinggg dakinggg deleted the error-time branch October 22, 2024 00:38
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.

3 participants