You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Enhance exceptions in process allocation and setup (#339)
Summary:
Pull Request resolved: #339
When working on pretraining on CPU machines, I ran into a couple issues that were made
easier by these changes:
* When task group allocation fails, the error message was too terse, and didn't include all the context. Use `{:#}` to select the more-context print of anyhow::Error
* Add one layer of context to narrow down the path better along mast process allocation
* Add an exception that will catch when the `__init__` of an actor fails and doesn't instantiate the instance correctly
Reviewed By: shayne-fletcher
Differential Revision: D77322952
fbshipit-source-id: 9372cc423a158a6f4538356746500918349692b1
0 commit comments