-
Notifications
You must be signed in to change notification settings - Fork 41
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
tensorflow
pip package version not specifically defined - manual downgrade required for ITEX 1.1.0 & TF 2.11
#31
Comments
@MateuszGrabuszynski For this issue, the installation guide will be updated to fix it. In stock TF 2.12, the plugin device interface is changed. so, the old plugin (like ITEX 1.1) can't work well with TF 2.12. That's why you meet the crash issue.
Issue of Intel Tensorflow mixed with stock Tensorflow:
It's the root cause of this issue.
|
Thank you, that is very helpful, I get it now. :) My suggestion on how to mitigate it better than only a readme note is to bump ITEX 1.1.0 to 1.1.1 and limit Let me put that into the table:
*"known issue" notes needed for |
Yes, this table is full to show the status. In fact, the compatible issue between Tensorflow & ITEX comes from the change of plugin interface in TF 2.12. So, old ITEX (<=1.1) and new TF(>=2.12) have such issue. Thank you! |
The new version is ready: https://intel.github.io/intel-extension-for-tensorflow/latest/docs/install/install_for_xpu.html. Please help to try and feedback to us. thank you! |
On a clean
ubuntu:20.04
container image (afterapt update && apt install python3, python3-pip
); following commands executed in order (based on main README):pip install intel-tensorflow==2.11.0
pip install --upgrade intel-extension-for-tensorflow[cpu]
Result in:
$ pip list
Which is against the Compatibility table with
intel-extension-for-tensorflow==1.1.0
andtensorflow==2.12.0
.This causes issues like mine - sudden
Segmentation Fault
s during the ResNet50 workload execution. And probably also this one (probably not, I missed it was opened last year): intel/ai-reference-models#113. After manually downgrading thetensorflow
package withpip install --upgrade tensorflow==2.11.0
the issue was gone.This issue is not present in
intel/intel-extension-for-tensorflow:cpu
Docker Hub image.Root cause seems to be that not a specific-enough package is required during installation. Reference log:
$ pip install --upgrade intel-extension-for-tensorflow[cpu]
tensorflow>=2.10
could be changed totensorflow>=2.10,<=2.11
if it is knowntensorflow==2.12
is not working properly (see: PEP 440).The text was updated successfully, but these errors were encountered: