aespeiuk
aespeiuk
MModular
Created by aespeiuk on 6/9/2024 in #questions
max modules import error while running bert python torch script
>>bash run.sh
+ INPUT_EXAMPLE='Paris is the [MASK] of France.' + MODEL_PATH=../../models/bert-mlm.torchscript ++ dirname run.sh + cd . + python3 ../common/bert-torchscript/download-model.py -o ../../models/bert-mlm.torchscript --mlm Downloading model... Saving model in TorchScript format... '../../models/bert-mlm.torchscript' already exists. + python3 simple-inference.py --text 'Paris is the [MASK] of France.' --model-path ../../models/bert-mlm.torchscript Traceback (most recent call last): File "/Users/aespei/Downloads/Mojo1/max/examples/inference/bert-python-torchscript/simple-inference.py", line 14, in <module> from max import engine ImportError: cannot import name 'engine' from 'max' (unknown location)
2 replies
MModular
Created by aespeiuk on 6/9/2024 in #questions
error running bash run.sh after installing max
error running bash run.sh after installing max it says >>bash run.sh
+ INPUT_EXAMPLE='Paris is the [MASK] of France.' + MODEL_PATH=../../models/bert-mlm.torchscript ++ dirname run.sh + cd . + python3 ../common/bert-torchscript/download-model.py -o ../../models/bert-mlm.torchscript --mlm Downloading model... Saving model in TorchScript format... '../../models/bert-mlm.torchscript' already exists. + python3 simple-inference.py --text 'Paris is the [MASK] of France.' --model-path ../../models/bert-mlm.torchscript Traceback (most recent call last): File "/Users/aespei/Downloads/Mojo1/max/examples/inference/bert-python-torchscript/simple-inference.py", line 14, in <module> from max import engine ImportError: cannot import name 'engine' from 'max' (unknown location)
2 replies
MModular
Created by aespeiuk on 5/16/2024 in #questions
MAC Docker Setup - Could someone help with it?
Hi, I have been trying to setup a docker with Modular and it gives a lot of trouble after installing. I'm done installing missing ones manually. Has someone setup a docker lately? I mean very recently..
6 replies