Skip to content

[Bug] ModuleNotFoundError: No module named 'torch._C._nativert' with recent PyTorch nightly #2631

@dingandchen

Description

@dingandchen

I am encountering a ModuleNotFoundError when trying to run the dynamobench/torchbench.py benchmark with a recent PyTorch nightly build. It seems the internal API torch._C._nativert has been removed or changed in the latest PyTorch versions, causing the import in common.py to fail.

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