M
Modular•7mo ago
BrunoA

How to Install Mojo previous versions?

Hi everyone, I would like to test llama2.mojo , but it is not working with the latest mojo 24.3.0 . The recommended version from https://github.com/tairov/llama2.mojo?tab=readme-ov-file is 24.2.1 . How can I control the mojo version? I just created a new venv, and tried %modular install mojo==24.2.1 ; but it is not working.
GitHub
GitHub - tairov/llama2.mojo: Inference Llama 2 in one file of pure ...
Inference Llama 2 in one file of pure 🔥. Contribute to tairov/llama2.mojo development by creating an account on GitHub.
5 Replies
BrunoA
BrunoAOP•7mo ago
This [BUG] report is just about that: https://github.com/modularml/mojo/issues/1887
GitHub
[BUG]: regression with modular install --install-version · Issue #1...
Bug description --install-version was added to support version pinning of mojo, ex: in CI/CD environments. I have been using this successfully in the mojo-pytest project. With 24.1 this version pin...
BrunoA
BrunoAOP•7mo ago
Also here, https://github.com/modularml/mojo/issues/1405 it is reported that this would work: % modular install --install-version 24.2.1 mojo
GitHub
[Modular CLI]: modular install mojo should support version pinning ...
Issue description I cannot figure out how to install a specific version of mojo. This would be useful, essential really, for library maintainers and CI/CD systems. Steps to reproduce $ modular inst...
BrunoA
BrunoAOP•7mo ago
but it is not. It seems we need the "fully qualified versions" , something like % modular install mojo --install-version 24.1.0-55ec12d6-release But, where to get the "fully qualified versions" ? (In my case, I need the 24.2.1 )
Aydyn
Aydyn•7mo ago
Hi @BrunoA , I know you got a few errors when trying to run the llama2.🔥 , I merged a PR that adds support for Mojo v24.3, please pull latest changes from master branch. Thanks!
BrunoA
BrunoAOP•7mo ago
Great! It is working now. Thank you!
Want results from more Discord servers?
Add your server