Skip to content

[QUARK-WARNING]: The custom ops library ... custom_ops.dll does NOT exist #19

@bconsolvo

Description

@bconsolvo

When I run:

    quantizer = ModelQuantizer(config)
    quantizer.quantize_model(
        fp32_onnx_path.as_posix(), quant_onnx_path.as_posix(), calib_data_reader
    )

I get the following warning:

[QUARK-WARNING]: The custom ops library C:\Users\bconsolvo\code\sr-sandbox\realesrgan-quant-pipeline-master\.venv\lib\site-packages\quark\onnx\operators\custom_ops\lib\custom_ops.dll does NOT exist.

[QUARK-WARNING]: The custom ops library C:\Users\bconsolvo\code\sr-sandbox\realesrgan-quant-pipeline-master\.venv\lib\site-packages\quark\onnx\operators\custom_ops\lib\custom_ops.dll does NOT exist.

[QUARK-WARNING]: Failed to register custom op library C:\Users\bconsolvo\code\sr-sandbox\realesrgan-quant-pipeline-master\.venv\lib\site-packages\quark\onnx\operators\custom_ops\lib\custom_ops.dll to ORT with [ONNXRuntimeError] : 1 : FAIL : Error loading "C:\Users\bconsolvo\code\sr-sandbox\realesrgan-quant-pipeline-master\.venv\lib\site-packages\quark\onnx\operators\custom_ops\lib\custom_ops.dll" which is missing. (Error 126: "The specified module could not be found."),please check if the library has been compiled successfully.

What is my issue here?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions