Skip to content

Commit

Permalink
Update troubleshoot.md
Browse files Browse the repository at this point in the history
  • Loading branch information
natke authored Oct 7, 2024
1 parent b4b660f commit 7569260
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions docs/genai/howto/troubleshoot.md
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit 7569260

Please sign in to comment.