-
Notifications
You must be signed in to change notification settings - Fork 3.1k
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] quantize_dynamic
results in AttributeError: 'NoneType' object has no attribute 'HasField'
#19997
Comments
This issue has been automatically marked as stale due to inactivity and will be closed in 30 days if no further activity occurs. If further support is needed, please provide an update and/or more details. |
Bump |
Not sure if it is the same case, but i bumped into this issue while using SAM. Then found here the solution: facebookresearch/segment-anything#699 |
Any progress on this? I encountered this issue again while trying to export SAM with version 1.19.2. 😭 |
I fixed one wrong assert but the example is working for me with the development version. I still get the warning but no exception. preprocess does not work either but it seems a, independant issue. |
### Description Partial answer to issue #19997. The example succeeds after this change.
@xenova It should be fixed. |
### Description Partial answer to issue microsoft#19997. The example succeeds after this change.
### Description Partial answer to issue microsoft#19997. The example succeeds after this change.
### Description Partial answer to issue microsoft#19997. The example succeeds after this change.
Describe the issue
Versions:
optimum==1.17.1
onnx==1.15.0
Attempting to quantize a new APISR model results in the following error:
NOTE: Downgrading to
onnxruntime<1.16.0
andonnx==1.13.1
seems to work.To reproduce
Download this model:
Attempt to quantize the model
Note: preprocessing doesn't fix this either:
produces
Urgency
Prevents me from upgrading to onnxruntime v1.17.1 to convert transformers.js models.
Platform
Linux
OS Version
Ubuntu 22.04.3 LTS
ONNX Runtime Installation
Released Package
ONNX Runtime Version or Commit ID
1.17.1
ONNX Runtime API
Python
Architecture
X64
Execution Provider
Other / Unknown
Execution Provider Library Version
n/a
The text was updated successfully, but these errors were encountered: