From 75692603c5b307127ae00dce1dab7877c02ac0a6 Mon Sep 17 00:00:00 2001 From: "Nat Kershaw (MSFT)" Date: Mon, 7 Oct 2024 14:42:38 -0700 Subject: [PATCH] Update troubleshoot.md --- docs/genai/howto/troubleshoot.md | 2 ++ 1 file changed, 2 insertions(+) diff --git a/docs/genai/howto/troubleshoot.md b/docs/genai/howto/troubleshoot.md index 2923e1a292944..fc055754bccff 100644 --- a/docs/genai/howto/troubleshoot.md +++ b/docs/genai/howto/troubleshoot.md @@ -43,6 +43,8 @@ After CUDA toolkit installation completed on windows, ensure that the `CUDA_PATH RuntimeError: [json.exception.type_error.302] type must be string, but is array ``` +Occurs when you generate models with the Model Builder. + There was a change in the HuggingFace transformers version 4.45.0 that caused an incompatibility with onnxruntime-genai versions 0.4.0 and earlier, reasolved in 0.5.0. There are two alternative workarounds that you can employ to fix this issue: - Option 1: downgrade your transformers version to lower than v4.45.0 (which is the version in which the above change was introduced)