-
Notifications
You must be signed in to change notification settings - Fork 2.4k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[Bug]: Why the input of int64 automatically converted to int32 when the model is loaded? #24072
Comments
Hello, |
What happens if I delete the conver precision for i64->i32? |
Various issues may arise during the compilation and execution of the graph, depending on the model. Even if graph will be successfully compiled end inferred, the CPU's nodes will perform an internal conversion i64->i32. |
I notice that you have some development branch as support i64, such as cpu/i64/proto, Do any of these branches meet my needs? How should I use it if supported? For example, how to configure parameters when starting tritonserver? |
Yes, you can use this branch for i64. Just set enableNativeI64 to True here. Also take into account that it has quite old base (more than one year). |
Closing this, I hope previous responses were sufficient to help you proceed. Feel free to reopen and ask additional questions related to this topic. |
OpenVINO Version
2024.0.0
Operating System
Ubuntu 20.04 (LTS)
Device used for inference
CPU
Framework
ONNX
Model used
TFRA
Issue description
I work on an extension. The input must be int64. But when I debug it, I find that the input will be converted to int32. Is there any special mechanism to control it? I have observed that the validate_and_infer_types function is called many times. May I ask where in ov will this function of the extension plugin be called at runtime? And from the log I printed, the first few times the input is still int64, but later it becomes int32, which is very confusing.
![image](https://private-user-images.githubusercontent.com/24861783/323121787-9117d120-979f-4605-9aa6-29aaadb9dfed.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3Mzg5MTE0ODksIm5iZiI6MTczODkxMTE4OSwicGF0aCI6Ii8yNDg2MTc4My8zMjMxMjE3ODctOTExN2QxMjAtOTc5Zi00NjA1LTlhYTYtMjlhYWFkYjlkZmVkLnBuZz9YLUFtei1BbGdvcml0aG09QVdTNC1ITUFDLVNIQTI1NiZYLUFtei1DcmVkZW50aWFsPUFLSUFWQ09EWUxTQTUzUFFLNFpBJTJGMjAyNTAyMDclMkZ1cy1lYXN0LTElMkZzMyUyRmF3czRfcmVxdWVzdCZYLUFtei1EYXRlPTIwMjUwMjA3VDA2NTMwOVomWC1BbXotRXhwaXJlcz0zMDAmWC1BbXotU2lnbmF0dXJlPTBhODE2YzJlZWQwNTMyZDczMTJhODU2NGU0ZWI5ODc5ZDJhM2JhYjRkNjFjMWIzMTcwYzdlNmFkYzRkYjZiMTgmWC1BbXotU2lnbmVkSGVhZGVycz1ob3N0In0.UvvWv4tebBoXPj_8bdcEh_DENxXvXuQLLwto_rUZ-e8)
Step-by-step reproduction
No response
Relevant log output
No response
Issue submission checklist
The text was updated successfully, but these errors were encountered: