python3 ../common/bert-torchscript/download-model.py -o ../../models/bert-mlm.torchscript --mlm
Traceback (most recent call last):
File "/Users/rjackson/git/max/examples/inference/bert-python-torchscript/../common/bert-torchscript/download-model.py", line 23, in
import torch
ModuleNotFoundError: No module named 'torch'
Steps to reproduce
Include relevant code snippet or link to code that did not work as expected.
If applicable, add screenshots to help explain the problem.
Include anything else that might help us debug the issue.
System information
- What OS did you do install MAX on ? 14.4.1 (23E224)/ Apple M2 Pro
- Provide version information for MAX by pasting the output of max -v` max 24.4.0 (59977802)
Modular version 24.4.0-59977802-release
- Provide version information for Mojo by pasting the output of mojo -v` mojo -version
mojo 24.4.0 (59977802)
- Provide Modular CLI version by pasting the output of `modular -v` modular 0.8.0 (39a426b5)
Bug description
bash or zsh run.sh
Steps to reproduce
System information