intel-analytics / ipex-llm

Accelerate local LLM inference and finetuning (LLaMA, Mistral, ChatGLM, Qwen, Baichuan, Mixtral, Gemma, Phi, etc.) on Intel CPU and GPU (e.g., local PC with iGPU, discrete GPU such as Arc, Flex and Max); seamlessly integrate with llama.cpp, Ollama, HuggingFace, LangChain, LlamaIndex, DeepSpeed, vLLM, FastChat, Axolotl, etc.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

need an easy way to roll back driver installs

donbright opened this issue · comments

It would be very helpful to users to have an easy way to uninstall the drivers.

I was trying to follow https://ipex-llm.readthedocs.io/en/latest/doc/LLM/Quickstart/install_linux_gpu.html and my system became unstable after installing the drivers, in fact it would not stay up more than a few minutes without the entire machine hard locking.

Trying to uninstall the drivers 'manually' resulted in a system that won't boot correctly. I will have to rebuild and probably reinstall the OS.

The packages in our guide are all installed using apt, you can uninstall them using apt again.
Maybe you can look this blog for help https://www.cyberciti.biz/howto/debian-linux/ubuntu-linux-rollback-an-apt-get-upgrade/

the instructional site that i link to does not just use apt, it also installs custom apt sources for intel and its difficult to tell which packages are from that intel site versus from ubuntu.

it would be easier to have an uninstall script or at least a warning up top that it can cause your machine to become unusable. (+ advice to use a Timeshift save point or something similar)

Which package is not installed with apt install? Only conda, but conda is installed to your home dir, it won't affect your operating system.
Maybe we can advice users to backup their package list with apt-clone before they start the installation.