Open Seyamalam opened 2 months ago
Hi @Seyamalam , thanks for creating issue . Could you please share your OS details and modular --version output , also which version of Mojo are you on ?
$ modular -v modular 0.7.1 (28ddab26)
$ mojo -v mojo 24.2.1 (2f0dcf11)
Distributor ID: Ubuntu Description: Ubuntu 20.04.6 LTS Release: 20.04 Codename: focal
Hi @Seyamalam , we have fixed compatibility issues in llama2.mojo Could you please try now ? Just pull latest changes from llama2 repo . Thanks
When running the bash build_all.sh command most of them are building but mojo is giving an error, $ bash build_all.sh /workspaces/lamatune/bench /workspaces/lamatune/bench /opt/homebrew/opt/llvm/bin/clang -Ofast -fopenmp -march=native run.c -lm -o run make: /opt/homebrew/opt/llvm/bin/clang: Command not found make: *** [Makefile:36: runomp] Error 127 gcc -Ofast -o run run.c -lm gcc -Ofast -o runq runq.c -lm /workspaces/lamatune/llama2.mojo/llama2.mojo:2:47: error: package 'algorithm' does not contain 'unroll' from algorithm import vectorize, parallelize, unroll ^ /workspaces/lamatune/llama2.mojo/llama2.mojo:173:18: error: no matching function in call to 'memcpy' memcpy[UInt8](str, s1, l1)