Skip to content

ORT nightly version 1.11.0.dev20220311003 supports numpy <= 1.21 #10939

@hwangdeyu

Description

@hwangdeyu

Describe the bug:
Tried to validate ORT nightly version 1.11.0.dev20220311003, but it only supports numpy version >= 1.21.0 when we run the install command.
However, many of the tf2onnx ci tests were failed, cause it cannot convert a symbolic Tensor (x:0) to a numpy array with numpy version 1.21.x.
stackoverflow: Cannot convert a symbolic Tensor (2nd_target:0) to a numpy array
TF github issue: Cannot convert a symbolic Tensor (strided_slice:0) to a numpy array.
So I want to know if is it possible to support numpy == 1.19.x in ORT version 1.11.0?

System information:
OS Platform and Distribution (e.g., Linux Ubuntu 16.04): Linux Ubuntu 20.04
ONNX Runtime installed from (source or binary): pip install --index-url https://test.pypi.org/simple/ ort-nightly==1.11.0.dev20220311003
ONNX Runtime version: ort-nightly 1.11.0.dev20220311003
Python version: Python 3.7
Tensorflow version: 2.x

Expected behavior
It can support numpy == 1.19.x.

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