mlem
mlem copied to clipboard
🐶 A tool to package, serve, and deploy any ML model on any platform. Archived to be resurrected one day🤞
You can have a model without args: ```py from mlem.api import save, load_meta import random def f(): random.seed(0) return random.random() save(f, "bug", sample_data=None) print(f(), f()) model = load_meta("bug", load_value=True) print(model())...
Hi, here is Akvelon team. We want to support `request_serialize` and `response_serialize` flags. But we need information about input and output data for values, which are not a default. Could...
The same works if MLEM was installed by `pip install -e .` Reproducing: ```shell $ git clone https://github.com/iterative/mlem $ cd mlem $ pip install . $ mlem --tb build docker...
In `dvc` branch both `.mlem/model/rf.dvc` and `.mlem/model/rf.mlem` have hash and size for the same artifact. This feels fragile. One might update one of this independently, say `*.dvc` file: ```bash cd...
how to reproduce ```py # fx.py from mlem.api import save def f(x): return None save(f, "fx", sample_data="1") ``` ```shell $ python fx.py $ mlem serve streamlit -m fx ``` When...
> Would it be possible (or make sense) to bundle the relevant parts as a streamlit component (https://streamlit.io/components)? As streamlit user, I like this approach so I can use the...
In some complex cases MLEM can have problems finding what to install. This happens pretty rarely AFAIK, but please upvote and leave a comment if you hit this problem so...
Remove `xfail` once fsspec issue is fixed. It seems that for now the only way is to xfail those tests for windows because of https://github.com/fsspec/filesystem_spec/issues/1125 _Originally posted by @mike0sv in...
Hi, I'm new to all things MLOps, so I apologize if this question is too general or vague... Basically, I would like to apply one or more models to a...