apex icon indicating copy to clipboard operation
apex copied to clipboard

Avoid importing apex transformer automatically

Open nWEIdia opened this issue 1 year ago • 0 comments

and make error message more clear when apex.transformer is explicitly called on unsupported platform

In some configurations, pytorch may not be built with distributed support. So we avoid the auto import of transformer, which calls torch.distributed api explicitly.

nWEIdia avatar May 08 '24 21:05 nWEIdia