Skip to content

[BUG] - miissed onnxruntime dependency #3027

@labintsev

Description

@labintsev

Link

https://pytorch.org/tutorials/beginner/onnx/intro_onnx.html#dependencies

Bug

The ONNX exporter depends on extra Python packages: onnx, onnxscript and onnxruntime.
But in tutorial there are only onnx and onnxscript.
May be in some versions onnxruntime installing implicitly, but in my environment it does not.

I think we need explicit list of dependencies in text and in code
pip install onnx onnxscript onnxruntime

Environment

Platform: windows
Cuda: No
python: 3.11
Pytorch: 2.3.0+cpu
onnxscript: 0.1.0.dev20240903
onnxruntime: 1.19.0

cc @xadupre

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugonnxIssues relating to ONNX

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions