Skip to content
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

chore: merge master into ai-video #3103

Merged
merged 61 commits into from
Aug 7, 2024
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
Show all changes
61 commits
Select commit Hold shift + click to select a range
ef5d789
eth,eth/watcher: Create Chainlink price feed watcher (#2972)
victorges Mar 27, 2024
706ec33
cmd/livepeer: Use price feed watcher for dynamic pricePerPixel (#2981)
victorges Mar 27, 2024
2572d97
Release 0.7.3 (#2988)
leszko Mar 29, 2024
8c243ab
Revert "Bump ffmpeg version and nv-codec-headers" (#2989)
thomshutt Apr 2, 2024
f55d605
Bump LPMS (#2992)
thomshutt Apr 2, 2024
85bea86
release v0.7.4 (#2993)
leszko Apr 2, 2024
07fed97
server: Skip redundant maxPrice check in ongoing session (#2994)
victorges Apr 3, 2024
119f346
server: Allow Os price to increase up to 2x mid-session (#2995)
victorges Apr 3, 2024
eb25467
server,discovery: Allow B to use any O in case none match maxPrice (#…
victorges Apr 5, 2024
52186d7
Fix transcoding price metrics (#3001)
leszko Apr 10, 2024
44c95d0
ci(ai): add AI issue templates
rickstaa Apr 13, 2024
c822b13
ci(ai): add AI pull request labeler
rickstaa Apr 13, 2024
25c3cd2
ci(ai): add AI issue templates and pull request labeler
rickstaa Apr 15, 2024
8d378fd
ci: change issue template order and add PR labeler config (#3006)
rickstaa Apr 15, 2024
bc726a8
ci(ai): fix incorrect labels (#3012)
rickstaa Apr 16, 2024
9305333
ci(ai): fix pull request config warning (#3018) (#3019)
rickstaa Apr 19, 2024
e9cbadb
Initialize round by any B/O who has the initializeRound flag set to t…
leszko Apr 24, 2024
b1b2c03
Fix CI Darwin Build (#3049)
leszko May 8, 2024
6e49ae2
chore: fix function names (#3040)
kevincatty May 9, 2024
133ca8b
Create option to filter Os by min livepeer version used (#3050)
leszko May 13, 2024
5f8bc55
Update LPMS with the mobile transcoding fix (#3003)
leszko May 13, 2024
7599f7f
Release 0.7.5 (#3051)
leszko May 14, 2024
19f1cf6
refactor: add -gateway and deprecate -broadcaster (#3053)
rickstaa May 16, 2024
304e47f
refactor(census): rename Broadcaster metrics to Gateway (#3055)
rickstaa May 16, 2024
b739f35
refactor: add -pricePerGateway and deprecate -pricePerBroadcaster (#3…
rickstaa May 19, 2024
6cfaf1e
ci: protect Docker 'stable' tag (#3062)
rickstaa May 21, 2024
fbb393e
Return appropriate errors when auth fails, not just 5xx (#3065)
thomshutt May 28, 2024
29732e7
ci: fix syntax error in Docker action tags (#3068)
rickstaa May 29, 2024
e8f079e
chore: fix some comments (#3070)
linghuying Jun 1, 2024
65f501a
Add logging to selection_algorithm.go (#3076)
leszko Jun 11, 2024
df4c106
Fix typo in logs (#3079)
leszko Jun 13, 2024
b62c60c
Add ctx to logging for selection algorithm (#3080)
leszko Jun 14, 2024
0dd670f
chore: make function comment match function name (#3081)
tongjicoder Jun 16, 2024
20e81fb
refactor: rename internal references from Broadcaster to Gateway (#3060)
rickstaa Jun 18, 2024
3dcdf3d
Add logging to the session refresh (#3083)
leszko Jun 21, 2024
e6a712b
Add `/healthz` endpoint (#3095)
leszko Jul 15, 2024
1624694
Update LPMS to ffmpeg 7 (#3096)
j0sh Jul 24, 2024
498eb76
Merge branch 'master' into ai-video-rebase
rickstaa Jul 25, 2024
a5cdcc6
release v0.7.6
j0sh Jul 24, 2024
c00361a
Merge branch 'master' into ai-video-rebase
rickstaa Jul 27, 2024
21f98a5
chore(ai): ensure ai-video-rebased ffmpeg file is used
rickstaa Jul 27, 2024
280b4a5
chore(ai): remove local go module dependency
rickstaa Jul 27, 2024
01fc75b
test: fix broadcast test
rickstaa Jul 29, 2024
6292df1
feat(ai): add dynamic pricePerUnit feature to AI pricing
rickstaa Jul 29, 2024
e9d4c39
cmd: Use `-gateway` consistently
j0sh Jul 25, 2024
71089b3
feat(ai): add minLivepeerVersion constraint and IgnorePreReleaseVersions
rickstaa Jul 31, 2024
2f95332
fix(ai): fix offchain 'PriceFeedWatcher is not initialized' error
rickstaa Jul 31, 2024
74a84bc
test: add pre-release suffix min version tests
rickstaa Jul 31, 2024
09e7ea5
feat: simplify pre-release version filter logic
rickstaa Jul 31, 2024
5c98592
feat: allow Gateways to filter by pre-release
rickstaa Jul 31, 2024
54142eb
Merge branch 'ai-video' into ai-video-rebase
rickstaa Jul 31, 2024
340256a
Merge branch 'master' into ai-video-rebase
rickstaa Jul 31, 2024
d64f378
refactor(ai): rename capability constraint variable
rickstaa Jul 31, 2024
b2c20a5
Merge branch 'ai-video' into ai-video-rebase
rickstaa Jul 31, 2024
bd55cd2
chore(ai): remove lpms local dependency
rickstaa Jul 31, 2024
8c6bd5c
chore(ai): update lpms dependency
rickstaa Jul 31, 2024
95c3b6d
feat: remove AI specific minVersion constraint logic
rickstaa Aug 1, 2024
4c4b1b6
feat(ai): Add AI suffix handling for min version logic
rickstaa Aug 1, 2024
8036856
core: Make the AI config take a big rat
victorges Aug 1, 2024
8e654d7
fix: add AIModels currency config field and fix pixelsPerUnit handling
rickstaa Aug 2, 2024
9cdeeb5
fix(ai): temporarily disable arm64 builds
rickstaa Aug 2, 2024
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,10 @@
*.dll
*.so
*.dylib

# IDE files
*.vscode
*.code-workspace

# Test binary, build with `go test -c`
*.test
Expand Down
7 changes: 6 additions & 1 deletion cmd/livepeer/starter/starter.go
Original file line number Diff line number Diff line change
Expand Up @@ -1124,7 +1124,12 @@ func StartLivepeer(ctx context.Context, cfg LivepeerConfig) {
panic(fmt.Errorf("'pricePerUnit' value specified for model '%v' in pipeline '%v' must be >= 0, provided %v", config.ModelID, config.Pipeline, config.PricePerUnit))
}
pricePerPixel := new(big.Rat).Quo(pricePerUnit, pixelsPerUnit)
autoPrice, err := core.NewAutoConvertedPrice(currency, pricePerPixel, nil)
var autoPrice *core.AutoConvertedPrice
if *cfg.Network == "offchain" {
autoPrice = core.NewFixedPrice(pricePerPixel)
} else {
autoPrice, err = core.NewAutoConvertedPrice(currency, pricePerPixel, nil)
}
rickstaa marked this conversation as resolved.
Show resolved Hide resolved
if err != nil {
panic(fmt.Errorf("error converting price: %v", err))
}
Expand Down
Loading