Proposal - Supporting user-provided ML models in workflows #6616
Replies: 5 comments 7 replies
|
@tanishqgandhi1908 Thanks for starting the discussion. Our protocol is to create issues for a discussion, and raise PRs for each issue. Can you organize the content in this way? |
Design UpdateKey Decisions
Under ResearchNext area of focus—design still in progress:
|
|
@mengw15 @bobbai00 : Please check this comment #6616 (comment) about this "DaemonSet". I think it's related to a recent change you made about having a separate micro-service to manage the Postgres credential to make sure each pod is safe. If so, please chime in and give your thoughts. |
|
I asked the input from @bobbai00 and @mengw15 to verify the high-level similarity between this "DaemonSet" and the micro-service we introduced to keep Postgres credentials. I am glad you two verified my claim. @aicam : Is "DaemonSet" also micro service? If not, why shouldn't it be a micro service? @bobbai00 : Please verify if you agree with the answers of @aicam to your two questions. |



Uh oh!
There was an error while loading. Please reload this page.
What we're proposing
Let users bring their own trained ML models into Texera and use them in workflows, upload a model, keep versions of it, share it, and run inference on your data — just like datasets work today. Tracking issue: #6494.
What learned from research
Studied how other data/ML platforms handle this, and took a few clear lessons:
/datasets/...vs/models/...).The design
Models are a sibling of datasets: their own tables and their own storage repo, on top of the same storage engine we already use. The path label decides the type (
/datasets/...vs/models/...), and a worker mounts the chosen model version to read its files.Tables and storage

How a model reaches a worker when it runs

The plan
One small step per PR (see sub-tasks under #6494): add the path label → model tables → model storage & lookup → upload/version/access API → UI → use in a workflow → sharing & docs. We start with PyTorch; more frameworks and a no-code inference operator come later.
Questions for the community
datasets/modelssegment), with a one-time migration of existing dataset paths. Any concerns with requiring it, versus leaving datasets with no label as the default?modeltables (mirroring the dataset tables) vs. reusing the dataset tables with a type column — any preference or downside we're missing?Feedback welcome!
All reactions