elyra-ai / elyra

Elyra extends JupyterLab with an AI centric approach.
https://elyra.readthedocs.io/en/stable/
Apache License 2.0
1.84k stars 343 forks source link

Model Explorer #2560

Open romeokienzler opened 2 years ago

romeokienzler commented 2 years ago

Is your feature request related to a problem? Please describe. No. We want to add functionality to Elyra and a Model Explorer would be a nice low hanging fruit

Describe the solution you'd like Using the metadata editor crate a left panel showing available models. Using the byo-x concept, write an adapter connecting to ml-exchange.org to gather all available (MAX) models and show them as list

Describe alternatives you've considered

Additional context At a later stage, other byo adapters could for example connect to hugging face or tensorflow hub. In addition, the view opening on double-clicks could allow for viewing model details or just publish them to a model serving component...

ptitzler commented 2 years ago

Is this different from https://github.com/elyra-ai/elyra/issues/1120?

romeokienzler commented 2 years ago

replaces #1120

ajbozarth commented 2 years ago

Jotting some notes here based on a discussion with Romeo. The potential idea is the reuse the Metadata widget to easily display the list of models. Then we can create a UI for each listing like we do with other metadata. Whether we find a way to use the metadata API to host the list of models or rewrite the widget to allow fetching from other locations would be a discussion point prior to starting work.

lresende commented 2 years ago

Could you please elaborate on the user experience for bringing up the model list here? I really would like to see a deep integration compared to a "show available models and can't do anything with it"...

Also, what happens when someone does not have access to ml-exchange.org (e.g. gapped env deployments)?

NOT A CONTRIBUTION

ptitzler commented 2 years ago

Also, what happens when someone does not have access to ml-exchange.org (e.g. gapped env deployments)?

I believe the intend would be to support mlx deployments as a repository, not just the hosted demo instance.

romeokienzler commented 2 years ago

Hi @lresende @ptitzler idea is to provide a standard "adapter" (byo-x concept) connecting to ml-exchange.org by default. you can

I suggest an incremental development approach (good se practise) here to have a basis for incremental discussions on additions with the community, and IBM internal clients but I can give you the broader picture: Once we have the list on the right hand side (spoiler, for a later stage: I'd like to see a top search field as well which filters the list based on matches as soon as you start typing, also seeing the status[trained, blessed, deployed] of the model in that list via icons would be nice)

Once you open a model item a tab should open where you can find

romeokienzler commented 2 years ago

Here the specs, as discussed:

I suggest to start with the left sidebar functionality first @lresende @ajbozarth

romeokienzler commented 2 years ago

@ajbozarth friendly reminder