Skip to content

Allow DeepSpeed init to accept dictionary instead of args #81

Closed

Description

@jeffra

We should remove the need for args to be passed to deepspeed init, ideally we should accept a dictionary which represents everything so we can write smaller tests.

Activity

  1. added
    enhancement
    on Feb 14, 2020
  2. jackshi0912 commented on Feb 20, 2020

    @jackshi0912

    +1
    It would be better if init could ask the data it needs instead of handling file I/O and looking for params in args. Some systems may use very special methods to load yaml, json, protobuf, etc. into memory for initialization and configuration.

  3. jeffra commented on Feb 20, 2020

    @jeffra
    CollaboratorAuthor

    In the process of implementing this enhancement we will consider removing the --deepspeed flag since this is not used internally in DeepSpeed code. It should be up to the user if they want to implement a DeepSpeed and non-DeepSpeed version of their code controlled by a flag.

  4. added a commit that references this issue on Sep 2, 2020
  5. linked a pull request that will close this issueSupport initialization with dict configuration #632on Jan 6, 2021
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

    enhancement

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions