Error executing model on latest onnxruntime (hybrid-llm-deepseek-Feb05.zip)

#1
by apaan21 - opened

I am using onnx library from amd website (hybrid-llm-deepseek-Feb05.zip). Running this model gives me this error:

2025-02-25 07:48:07.5605850 [E:onnxruntime:onnxruntime-genai, inference_session.cc:2118 onnxruntime::InferenceSession::Initialize::<lambda_2e2e8ce9a48d8a41c3928349a8546261>::operator ()] Exception during initialization: invalid unordered_map<K, T> key
Traceback (most recent call last):
  File "C:\Users\uyun\Documents\llm\hybrid-llm-deepseek-Feb05\examples\python\llama3\run_model.py", line 78, in <module>    model = model_load(args.model_dir)
  File "C:\Users\uyun\Documents\llm\hybrid-llm-deepseek-Feb05\examples\python\llama3\run_model.py", line 7, in model_load
    model = og.Model(model_dir)
onnxruntime_genai.onnxruntime_genai.OrtException: Exception during initialization: invalid unordered_map<K, T> key
AMD org

Hi @apaan21 what are you trying ?
can you please clearly write ?

Sign up or log in to comment