Skip to content

[Training] ImportError: ../python3.10/site-packages/onnxruntime/training/ortmodule/torch_cpp_extensions/torch_interop_utils.cpython-310-x86_64-linux-gnu.so: undefined symbol: _ZTIN5torch8autograd6PyNodeE #198

Description

@lvhoaa

Describe the issue

Problem with ORTModule.

I was able to config with

python -m torch_ort.configure

but when execute, I have the ImportError.

ImportError: ../python3.10/site-packages/onnxruntime/training/ortmodule/torch_cpp_extensions/torch_interop_utils.cpython-310-x86_64-linux-gnu.so: undefined symbol: _ZTIN5torch8autograd6PyNodeE

Versions:
torch: 2.7.0+cu118
python: 3.10
torch-ort: 1.19.2
onnxruntime-training: 1.19.2+cu118
g++/gcc: 8.5

Urgency

Very urgent.

ONNX Runtime Installation

Released Package

ONNX Runtime Version or Commit ID

1.19.2

PyTorch Version

2.7.0+cu118

Execution Provider

CUDA

Execution Provider Library Version

CUDA 11.8

@baijumeswani

Activity

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