GitHub user tanishqgandhi1908 added a comment to the discussion: Proposal - 
Supporting user-provided ML models in workflows

## End to end user experience
Models can be created, versioned, shared and used in a workflow. Here's what 
the flow looks like for a user.

1. Create a model
Same as creating a dataset — name it, and pick a framework (PyTorch, 
TensorFlow, ONNX, scikit-learn, or "other") and a format (TorchScript, 
safetensors, ONNX, SavedModel, joblib, pickle, …). Both can be changed later.

<img width="1098" height="572" alt="Screenshot 2026-08-05 at 11 14 57 AM" 
src="https://github.com/user-attachments/assets/96c05f77-c536-40cd-b1bf-83579a560fa0";
 />


2. Upload the files
Drag a folder in and the structure is kept. Big weight files upload in chunks, 
and models get their own size limit — 2 GB per file by default, where datasets 
are 20 MB. Every upload becomes a new version you can go back to.

3. Share it
Invite people by email with read or write access, or make it public. There's a 
separate switch for whether people can download it. Models also show up in 
search — by name, description, framework or format — and public ones appear in 
the Hub with view and like counts.

4. Copy the code to use it
Each model page has a Usage tab that writes the Python for you, based on the 
framework and format you picked. torch.jit.load for TorchScript, joblib.load 
for scikit-learn, an ONNX Runtime session for ONNX, and so on — with comments 
explaining each step.

<img width="1215" height="744" alt="image" 
src="https://github.com/user-attachments/assets/827cff63-9abe-41c3-9105-871b666f39fc";
 />


5. Paste it and pick a version
The code declares its own parameter, so pasting it into a Python UDF makes a 
row appear in the property panel with a model picker. Choose a version there 
and it reaches your code as a local folder — already mounted, nothing to 
download.

<img width="1952" height="898" alt="image" 
src="https://github.com/user-attachments/assets/4cd42263-2de8-4c5a-b32f-d4b16b737ba9";
 />


Would love suggestions on this flow- anything you'd expect to be here and isn't.

GitHub link: 
https://github.com/apache/texera/discussions/6616#discussioncomment-17910747

----
This is an automatically sent email for [email protected].
To unsubscribe, please send an email to: [email protected]

Reply via email to