ModularM
Modular15mo ago
4 replies
suri

Error running https://builds.modular.com/builds/llama3/python example

Hi I am trying out one of the examples per https://builds.modular.com/builds/llama3/python. I followed all the instructions on the page and in addition after CD ing into the pipelines/python folder I ran the "magic shell" to activate the environment. However I am stuck with the following error:

None of PyTorch, TensorFlow >= 2.0, or Flax have been found. Models won't be available and only tokenizers, configuration and file/data utilities can be used.
...
ValueError: cannot reshape array of size 12679776 into shape (4096,11760)
A showcase of how to solve common AI problems, including LLMs, GenAI, vision, recommenders and more in the most performant way possible using the power of Mojo and Max.
Was this page helpful?