Closed pinkli closed 1 year ago
I can't find any resource regarding the "custom_op_cliptok.onnx" file. Where can I download another one, or build one, any links?
here is why the error I guess:
I built the ortextensions.dll from source, where the CLIPTokenizer model expects 3 outputs:input_ids, attention_mask and offset_mapping
. But the custom_op_cliptok.onnx
model in this repo, has just two outputs input_ids, attention_mask
, so the exeption
has output size 2 not in range [min=3, max=3]
So the solution maybe rebuilding this onnx model using the latest code, as https://github.com/microsoft/onnxruntime-extensions/blob/main/test/test_cliptok.py
I'll try this another day.
the stack is:
on Windows 10, dotnet SDK 7.0, on branch
direct-ML-EP
I built the ortextension.dll from source, as solving issue #4