-
Notifications
You must be signed in to change notification settings - Fork 178
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
ai/worker: Absorb ai-worker library #3345
Conversation
Codecov ReportAttention: Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## master #3345 +/- ##
===================================================
- Coverage 33.63244% 32.26037% -1.37207%
===================================================
Files 141 147 +6
Lines 37556 40573 +3017
===================================================
+ Hits 12631 13089 +458
- Misses 24202 26713 +2511
- Partials 723 771 +48
Continue to review full report in Codecov by Sentry.
|
17174ee
to
a2f4e63
Compare
This commit renames the `ai_worker` file to better represent its role within the orchestrator side of the network stack, improving clarity and maintainability.
After offline discussion we realized it makes more sense as is. Kept some docs.
Cannot run it yet since ai-worker repo is out of sync.
Ported from original README in ai-worker repo
01eda1a
to
732240c
Compare
e6c24e0
to
95830ae
Compare
95830ae
to
695e81b
Compare
# Git reference to download the OpenAPI spec from, defaults to `main` branch. | ||
# It can also be a simple git commit hash. e.g. `make ai_worker_codegen REF=c19289d` | ||
REF ?= refs/heads/main | ||
ai_worker_codegen: |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@victorges I assume this command is excluded from all
to prevent unexpected breakage? If so, perhaps we should document it in the developer docs?
What does this pull request do? Explain your changes. (required)
This is to move the Go logic from
livepeer/ai-worker
repository into a separate packagein this repository (the only consumer).
This will allow
livepeer/ai-worker
to be renamed toai-runner
and avoid anymaintenance confusion, keeping only the specific AI runner container logic on it.
Specific updates (required)
ai-worker
worker
package (needs update after some PRs get merged there)go.mod
dependencyMakefile
command to generaterunner.gen.go
API bindingsdoc.go
based on the relevant README bits fromlivepeer/ai-worker
How did you test each of these updates (required)
If it builds it works. No code changes.
Does this pull request close any open issues?
No.
Checklist:
make
runs successfully./test.sh
pass