Skip to content

[zero3] apex was installed without --cpp_ext. Falling back to Python flatten and unflatten. #877

Closed

Description

@stas00

Running on one setup the current master I get:

[2021-03-18 22:12:42,472] [WARNING] [stage3.py:34:<module>] apex was installed without --cpp_ext.  
Falling back to Python flatten and unflatten.

Is it using a previously installed apex, or an apex comes with DeepSpeed and what needs to be done to make it fast?

I don't see apex already installed on that setup. And I'm not using it in the ds config file.

Thank you.

Activity

  1. stas00 commented on Apr 1, 2021

    @stas00
    CollaboratorAuthor

    It's because try doesn't check if apex is even installed before checking for apex_C. So it needs to be fixed.

    However we are discussing removing this code altogether at #910 (comment) which would close this issue.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions