intel-analytics / ipex-llm

Accelerate local LLM inference and finetuning (LLaMA, Mistral, ChatGLM, Qwen, Baichuan, Mixtral, Gemma, Phi, MiniCPM, etc.) on Intel XPU (e.g., local PC with iGPU and NPU, discrete GPU such as Arc, Flex and Max); seamlessly integrate with llama.cpp, Ollama, HuggingFace, LangChain, LlamaIndex, GraphRAG, DeepSpeed, vLLM, FastChat, Axolotl, etc.
Apache License 2.0
6.56k stars 1.25k forks source link

Facing issue when install this library : "python3.9 -m pip install --ignore-installed PyYAML --pre --upgrade bigdl-chronos[pytorch]==2.4.0" #10512

Closed SjeYinTeoIntel closed 6 months ago

SjeYinTeoIntel commented 6 months ago

image

We are trying to install this library.

python3.9 -m pip install --ignore-installed PyYAML --pre --upgrade bigdl-chronos[pytorch]==2.4.0 but seeing issue above when install this library. It is working previously. We are using bigdlspark==2.4.0 version. Without above library, will causing this error: ImportError: cannot import name 'TCNForecaster' from 'bigdl.chronos.forecaster' (/usr/local/lib/python3.9/dist-packages/bigdl/chronos/forecaster/init.py) Is this library no longer exist?

plusbang commented 6 months ago

I could not reproduce this installation error when I directly run python3.9 -m pip install --ignore-installed PyYAML --pre --upgrade bigdl-chronos[pytorch]==2.4.0. But this error seems to be caused by numpy version. You could try python3.9 -m pip install --ignore-installed PyYAML bigdl-chronos[pytorch]==2.4.0 instead.

SjeYinTeoIntel commented 6 months ago

Hi, Thanks for it. it works with python3.9 -m pip install --ignore-installed PyYAML bigdl-chronos[pytorch]==2.4.0.