Skip to content

Make the appropriate backend DimensionNode visible to LTC core #77880

@miladm

Description

@miladm

🚀 The feature, motivation and pitch

With the current implementation of DimensionNode in LTC, each backend has its own implementation (PyTorch/XLA, TorchScript).

At the same time, shape inference builds off of LTC core classes leading to this PR failing to build shape inference implementation for expand.SymInt. Please make the appropriate backend DimensionNode visible to LTC core.

Solution alternatives based on offline chat with @Krovatkin.

  • IR core to access the correct backend implementation
  • Use multiple inheritance

CC @wconstab @JackCaoG

Alternatives

No response

Additional context

No response

Metadata

Metadata

Assignees

Labels

lazyLazy Tensor work itemstriagedThis issue has been looked at a team member, and triaged and prioritized into an appropriate module

Type

No type

Projects

Status

In Progress

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions