Skip to content
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

no distribution dependencies found for XPU or CPU in Ubuntu 24.04 #82

Open
rcghpge opened this issue Nov 25, 2024 · 4 comments
Open

no distribution dependencies found for XPU or CPU in Ubuntu 24.04 #82

rcghpge opened this issue Nov 25, 2024 · 4 comments
Assignees
Labels

Comments

@rcghpge
Copy link

rcghpge commented Nov 25, 2024

Hey Intel, are there packages and dependencies for Ubuntu 24.04 LTS or are the XPU, CPU, libraries for Tensorflow only available in Ubuntu 22.04 LTS? I am having issues setting up my workflow environment. All goods though thanks

@yinghu5
Copy link

yinghu5 commented Nov 28, 2024

Hi Rcghpge,

thank you a lot for raising the issue. Could you please share your XPU type and the exact error message if you are seeing?

@yinghu5 yinghu5 added the aitce label Nov 28, 2024
@yinghu5 yinghu5 self-assigned this Nov 28, 2024
@rcghpge
Copy link
Author

rcghpge commented Nov 28, 2024

Hi Rcghpge,

thank you a lot for raising the issue. Could you please share your XPU type and the exact error message if you are seeing?

I cannot reproduce my results and provide the necessary documentation sources at the moment. It is the holiday season here so it is a bit hectic lol. I do have an image of the dependencies I attempted to install. Another search result I found for Intel mentions oneAPI and oneDNN. Will these dependencies be stable for my current Tensforflow Keras workflow? I want to run 2 Intel processors a CPU and GPU concurrently with a 3rd party company's GPU. Here is what I have so far but I can see if I can reference the docs. image

@yinghu5
Copy link

yinghu5 commented Nov 28, 2024

Hi rcghpge,

Thank you for quick response in the holiday!

You may had known Ubuntu 24.04 is not in Intel extension for tensorflow's supported matrix : https://intel.github.io/intel-extension-for-tensorflow/latest/docs/install/install_for_cpu.html#hardware-requirements

Anyway i did quick try on one machine and follow the step
CPU: (https://intel.github.io/intel-extension-for-tensorflow/latest/docs/install/install_for_cpu.html)

wget https://github.com/conda-forge/miniforge/releases/download/24.9.2-0/Miniforge-pypy3-24.9.2-0-Linux-x86_64.sh
   bash ./Miniforge-pypy3-24.9.2-0-Linux-x86_64.sh
   exit
 ## enter again with base environment
    conda create -n tf python=3.10
    conda activate tf
   pip install tensorflow==2.15.0
   pip install --upgrade intel-extension-for-tensorflow[cpu]
  python -c "import intel_extension_for_tensorflow as itex; print(itex.__version__)"

It seems works fine with CPU
Could you please tell what is GPU type by command,

lspci | grep "VGA"
as GPU install will depend on driver and oneAPI etc , so will try after your feedback, and the
GPU install guide : https://intel.github.io/intel-extension-for-tensorflow/latest/docs/install/install_for_xpu.html

image

@rcghpge
Copy link
Author

rcghpge commented Nov 28, 2024

I'll review the docs and go from there. This should work thanks a bunch Intel!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants