openvino
openvino copied to clipboard
[Bug]: No translation for torch.sym_float
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.