Skip to content

Allow code uploads for function registration - #72

Merged
aFuerst merged 19 commits into
COS-IN:masterfrom
aFuerst:upload-code
Apr 26, 2026
Merged

aFuerst merged 19 commits into
COS-IN:masterfrom
aFuerst:upload-code

Conversation

@aFuerst

@aFuerst aFuerst commented Jun 11, 2025 •

Copy link
Copy Markdown
Contributor

WIP changes that allow user to specify code files on registration to upload to the control plane. The worker installs Python dependencies from an also provided reqs.txt file on registration . Both code and dependencies are then mounted into the container on boot and server will pick them up via PYTHONPATH.

TODOs:

  • Support in the load generator
  • tar/untar using Rust (not tar cmd)
  • Have user point to folder with code for upload, not prepared tar file
  • Check / handle multiple isolation registration
  • Documentation & examples in base project README
  • Make code structure less brittle by searching for main.py and reqs.txt in uploaded code
  • Properly build & push base containers used for this
  • Test GPU containers

@aFuerst
aFuerst requested a review from prateek-s June 11, 2025 12:01
@aFuerst aFuerst self-assigned this Jun 11, 2025
@aFuerst
aFuerst marked this pull request as ready for review April 26, 2026 13:26
@aFuerst
aFuerst merged commit 34e7f39 into COS-IN:master Apr 26, 2026
4 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant