Skip to content

Conversation

@chensuyue
Copy link
Contributor

@chensuyue chensuyue commented Dec 19, 2022

Type of Change

bug fix

Description

Some numpy dtype are deprecated, need to update.

numpy version with issue

https://pypi.org/project/numpy/1.24.0/

detail error log

https://dev.azure.com/lpot-inc/neural-compressor/_build/results?buildId=6500&view=logs&j=aff40fc6-1d0e-52aa-b4b9-bb1d69413565&t=703464d3-22ee-50e8-40c6-50824d22184f
"module 'numpy' has no attribute 'float'"

Expected Behavior & Potential Risk

CI pass

How has this PR been tested?

CI test

Dependency Change?

No

@chensuyue chensuyue added the bug fix Something isn't working label Dec 19, 2022
@chensuyue chensuyue changed the title limited the numpy version temperately due to the issue of latest numpy version update numpy dtype Dec 19, 2022
Signed-off-by: chensuyue <suyue.chen@intel.com>
@chensuyue
Copy link
Contributor Author

baseline run with master, it is reasonable to be failed.

@chensuyue chensuyue merged commit d1c6b4d into master Dec 19, 2022
@chensuyue chensuyue deleted the numpy_version branch December 19, 2022 08:09
zehao-intel pushed a commit that referenced this pull request Dec 20, 2022
Signed-off-by: chensuyue <suyue.chen@intel.com>
Signed-off-by: zehao-intel <zehao.huang@intel.com>
VincyZhang pushed a commit that referenced this pull request Feb 12, 2023
* reorg getting logical tensors

* split llga info

* add llga test

* fix error

* fix inplace

* move llga enbale

* add softmax llga test

* clean code

* clean code2

* add binary llga op test

* clean code

* modify datatype

* clean code
yiliu30 added a commit that referenced this pull request Oct 27, 2025
* pass dtype to scalar

---------

Signed-off-by: Yi Liu <yiliu4@habana.ai>
Co-authored-by: Yi Liu <yiliu4@habana.ai>
This was referenced Dec 9, 2025
xin3he pushed a commit that referenced this pull request Jan 6, 2026
* pass dtype to scalar

---------

Signed-off-by: Yi Liu <yiliu4@habana.ai>
Co-authored-by: Yi Liu <yiliu4@habana.ai>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bug fix Something isn't working

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants