이미 이전에 llama 3.1 8B 모델로 양자화도 하고 아티팩트도 만들어서 실행도 확인했었는데요.
해당 모듈을 다시 실행시키니 librenegade.so를 찾을 수 없다는 오류가 발생하고 있습니다.
quickstart.py에 있는 아래 코드를 수행시키면
from furiosa_llm import LLM, SamplingParams
llm = LLM.load_artifact(“furiosa-ai/Llama-3.1-8B-Instruct-FP8”, devices=“npu:0”)
다음과 같은 오류가 발생하고 있습니다.
Exception has occurred: PanicException
calledResult::unwrap()on anErrvalue: Runtime(Npu(Loading(DlOpen { desc: “librenegade.so: cannot open shared object file: No such file or directory” })))
File “/home/elicer/workspace/qickstart.py”, line 5, in
llm = LLM.load_artifact(“furiosa-ai/Llama-3.1-8B-Instruct-FP8”, devices=“npu:0”)
pyo3_runtime.PanicException: calledResult::unwrap()on anErrvalue: Runtime(Npu(Loading(DlOpen { desc: “librenegade.so: cannot open shared object file: No such file or directory” })))
현재 환경은 아래와 같습니다.
(llama_ve310) (base) elicer@2481b7b6a418:/usr/local/lib$ pip list | grep furiosa
furiosa-llm 2025.3.1
furiosa-llm-models 2025.3.0
furiosa-model-compressor 2025.3.0
furiosa-model-compressor-impl 2025.3.0
furiosa-models-lang 2025.3.0
furiosa-native-compiler 2025.3.1
furiosa-native-llm-common 2025.3.1
furiosa-native-runtime 2025.3.1
furiosa-smi-py 2025.3.0
furiosa-torch-ext 2025.3.1
(llama_ve310) (base) elicer@2481b7b6a418:/usr/local/lib$ dpkg -l | grep furiosa
ii furiosa-compiler 2025.3.0-3 amd64 FuriosaAI NPU Compiler for DNN models
ii furiosa-driver-rngd 2025.3.0-3 amd64 FuriosaAI Renegade driver
ii furiosa-libsmi 2025.3.0-3 amd64 Furiosa AI’s System Management Interface
ii furiosa-pert-rngd 2025.3.0-3 amd64 Furiosa AI PERT for RNGD
ii furiosa-smi 2025.3.0-3 amd64 Furiosa AI’s System Management Interface CLI
ii furiosa-toolkit 0.11.0-3 amd64 Furiosa AI’s NPU management tools
librenegade.so를 찾아보니 해당 파일이 없어서.. gpt에 문의해 보니 furiosa-runtime 또는 furiosa-runtime-rngd를 설치하라고 해서.
sudo apt install furiosa-driver-rngd furiosa-pert-rngd
위의 명령을 수행시키면 아래와 같은 상태인데요
(llama_ve310) (base) elicer@2481b7b6a418:~/workspace$ sudo apt install furiosa-driver-rngd furiosa-pert-rngd
Reading package lists… Done
Building dependency tree… Done
Reading state information… Done
furiosa-pert-rngd is already the newest version (2025.3.1-3).
furiosa-driver-rngd is already the newest version (2025.3.1-3).
0 upgraded, 0 newly installed, 0 to remove and 214 not upgraded.
여러 작업을 시도하다 보니 메시지가 아래와 같이 변경된 상태입니다.
Exception has occurred: RuntimeError
Error: “libfuriosa_hal.so: cannot open shared object file: No such file or directory”
File “/home/elicer/workspace/qickstart.py”, line 2, in
from furiosa_llm import LLM, SamplingParams
RuntimeError: Error: “libfuriosa_hal.so: cannot open shared object file: No such file or directory”
이전에는 artfact 로드할 때 librenegade.so 가 없다고 오류가 나더니 지금은 furiosa_llm을 import할 때 오류가 발생하고 있습니다.
어떻게 처리해야 할까요?
