You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Oct 25, 2024. It is now read-only.
And when got this message:
[09:28] Tamir, Guy
(itrex-rag) intel@intel-NUC12SNKi72:~/itrex$ pip install -v .
Using pip 23.3.1 from /home/intel/anaconda3/envs/itrex-rag/lib/python3.9/site-packages/pip (python 3.9)
Processing /home/intel/itrex
Running command python setup.py egg_info
Traceback (most recent call last):
File "<string>", line 2, in <module>
File "<pip-setuptools-caller>", line 34, in <module>
File "/home/intel/itrex/setup.py", line 56, in <module>
if ipex_available and (get_gpu_family() != "no_gpu"):
File "/home/intel/itrex/setup.py", line 26, in get_gpu_family
import torch
File "/home/intel/anaconda3/envs/itrex-rag/lib/python3.9/site-packages/torch/__init__.py", line 235, in <module>
from torch._C import * # noqa: F403
Flow in RAG example does not work..
I'll be following the instructions as in here: https://github.com/intel/intel-extension-for-transformers/tree/main/intel_extension_for_transformers/neural_chat/examples/quick_start/rag
intel-extension-for-transformers/intel_extension_for_transformers/neural_chat/examples/quick_start/rag at main · intel/intel-extension-for-transformers
And when got this message:
[09:28] Tamir, Guy
(itrex-rag) intel@intel-NUC12SNKi72:~/itrex$ pip install -v .
Using pip 23.3.1 from /home/intel/anaconda3/envs/itrex-rag/lib/python3.9/site-packages/pip (python 3.9)
Processing /home/intel/itrex
Running command python setup.py egg_info
Traceback (most recent call last):
ImportError: /home/intel/anaconda3/envs/itrex-rag/lib/python3.9/site-packages/torch/lib/libtorch_cpu.so: undefined symbol: iJIT_NotifyEvent
error: subprocess-exited-with-error
× python setup.py egg_info did not run successfully.
│ exit code: 1
╰─> See above for output.
note: This error originates from a subprocess, and is likely not a problem with pip.
full command: /home/intel/anaconda3/envs/itrex-rag/bin/python -c '
exec(compile('"'"''"'"''"'"'
This is -- a caller that pip uses to run setup.py
- It imports setuptools before invoking setup.py, to enable projects that directly
import from
distutils.core
to work with newer packaging standards.- It provides a clear error message when setuptools is not installed.
- It sets
sys.argv[0]
to the underlyingsetup.py
, when invokingsetup.py
sosetuptools doesn'"'"'t think the script is
-c
. This avoids the following warning:manifest_maker: standard file '"'"'-c'"'"' not found".
- It generates a shim setup.py, for handling setup.cfg-only projects.
import os, sys, tokenize
try:
except ImportError as error:
file = %r
sys.argv[0] = file
if os.path.exists(file):
else:
exec(compile(setup_py_code, filename, "exec"))
'"'"''"'"''"'"' % ('"'"'/home/intel/itrex/setup.py'"'"',), "", "exec"))' egg_info --egg-base /tmp/pip-pip-egg-info-3lcxp8hp
cwd: /home/intel/itrex/
Preparing metadata (setup.py) ... error
error: metadata-generation-failed
× Encountered error while generating package metadata.
╰─> See above for output.
note: This is an issue with the package mentioned above, not pip.
hint: See above for details.
Running on Ubuntu 22, trying to make it work for A770
The text was updated successfully, but these errors were encountered: