Skip to content

Conversation

@IlyasMoutawwakil
Copy link
Member

@IlyasMoutawwakil IlyasMoutawwakil commented Oct 16, 2025

fix #83 and #84

@HuggingFaceDocBuilderDev

The docs for this PR live here. All of your documentation changes will be reflected on that endpoint. The docs are available until 30 days after the last update.

@IlyasMoutawwakil IlyasMoutawwakil marked this pull request as ready for review October 16, 2025 06:29
@IlyasMoutawwakil IlyasMoutawwakil merged commit cc685ec into main Oct 16, 2025
36 checks passed
@IlyasMoutawwakil IlyasMoutawwakil deleted the torch-2.9-support branch October 16, 2025 08:44
IlyasMoutawwakil added a commit that referenced this pull request Oct 16, 2025
if is_torch_version("<", "2.9"):
from torch.onnx.symbolic_opset14 import _onnx_symbolic, jit_utils, symbolic_helper
else:
from torch.onnx._internal.torchscript_exporter.symbolic_opset14 import _onnx_symbolic, jit_utils, symbolic_helper
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Avoid importing internals if possible? I can do a clean up in a bit

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

this was the cleanest way to add ior support

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

ImportError with Torch 2.9.0 / CUDA 12.8 when running ONNX export

4 participants