-
Notifications
You must be signed in to change notification settings - Fork 13
Distributed Worker Architecture for ML Processing (Processing Service V2) pt. 1 #987
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
Merged
Changes from 13 commits
Commits
Show all changes
56 commits
Select commit
Hold shift + click to select a range
ae02d2e
fix: Job serialization overhead
carlosgjs 24a15af
syntax
carlosgjs 0da97a6
fix syntax
carlosgjs 2db7d66
Simplify diagram
carlosgjs 8a714cd
Add RabbitMQ
carlosgjs 700f594
WIP: Use NATS JetStream for queuing
carlosgjs 3b42e08
Merge branch 'main' into carlosg/jobio
carlosgjs 8ea5d7d
Saving of results
carlosgjs 61fc2c5
Update progress
carlosgjs 9af597c
Clean up and refactor task state mgmt
carlosgjs 7ff8865
fix async use
carlosgjs 0fbe899
Merge branch 'main' into carlosg/jobio
carlosgjs 7899fc5
Fix circular dependency, jobset query by pipeline slug
carlosgjs d9f8ffd
GH review comments
carlosgjs edad552
Add feature flag, rename "job" to "task"
carlosgjs d254867
Code reorganization
carlosgjs 1cc890e
Resolve circular deps
carlosgjs 84ee5a2
Update ami/jobs/models.py
carlosgjs 09fee92
cleanup
carlosgjs 4480b0d
Consistent progress updates, single image job command
carlosgjs 3032709
Fix typo
carlosgjs 3e7ef3b
Merge branch 'main' into carlosg/jobio
carlosgjs 04be994
Merge branch 'main' into carlosg/jobio
carlosgjs a8b94e3
Remove unnecesary file
carlosgjs 1fc20b5
Merge branch 'main' into carlosg/jobio
carlosgjs 0a5c89e
Remove diagram, fix flakes
carlosgjs 344f883
Use async_to_sync
carlosgjs df7eaa3
CR feedback
carlosgjs 0391642
clean up
carlosgjs 4ae27b0
more cleanup
carlosgjs 4f50b3d
Apply suggestions from code review
carlosgjs a8fc79a
Remove old comments
carlosgjs 4efdf07
Fix processing error cases
carlosgjs f221a1a
updates
carlosgjs 1a9b80a
Merge branch 'main' into carlosg/jobio
carlosgjs 3657fd2
Fix merge bugs, back to working state
carlosgjs 2483592
Use PipelineProcessingTask for the queue, other fixes
carlosgjs 0ae9674
Update tests
carlosgjs 3c034a9
General cleanup
carlosgjs e9d2a1c
Add nats to CI and prod
carlosgjs 3d198d0
Unit tests for new classes
carlosgjs f9a1226
Add nats to staging, don't retry save resutls task
carlosgjs 3a73329
fix formatting
carlosgjs e241586
fix yaml formatting
carlosgjs 1202063
Clean up and comments
carlos-irreverentlabs d2865f5
CR feedback
carlos-irreverentlabs b60eab0
merge
carlos-irreverentlabs 0e350dd
Merge branch 'main' into carlosg/jobio
carlos-irreverentlabs 936d768
fix lint
carlos-irreverentlabs 7645b14
Merge branch 'main' into carlosg/jobio
carlosgjs 644927f
Merge remote-tracking branch 'upstream/main'
carlosgjs 02578b7
Merge branch 'main' into carlosg/jobio
carlosgjs 0d614f9
Merge branch 'main' of github.com:RolnickLab/antenna into carlosg/jobio
mihow c9077cf
feat: use a pydantic schema for the task erorr state, mirror worker
mihow 6564532
chore: rename function specific to nats
mihow 6bcc610
docs: add plan for fixing the status displayed for async jobs
mihow File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Some comments aren't visible on the classic Files Changed page.
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,20 +1,72 @@ | ||
| .editorconfig | ||
| .gitattributes | ||
| .github | ||
| .gitignore | ||
| .gitlab-ci.yml | ||
| .idea | ||
| .pre-commit-config.yaml | ||
| .readthedocs.yml | ||
| .travis.yml | ||
| .git | ||
| ui | ||
| ami/media | ||
| backups | ||
| venv | ||
| .venv | ||
| .env | ||
| .envs | ||
| venv/ | ||
| .venv/ | ||
| .env/ | ||
| .envs/ | ||
| .envs/* | ||
| node_modules | ||
| data | ||
|
|
||
| # Python cache / bytecode | ||
| __pycache__/ | ||
| *.py[cod] | ||
| *.pyo | ||
| *.pyd | ||
| *.pdb | ||
| *.egg-info/ | ||
| *.egg | ||
| *.whl | ||
|
|
||
|
|
||
| # Django / runtime artifacts | ||
| *.log | ||
| *.pot | ||
| *.pyc | ||
| db.sqlite3 | ||
| media/ | ||
| staticfiles/ # collected static files (use collectstatic inside container) | ||
|
|
||
| # Node / UI dependencies (if using React/Vue in your UI service) | ||
| node_modules/ | ||
| npm-debug.log | ||
| yarn-error.log | ||
| .pnpm-debug.log | ||
|
|
||
| # Docs build artifacts | ||
| /docs/_build/ | ||
|
|
||
| # Git / VCS | ||
| .git/ | ||
| .gitignore | ||
| .gitattributes | ||
| *.swp | ||
| *.swo | ||
|
|
||
| # IDE / editor | ||
| .vscode/ | ||
| .idea/ | ||
| *.iml | ||
|
|
||
| # OS cruft | ||
| .DS_Store | ||
| Thumbs.db | ||
|
|
||
| # Docker itself | ||
| .dockerignore | ||
| Dockerfile | ||
| docker-compose*.yml | ||
|
|
||
| # Build / dist | ||
| build/ | ||
| dist/ | ||
| .eggs/ |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -276,3 +276,6 @@ sandbox/ | |
|
|
||
| # Other | ||
| flower | ||
|
|
||
| # huggingface cache | ||
| huggingface_cache/ | ||
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.