openvino icon indicating copy to clipboard operation
openvino copied to clipboard

[Bug]: No translation for torch.sym_float

Open saeekailas opened this issue 1 week ago • 0 comments

OpenVINO Version

-- OpenVINO version is 2027.0.0 (Build 24075)

Operating System

Ubuntu 18.04 (LTS)

Device used for inference

CPU

Framework

PyTorch

Model used

No response

Issue description

torch.sym_float has no translation in the PyTorch frontend. When a model calls it on a dynamic dimension, torch.export works but ov.convert_model fails with "No conversion rule found for operations: sym_float".

I expected the model to convert and match PyTorch at other batch sizes.

This blocks the export of Deformable DETR, FocalNet, Mask2Former and DeepSeek-OCR2 (item 1 in https://github.com/huggingface/transformers/issues/51306) I'm working on a fix.

Step-by-step reproduction

No response

Relevant log output


Issue submission checklist

  • [x] I'm reporting an issue. It's not a question.
  • [x] I checked the problem with the documentation, FAQ, open issues, Stack Overflow, etc., and have not found a solution.
  • [x] There is reproducer code and related data files such as images, videos, models, etc.

saeekailas avatar Nov 27 '26 07:11 saeekailas