ipex-llm
ipex-llm copied to clipboard
Issue with Windows Quickstart Guide.
Not sure where else to mention this -- the windows quickstart guide worked a dream up until actually running the demo.py
for both hf and ModelScope. The issue I continually ran into was:
"ImportError: This modeling file requires the following packages that were not found in your environment: transformers_stream_generator. Run `pip install transformers_stream_generator`"
I did a bit of googling which recommended that I downgrade transformers to anything pre 4.37. I did so (ending up with 4.36.2), and that seemed to resolve the issue which let the sample code run. Hooray!
Not sure at which step I ended up loading an incompatible version of transformers, but wanted to mention it here since a search of existing issues didn't seem to cover it already.