containers / ramalama

The goal of RamaLama is to make working with AI boring.
MIT License
284 stars 49 forks source link

Made run and serve consistent with model exec path. Fixes issue #413 #426

Closed bmahabirbu closed 3 weeks ago

bmahabirbu commented 3 weeks ago

Here is the fix that worked for me

I commented out these lines

        # if args.container:
        #     model_path = mnt_file

Which made model path = /mnt/models/model.file and ported code from serve into run function for consistency Fixes this issue I was having https://github.com/containers/ramalama/issues/413