Closed craig-clifford closed 2 months ago
It looks like some of the installation steps are missing. Please make sure to follow all the 6 steps here
@craig-clifford please let us know if this is still an issue and re-open after following our install steps for 24.4 🙇 Thanks!
Issue description
Examples do not work on Apple M1 16gb.
Steps to reproduce
(base) ➜ ~ cd max/examples/graph-api/pipelines/llama3 (base) ➜ llama3 git:(main) mojo ../../run_pipeline.🔥 llama3 --prompt "I believe the meaning of life is" Included from /Users/clifford/max/examples/graph-api/pipelines/llama3/../../run_pipeline.🔥:16: /Users/clifford/max/examples/graph-api/pipelines/llama2/run.🔥:21:6: error: unable to locate module 'max' from max.graph.quantization import ( ^ Included from /Users/clifford/max/examples/graph-api/pipelines/llama3/../../run_pipeline.🔥:16: /Users/clifford/max/examples/graph-api/pipelines/llama2/run.🔥:21:10: error: 'graph' does not refer to a nested package from max.graph.quantization import ( ^ Included from /Users/clifford/max/examples/graph-api/pipelines/llama3/../../run_pipeline.🔥:19: Included from /Users/clifford/max/examples/graph-api/pipelines/replit/run.mojo:19: /Users/clifford/max/examples/graph-api/pipelines/replit/model/replit.mojo:17:10: error: from max.graph import ops, Dim, TensorType, Symbol, Graph, Type ^ Included from /Users/clifford/max/examples/graph-api/pipelines/llama3/../../run_pipeline.🔥:19: /Users/clifford/max/examples/graph-api/pipelines/replit/run.mojo:81:15: error: 'Replit[ReplitCheckpoint, float32]' value has no attribute 'build_graph' g = replit.build_graph(