mlem icon indicating copy to clipboard operation
mlem copied to clipboard

Support "unknown" model type

Open mike0sv opened this issue 3 years ago • 3 comments

For unsupported model types we can add a "mock" model_type. This way we'll enable users to use different mlem commands that dont need to load actual model like clone. RN, the process is python model obj -> getting model type with analyzer (methods, requirements, io)-> producing artifacts from ModelIO -> saving metadata For unknown models, users can do analyzers work manually like this python model object -> user saves model manually -> generates empty metadata from files like ModelMeta.from_files(...) -> optionally fills metadata manually (adding requirements and stuff) -> saves metadata

mike0sv avatar Apr 06 '22 20:04 mike0sv

@mike0sv, is this still an issue? This related to that discord question we had recently.

aguschin avatar Nov 09 '22 07:11 aguschin

It's more of a feature proposal than an issue. Don't think it's relevant to that question either, it's basically about an API to manually create MlemModel objects more easily. Rn you can also do this of course, but in very unfriendly way

mike0sv avatar Nov 10 '22 11:11 mike0sv

I'd say it's p2 or even p3 btw

mike0sv avatar Nov 10 '22 11:11 mike0sv