Skip to content

[RFC] Rename DLContext to DLDevice #61

@icemelon

Description

@icemelon

This RFC proposes to rename the DLContext to DLDevice. DLContext indicates a device for Tensor and ops. Two main reasons for this change:

  • The "DLContext" name doesn’t intuitively reflect its semantics of a device.
  • Mainstream frameworks including TensorFlow and PyTorch both use device to represent the device to run. I think it’d be good that we use similar terminology to reduce the confusion.

This change will require downstream projects to change accordingly. Feel free to bring up your thoughts and concerns.

Meanwhile, we have a similar RFC for the name change in TVM discuss forum.

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