Closed dakinggg closed 4 months ago
In order for our custom exceptions to propagate correctly from a multiprocessing context, they need to be serializable. This PR does that, and adds a unit test to confirm that all our custom exceptions are serializable.
Based on https://github.com/mosaicml/llm-foundry/pull/1233
In order for our custom exceptions to propagate correctly from a multiprocessing context, they need to be serializable. This PR does that, and adds a unit test to confirm that all our custom exceptions are serializable.
Based on https://github.com/mosaicml/llm-foundry/pull/1233