mlc-llm icon indicating copy to clipboard operation
mlc-llm copied to clipboard

Error:VK_ERROR_INCOMPATIBLE_DRIVER

Open Wings236 opened this issue 1 year ago • 2 comments

my environment is win10 WSL2 Ubuntu22.04, and I follow the command: conda create -n mlc-chat conda activate mlc-chat conda install git git-lfs conda install -c mlc-ai -c conda-forge mlc-chat-nightly mkdir -p dist git lfs install git clone https://huggingface.co/mlc-ai/demo-vicuna-v1-7b-int3 dist/vicuna-v1-7b git clone https://github.com/mlc-ai/binary-mlc-llm-libs.git dist/lib

However, when I complete this command: mlc_chat_cli error happen. image

Wings236 avatar May 02 '23 05:05 Wings236

We have not yet tested vulkan for wsl, but you can directly try windows terminals

tqchen avatar May 02 '23 12:05 tqchen

I had the same error actually in wsl. I should try powershell next time

logan-markewich avatar May 03 '23 16:05 logan-markewich

WSL support for Vulkan is not there yet AFAIK, so please use CMD instead if you want to use Vulkan on Windows

junrushao avatar Jun 05 '23 15:06 junrushao

I had the same error: image

CentOS Linux release 8.0.1905 (Core) 4.18.0-348.7.1.el8_5.x86_64

LiHao217 avatar Sep 04 '23 12:09 LiHao217

I had the same error: image

CentOS Linux release 8.0.1905 (Core) 4.18.0-348.7.1.el8_5.x86_64

Hey were you able to get it working on CentOs?

arif599 avatar Sep 22 '23 22:09 arif599

tvm.error.InternalError: Traceback (most recent call last): 7: tvm::runtime::PackedFuncObj::Extractor<tvm::runtime::PackedFuncSubObj<__mk_TVM1::{lambda(tvm::runtime::TVMArgs, tvm::runtime::TVMRetValue*)#1}> >::Call(tvm::runtime::PackedFuncObj const*, __mk_TVM1, tvm:: runtime::TVMRetValue) 6: tvm::runtime::DeviceAPIManager::GetAPI(int, bool) 5: tvm::runtime::DeviceAPIManager::GetAPI(std::__cxx11::basic_string<char, std::char_traits, std::allocator >, bool) [clone .isra.0] 4: tvm::runtime::PackedFuncObj::Extractor<tvm::runtime::PackedFuncSubObj<tvm::runtime::vulkan::__mk_TVM0::{lambda(tvm::runtime::TVMArgs, tvm::runtime::TVMRetValue*)#1}> >::Call(tvm::runtime::PackedFuncObj co nst*, tvm::runtime::vulkan::__mk_TVM0, tvm::runtime::TVMRetValue) 3: tvm::runtime::vulkan::VulkanDeviceAPI::Global() 2: tvm::runtime::vulkan::VulkanDeviceAPI::VulkanDeviceAPI() 1: tvm::runtime::vulkan::VulkanInstance::VulkanInstance() 0: _ZN3tvm7runtime6deta File "/workspace/tvm/src/runtime/vulkan/vulkan_instance.cc", line 111 InternalError: Check failed: (__e == VK_SUCCESS) is false: Vulkan Error, code=-9: VK_ERROR_INCOMPATIBLE_DRIVER

I'm getting the same error. How do I run this on arch?

Espacio-root avatar Oct 04 '23 13:10 Espacio-root