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

Mh/logging #3182

Closed
wants to merge 222 commits into from
Closed

Mh/logging #3182

wants to merge 222 commits into from

Commits on Mar 25, 2024

  1. Configuration menu
    Copy the full SHA
    3ede48f View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    6f29698 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    e2735cd View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    8883824 View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    92bfa74 View commit details
    Browse the repository at this point in the history
  6. Configuration menu
    Copy the full SHA
    be72c37 View commit details
    Browse the repository at this point in the history
  7. Configuration menu
    Copy the full SHA
    7cd7913 View commit details
    Browse the repository at this point in the history
  8. Configuration menu
    Copy the full SHA
    abe1b5a View commit details
    Browse the repository at this point in the history
  9. Configuration menu
    Copy the full SHA
    7ec59b3 View commit details
    Browse the repository at this point in the history
  10. mod: Bump go-tools to v0.3.5

    yondonfu committed Mar 25, 2024
    Configuration menu
    Copy the full SHA
    1822db5 View commit details
    Browse the repository at this point in the history
  11. Configuration menu
    Copy the full SHA
    52785b2 View commit details
    Browse the repository at this point in the history
  12. Configuration menu
    Copy the full SHA
    332ecbd View commit details
    Browse the repository at this point in the history
  13. Configuration menu
    Copy the full SHA
    14deb6a View commit details
    Browse the repository at this point in the history
  14. Configuration menu
    Copy the full SHA
    289cb49 View commit details
    Browse the repository at this point in the history
  15. temp disable CI tests

    yondonfu committed Mar 25, 2024
    Configuration menu
    Copy the full SHA
    48f560c View commit details
    Browse the repository at this point in the history
  16. ci+docker: Use go1.21.5

    yondonfu committed Mar 25, 2024
    Configuration menu
    Copy the full SHA
    24c1623 View commit details
    Browse the repository at this point in the history
  17. docker: Install zlib

    yondonfu committed Mar 25, 2024
    Configuration menu
    Copy the full SHA
    d60b801 View commit details
    Browse the repository at this point in the history
  18. temp disable CI arm64 builds

    yondonfu committed Mar 25, 2024
    Configuration menu
    Copy the full SHA
    b49d503 View commit details
    Browse the repository at this point in the history
  19. Configuration menu
    Copy the full SHA
    27c8da1 View commit details
    Browse the repository at this point in the history
  20. Configuration menu
    Copy the full SHA
    0adf0b6 View commit details
    Browse the repository at this point in the history
  21. cmd: Add -aiModelsDir flag

    yondonfu committed Mar 25, 2024
    Configuration menu
    Copy the full SHA
    d894ee8 View commit details
    Browse the repository at this point in the history
  22. Configuration menu
    Copy the full SHA
    d1af6e2 View commit details
    Browse the repository at this point in the history
  23. Configuration menu
    Copy the full SHA
    1759f35 View commit details
    Browse the repository at this point in the history
  24. mod+cmd: Bump ai-worker

    yondonfu committed Mar 25, 2024
    Configuration menu
    Copy the full SHA
    e089c10 View commit details
    Browse the repository at this point in the history
  25. server: Check JSON200 from O

    yondonfu committed Mar 25, 2024
    Configuration menu
    Copy the full SHA
    857ee5f View commit details
    Browse the repository at this point in the history
  26. Configuration menu
    Copy the full SHA
    3fcc300 View commit details
    Browse the repository at this point in the history
  27. mod: Bump ai-worker

    yondonfu committed Mar 25, 2024
    Configuration menu
    Copy the full SHA
    d6d4261 View commit details
    Browse the repository at this point in the history
  28. Configuration menu
    Copy the full SHA
    19da59d View commit details
    Browse the repository at this point in the history
  29. Configuration menu
    Copy the full SHA
    7d765d6 View commit details
    Browse the repository at this point in the history
  30. Configuration menu
    Copy the full SHA
    9985d5f View commit details
    Browse the repository at this point in the history
  31. mod: Bump ai-worker

    yondonfu committed Mar 25, 2024
    Configuration menu
    Copy the full SHA
    2ecaaab View commit details
    Browse the repository at this point in the history
  32. Configuration menu
    Copy the full SHA
    dafefd1 View commit details
    Browse the repository at this point in the history
  33. Configuration menu
    Copy the full SHA
    c35735c View commit details
    Browse the repository at this point in the history
  34. mod: Bump ai-worker

    yondonfu committed Mar 25, 2024
    Configuration menu
    Copy the full SHA
    9521fcb View commit details
    Browse the repository at this point in the history
  35. Configuration menu
    Copy the full SHA
    9f5792a View commit details
    Browse the repository at this point in the history
  36. Configuration menu
    Copy the full SHA
    924c712 View commit details
    Browse the repository at this point in the history
  37. Configuration menu
    Copy the full SHA
    209ec48 View commit details
    Browse the repository at this point in the history
  38. Configuration menu
    Copy the full SHA
    04c751c View commit details
    Browse the repository at this point in the history
  39. Configuration menu
    Copy the full SHA
    9f47d4e View commit details
    Browse the repository at this point in the history
  40. mod: Bump livepeer/ai-worker

    yondonfu committed Mar 25, 2024
    Configuration menu
    Copy the full SHA
    0b31700 View commit details
    Browse the repository at this point in the history
  41. mod: Bump livepeer/ai-worker

    yondonfu committed Mar 25, 2024
    Configuration menu
    Copy the full SHA
    c5427d7 View commit details
    Browse the repository at this point in the history
  42. Configuration menu
    Copy the full SHA
    5e73dcb View commit details
    Browse the repository at this point in the history
  43. Configuration menu
    Copy the full SHA
    c22f398 View commit details
    Browse the repository at this point in the history
  44. Configuration menu
    Copy the full SHA
    579a31d View commit details
    Browse the repository at this point in the history
  45. mod: Bump livepeer/ai-worker

    yondonfu committed Mar 25, 2024
    Configuration menu
    Copy the full SHA
    f82c014 View commit details
    Browse the repository at this point in the history
  46. Configuration menu
    Copy the full SHA
    a61818b View commit details
    Browse the repository at this point in the history
  47. Configuration menu
    Copy the full SHA
    3d77eed View commit details
    Browse the repository at this point in the history
  48. core: Use software transcoder for image-to-video

    Temp fix for sporadic CUDA operation not permitted errors with nvidia
    yondonfu committed Mar 25, 2024
    Configuration menu
    Copy the full SHA
    f2bc443 View commit details
    Browse the repository at this point in the history
  49. Configuration menu
    Copy the full SHA
    8cc7430 View commit details
    Browse the repository at this point in the history
  50. server: Add AISessionManager

    For managing the sessions per AI capability + model ID in a way that is compatible with existing broadcast session code
    yondonfu committed Mar 25, 2024
    Configuration menu
    Copy the full SHA
    f583d93 View commit details
    Browse the repository at this point in the history
  51. Configuration menu
    Copy the full SHA
    e122757 View commit details
    Browse the repository at this point in the history
  52. server: Remove check for deprecated seg data profiles

    This should no longer be needed because the field is deprecated
    yondonfu committed Mar 25, 2024
    Configuration menu
    Copy the full SHA
    a2b194e View commit details
    Browse the repository at this point in the history
  53. Configuration menu
    Copy the full SHA
    13f5637 View commit details
    Browse the repository at this point in the history
  54. Configuration menu
    Copy the full SHA
    a77f0a0 View commit details
    Browse the repository at this point in the history
  55. Configuration menu
    Copy the full SHA
    f8ef935 View commit details
    Browse the repository at this point in the history
  56. Configuration menu
    Copy the full SHA
    0e4d35a View commit details
    Browse the repository at this point in the history
  57. Configuration menu
    Copy the full SHA
    f698708 View commit details
    Browse the repository at this point in the history
  58. Configuration menu
    Copy the full SHA
    bd12e99 View commit details
    Browse the repository at this point in the history
  59. docs(ai): add AI subnet orch setup guide

    This commit adds detailed instructions for setting up an
    orchestrator on the AI Subnet.
    rickstaa committed Mar 25, 2024
    Configuration menu
    Copy the full SHA
    a818a61 View commit details
    Browse the repository at this point in the history
  60. docs(ai): add ai subnet broadcaster instructions

    This commit adds detailed instructions for setting up an
    broadcaster on the AI Subnet.
    rickstaa committed Mar 25, 2024
    Configuration menu
    Copy the full SHA
    b3fdf31 View commit details
    Browse the repository at this point in the history
  61. docs(ai): enhance AI Subnet documentation with binary installation guide

    This commit refines the AI Subnet documentation and introduces instructions for
    utilizing the prebuilt AI Subnet binaries.
    rickstaa committed Mar 25, 2024
    Configuration menu
    Copy the full SHA
    f13b8b0 View commit details
    Browse the repository at this point in the history

Commits on Mar 27, 2024

  1. docs(ai): improve ai subnet documentation

    This commit improves the AI subnet documentation by adding some missing
    steps and improved unclear steps. Special thanks to @Pon-node for
    walking through the documentation as I could code along and improve it.
    
    Co-authored-by: Pon <[email protected]>
    rickstaa and Pon-node committed Mar 27, 2024
    Configuration menu
    Copy the full SHA
    43f4166 View commit details
    Browse the repository at this point in the history
  2. docs(ai): fix broken huggingface documentation link

    This commit fixes a broken huggingface documentation link.
    
    Co-authored-by: papabear99 <[email protected]>
    rickstaa and papabear99 committed Mar 27, 2024
    Configuration menu
    Copy the full SHA
    be3afe8 View commit details
    Browse the repository at this point in the history
  3. docs(ai): fix broken 'dl_checkpoint' command

    This commit fixes the broken `dl_checkpoints.sh` run command found in
    the documentation.
    
    Co-authored-by: papabear99 <[email protected]>
    rickstaa and papabear99 committed Mar 27, 2024
    Configuration menu
    Copy the full SHA
    c7130b4 View commit details
    Browse the repository at this point in the history

Commits on Mar 28, 2024

  1. docs(ai): enhance clarity and accuracy of AI subnet docs

    This commit refines the AI subnet documentation to address ambiguities
    and inaccuracies identified during our initial pilot with **pre-alpha**
    participants. The improvements aim to provide clearer instructions and
    correct information for a smoother user experience.
    rickstaa committed Mar 28, 2024
    Configuration menu
    Copy the full SHA
    732bf36 View commit details
    Browse the repository at this point in the history
  2. docs(ai): improve model configuration documentation

    This commit explaines the parameters found in the `aiModels.json` file.
    rickstaa committed Mar 28, 2024
    Configuration menu
    Copy the full SHA
    6895dca View commit details
    Browse the repository at this point in the history
  3. docs(ai): add instructions for on-chain configuration of AI Subnet Or…

    …chestrator
    
    This commit introduces comprehensive instructions for setting up the AI
    Subnet Orchestrator for on-chain operation. It includes both binary and
    Docker setup methods.
    rickstaa committed Mar 28, 2024
    Configuration menu
    Copy the full SHA
    a8346e4 View commit details
    Browse the repository at this point in the history
  4. docs(ai): improve AI on-chain instructions

    This commit restructures the AI on-chain instructions to make them
    easier to follow.
    rickstaa committed Mar 28, 2024
    Configuration menu
    Copy the full SHA
    f5bb8c2 View commit details
    Browse the repository at this point in the history
  5. docs(ai): improve ai docs syntax

    This commit applies some small syntax changes to the ai documentation to
    improve readability.
    rickstaa committed Mar 28, 2024
    Configuration menu
    Copy the full SHA
    16edc6e View commit details
    Browse the repository at this point in the history
  6. Merge pull request #2987 from livepeer/improve_ai_docs_text

    docs(ai): improve ai docs syntax
    rickstaa authored Mar 28, 2024
    Configuration menu
    Copy the full SHA
    3a14fb1 View commit details
    Browse the repository at this point in the history
  7. docs(ai): add promtail metrics sending docs

    This commit adds some documentation on how people can **opt-in** to send
    us data about their AI Subnet Orchestrator.
    rickstaa committed Mar 28, 2024
    Configuration menu
    Copy the full SHA
    07ec545 View commit details
    Browse the repository at this point in the history
  8. docs(ai): update volume mount config for promtail

    This update modifies the volume mount for the promptail docker container
    to remove the ai_subnet_promtail.yml file, addressing issues reported by
    several users with the previous promtail docker configuration.
    rickstaa committed Mar 28, 2024
    Configuration menu
    Copy the full SHA
    bced6be View commit details
    Browse the repository at this point in the history

Commits on Mar 29, 2024

  1. docs(ai): name docker containers

    This commit ensures that people use named docker containers. This will
    help us monitor their metrics when they decide to share them.
    rickstaa committed Mar 29, 2024
    Configuration menu
    Copy the full SHA
    5e26f41 View commit details
    Browse the repository at this point in the history

Commits on Apr 5, 2024

  1. Configuration menu
    Copy the full SHA
    77b9a48 View commit details
    Browse the repository at this point in the history
  2. docs(ai): improve models config descriptiona and add ticketEV param

    This commit improves the description of the `warm` configuration value
    and add the `ticketEV` flag to the Livepeer command line arguments to
    prevent the `too many values` error from occuring. This error is thrown
    because the current software does not allow sending more than 150
    tickets in one batch.
    rickstaa committed Apr 5, 2024
    Configuration menu
    Copy the full SHA
    ab40d04 View commit details
    Browse the repository at this point in the history
  3. docs(ai): improve cli description and remove redeemer method

    This commit ensures it is clear that the redeemer is not recommended
    when setting up a AI subnet orchestrator. It also explains that the
    `pricePerUnit` flag is not needed for the AI subnet orchestrator.
    rickstaa committed Apr 5, 2024
    Configuration menu
    Copy the full SHA
    aa706dc View commit details
    Browse the repository at this point in the history
  4. docs(ai): add command outputs

    This commit ensures that users know which output to expect when they run
    the commands in the documentation:
    rickstaa committed Apr 5, 2024
    Configuration menu
    Copy the full SHA
    0e6be96 View commit details
    Browse the repository at this point in the history

Commits on Apr 8, 2024

  1. docs(ai): add AI subnet orch setup guide

    This commit adds the initial draft for the AI subnet onboarding documentation.
    rickstaa authored Apr 8, 2024
    Configuration menu
    Copy the full SHA
    9db7a1b View commit details
    Browse the repository at this point in the history

Commits on Apr 15, 2024

  1. ci(ai): add AI issue templates

    This commit introduces two new AI-specific issue templates, aiming to streamline
    the routing of AI subnet-related issues and feature requests to the appropriate team.
    rickstaa committed Apr 15, 2024
    Configuration menu
    Copy the full SHA
    0ed61b8 View commit details
    Browse the repository at this point in the history
  2. ci(ai): add AI pull request labeler

    This commit adds a pull request labeler action that automatically
    attaches the `ai` label when a pull request is created to the `ai-video`
    branch.
    rickstaa committed Apr 15, 2024
    Configuration menu
    Copy the full SHA
    f76726d View commit details
    Browse the repository at this point in the history
  3. ci: change issue template order

    This commit ensures that the main branch issue templates are put above
    the AI related issue templates.
    rickstaa committed Apr 15, 2024
    Configuration menu
    Copy the full SHA
    065edbc View commit details
    Browse the repository at this point in the history
  4. ci(ai): add PR labeler config file

    This commmit adds a https://github.com/actions/labeler configuration
    file so that all PRs on the `ai-video` branch will be correctly labeled
    with the `ai` label.
    rickstaa committed Apr 15, 2024
    Configuration menu
    Copy the full SHA
    1019d42 View commit details
    Browse the repository at this point in the history

Commits on Apr 16, 2024

  1. ci(ai): fix incorrect labels

    This commit fixed the labels that were specified in the Issue Templates
    to the one found in the repository.
    rickstaa committed Apr 16, 2024
    Configuration menu
    Copy the full SHA
    af6186f View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    51406be View commit details
    Browse the repository at this point in the history
  3. feat(ai): add pipelines optimization flags (#3013)

    * feat(ai): add pipelines optimization flags
    
    This commit adds a new `OptimizationFlags` field to the `aiModels`
    config so that users can forward optimization environment variables to
    the [ai-worker]([email protected]:livepeer/ai-worker.git) for more
    information see livepeer/ai-worker#61.
    
    * chore: update ai-worker to latest commit
    
    This commit ensures that the https://github.com/livepeer/ai-worker
    dependency is on the latest commit that includes the new optimization
    flags feature (see livepeer/ai-worker#61).
    
    * refactor: improve OptFlags logging
    
    This commit ensures that the `optimzation flag not supported` warning
    is shown for each model that is not loaded warm.
    rickstaa authored Apr 16, 2024
    Configuration menu
    Copy the full SHA
    9502ea0 View commit details
    Browse the repository at this point in the history
  4. docs(ai): add optimization flags to docs (#3014)

    This commit adds a new section explaining the new `optimization_flags` that were enabled
    #3013.
    rickstaa authored Apr 16, 2024
    Configuration menu
    Copy the full SHA
    cea4e94 View commit details
    Browse the repository at this point in the history
  5. ci(ai): temporary change build action branch to ai-video

    This commit temporary changes the push branch of the `build.yml` to the
    `ai-video` branch since the `ai-video` branch has conflicts with the
    `master` branch preventing the containers to be build.
    rickstaa committed Apr 16, 2024
    Configuration menu
    Copy the full SHA
    bc629b7 View commit details
    Browse the repository at this point in the history
  6. ci(ai): temporary change docker action branch to ai-video

    This commit temporary changes the push branch of the `docker.yml` to the
    `ai-video` branch since the `ai-video` branch has conflicts with the
    `master` branch preventing the containers to be build.
    rickstaa committed Apr 16, 2024
    Configuration menu
    Copy the full SHA
    6aa0b00 View commit details
    Browse the repository at this point in the history

Commits on Apr 18, 2024

  1. ci(ai): fix pull request config warning (#3018)

    This commit gets rid of the Pull request labeler configuration file
    warning.
    rickstaa authored Apr 18, 2024
    Configuration menu
    Copy the full SHA
    cecd3a5 View commit details
    Browse the repository at this point in the history
  2. fix: flush writer when encoding AI results (fix invalid PNG) (#3020)

    This commit flushes the data in the image writer to ensure that all data gets written to the PNG.
    stronk-dev authored Apr 18, 2024
    Configuration menu
    Copy the full SHA
    2a782ed View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    e1db239 View commit details
    Browse the repository at this point in the history
  4. ci(ai): run labeler also on 'pull_request_target'

    This commit ensures that the labeler action also runs on a
    'pull_request_target' to ensure pull requests from forks are correctly
    labeled.
    rickstaa committed Apr 18, 2024
    Configuration menu
    Copy the full SHA
    1643a1e View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    5bb92fa View commit details
    Browse the repository at this point in the history
  6. ci(ai): auto assign AI issues and feature requests

    This commit ensures that all AI related issues and feature requests are
    assigned to the AI team.
    rickstaa committed Apr 18, 2024
    Configuration menu
    Copy the full SHA
    23fdfcb View commit details
    Browse the repository at this point in the history
  7. feat(ai): enable AI orchestrator discovery (#3004)

    * feat(ai): enable AI orchestrator discovery
    
    This commit incorporates the AIServiceRegistry contract address,
    superseding the conventional ServiceRegistry contract address. This
    strategic alteration streamlines the discovery process of AI Orchestrators
    within the AI Subnet, thereby bolstering network accessibility and interaction.
    While this approach serves as a swift workaround to enable the feature without
    extensive code modification, it's important to note that it may disrupt the
    existing transcoding discovery mechanism. We have to fix this if we want to
    merge the two networks in the future.
    
    * docs(ai): improve discovery documentation
    
    This commit ensures that people are aware that they have to interact
    with the `AIServiceRegistry` using their main Orch wallet.
    
    * fix: fix 'AIServiceRegistry' devnet and testnet issue
    
    This commit ensure that the hardcoded `AIServiceRegistry` contract
    doesn't break the go-livepeer binary on local devnets or testnets.
    rickstaa authored Apr 18, 2024
    Configuration menu
    Copy the full SHA
    e9258f3 View commit details
    Browse the repository at this point in the history

Commits on Apr 20, 2024

  1. refactor(ai): add extra devtool input arguments (#3026)

    This commit adds extra devtool input arguments allowing developers to
    spin up multiple Os on the ETH devnet.
    rickstaa authored Apr 20, 2024
    Configuration menu
    Copy the full SHA
    bfccbc4 View commit details
    Browse the repository at this point in the history
  2. chore: improve devtool documentation and add scripts

    This commit improves the devtool documentation and adds a helpful script
    if developers want to create multiple Os at the same time.
    rickstaa committed Apr 20, 2024
    Configuration menu
    Copy the full SHA
    865314d View commit details
    Browse the repository at this point in the history

Commits on Apr 24, 2024

  1. refactor: log advertised capabilities and price on startup (#3031)

    This commit logs the advertised capabilities and price on startup if users have their logging verbosity level set to 6 or higher.
    eliteprox authored Apr 24, 2024
    Configuration menu
    Copy the full SHA
    ea82cde View commit details
    Browse the repository at this point in the history
  2. feat(ai): enforce 'aiModels' flag requirement (#3032)

    This commit ensures that an error is thrown when users don't specify
    the 'aiModels' flag but have the 'aiWorker' flag set.
    rickstaa authored Apr 24, 2024
    Configuration menu
    Copy the full SHA
    93caa3b View commit details
    Browse the repository at this point in the history

Commits on May 2, 2024

  1. fix(ai): improve AI selection algorithm (#3030)

    * fix(ai): improve selection algorithm
    
    This commit modifies the selection algorithm to continue retrying for a
    duration of one second instead of stopping after four attempts. This
    change addresses issues encountered with the current algorithm's
    performance in environments with 15 nodes on the network, ensuring more
    robust and reliable operation until further optimizations can be
    implemented.
    
    * refactor(ai): enhance selection algorithm retry logic
    
    This commit replaces the time-based for-loop in the selection
    algorithm's retry logic with a more context-aware approach.
    rickstaa authored May 2, 2024
    Configuration menu
    Copy the full SHA
    bbda633 View commit details
    Browse the repository at this point in the history

Commits on May 3, 2024

  1. refactor(ai): improve orch select retry ctx logic (#3039)

    This commit refines context handling in the orchestrator selection loop for
    idiomatic Go and enhanced propagation of parent cancellations.
    rickstaa authored May 3, 2024
    Configuration menu
    Copy the full SHA
    72dced7 View commit details
    Browse the repository at this point in the history
  2. refactor(ai): improve orch retry timeout msg

    This commit improves the orchestrator selection retry ctx timeout msg.
    rickstaa committed May 3, 2024
    Configuration menu
    Copy the full SHA
    6fc1afd View commit details
    Browse the repository at this point in the history
  3. fix(ai): prevent insufficient capacity payments (#3035)

    * fix(ai): handle insufficient capacity payments
    
    This commit enhances the Orchestrator's capacity handling by returning
    an error prior to processing payments when capacity is insufficient.
    This prevents that the Gateway overpays for requests.
    
    * chore(ai): update ai-worker dependency
    
    This commit updates the ai-worker dependency to the latest version.
    rickstaa authored May 3, 2024
    Configuration menu
    Copy the full SHA
    a0448d4 View commit details
    Browse the repository at this point in the history

Commits on May 4, 2024

  1. ci(ai): add temporary ai-video latest binary url upload

    This commit ensures that the `upload_build.sh` script uploads the latest
    binary that is deployed to the `ai-video` branch under one url. This is
    done to simplify binary installation.
    rickstaa committed May 4, 2024
    Configuration menu
    Copy the full SHA
    fb9764b View commit details
    Browse the repository at this point in the history
  2. chore(ai): remove temporary AI subnet docs

    This commit removes the tempoary AI subnet docs now that the final docs
    have been deployed on https://docs.livepeer.ai/ai/introduction.
    rickstaa committed May 4, 2024
    Configuration menu
    Copy the full SHA
    40a40a5 View commit details
    Browse the repository at this point in the history
  3. fix(ai): fix infinite loop when no Os are found (#3042)

    This commit prevents the orchestrator selection go routine from staying in a infinite loop when no Orchestrators can be found.
    rickstaa authored May 4, 2024
    Configuration menu
    Copy the full SHA
    ebd5045 View commit details
    Browse the repository at this point in the history

Commits on May 6, 2024

  1. feat(ai): Enhance orchestrator selection by incorporating latency (#3043

    )
    
    This commit introduces latency consideration into the orchestrator
    selection process, addressing two key issues. Firstly, it resolves a
    minor bug where the algorithm consistently selected known orchestrators
    due to a condition that never evaluated to true (see [this
    condition](https://github.com/livepeer/go-livepeer/blob/1239b4e56133003fe6a98a863cce6bdd6b5f2532/server/selection.go#L110)).
    Secondly, this change ensures that, once all orchestrators have been
    evaluated, the one with the fastest response time for a specific job is
    chosen. While the current method for calculating latency is somewhat
    basic, it sets the foundation for more sophisticated enhancements in the
    future.
    
    Co-authored-by: Brad P <[email protected]>
    rickstaa and ad-astra-video authored May 6, 2024
    Configuration menu
    Copy the full SHA
    dfb4320 View commit details
    Browse the repository at this point in the history

Commits on May 13, 2024

  1. chore(ai): update 'ai-worker' dependency

    This commit updates the 'ai-worker' dependency to the latest commit.
    rickstaa committed May 13, 2024
    Configuration menu
    Copy the full SHA
    45cf167 View commit details
    Browse the repository at this point in the history
  2. feat: add '-gateway' and deprecate '-broadcaster' (#3048)

    This commit adds the `gateway` flag and deprecates the `broadcaster` flag per core team decision (details: https://discord.com/channels/423160867534929930/1051963444598943784/1210356864643109004).
    eliteprox authored May 13, 2024
    Configuration menu
    Copy the full SHA
    180041d View commit details
    Browse the repository at this point in the history
  3. feat: remove -pricePerUnit requirement for -aiWorker flag (#3047)

    * Remove -pricePerUnit requirement for orchestrator with -AIWorker flag
    
    * refactor: add PricePerUnit comment
    
    This commit reintroduces the previously omitted comment for the
    PricePerUnit variable, improving code readability and maintainability.
    
    * refactor: simplify PricePerUnit flag check condition
    
    This commit simplifies the conditional check used to check if the
    `PricePerUnit` flag is needed.
    
    ---------
    
    Co-authored-by: Rick Staa <[email protected]>
    eliteprox and rickstaa authored May 13, 2024
    Configuration menu
    Copy the full SHA
    c18d325 View commit details
    Browse the repository at this point in the history

Commits on May 14, 2024

  1. perf(ai): update ai-worker to enable DEEPCACHE optimization

    This commit updates the https://github.com/livepeer/ai-worker to the
    latest version so that Orchestrators can enable the
    [DeepCache](https://github.com/horseee/DeepCache) optimization. This
    optimization will provide a 50% speedup for multi-step inference
    requests.
    rickstaa committed May 14, 2024
    Configuration menu
    Copy the full SHA
    ee787ea View commit details
    Browse the repository at this point in the history

Commits on May 15, 2024

  1. chore: fix Mockgen dependency error

    This commit ensures that the global
    https://pkg.go.dev/github.com/golang/mock/Mockgen package is correctly
    found when the binary is built using the makescript.
    rickstaa committed May 15, 2024
    Configuration menu
    Copy the full SHA
    d5f5e1c View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    62acd4a View commit details
    Browse the repository at this point in the history
  3. feat(ai): enable NSFW safety filter (#3054)

    This commit enables the NSFW filter on the AI Subnet that has been
    implement at the runner side in
    livepeer/ai-worker#76.
    
    BREAKING CHANGE: Depending on how dApps interact with the subnet this
    could be a breaking change given that we return an extra `nsfw`
    property.
    rickstaa authored May 15, 2024
    Configuration menu
    Copy the full SHA
    816920a View commit details
    Browse the repository at this point in the history

Commits on May 17, 2024

  1. chore(ai): update ai-worker version

    This commit updates the ai-worker so that the right go bindings are
    available and no nil errors are thrown.
    rickstaa committed May 17, 2024
    Configuration menu
    Copy the full SHA
    fc51f04 View commit details
    Browse the repository at this point in the history
  2. ci(ai): ensure livepeer builder builds on AI version tags

    This commit ensures that the livepeer builder is triggered when AI-version tags
    are used (e.g., `v0.7.2-ai-video-1`).
    rickstaa committed May 17, 2024
    Configuration menu
    Copy the full SHA
    f9aa0c1 View commit details
    Browse the repository at this point in the history
  3. fix: apply runner nil error fix (#3058)

    This commit ensures that the ai-worker is up to date so that no `nil`
    pointer runtime error is thrown when the runner container returns a
    empty response.
    rickstaa authored May 17, 2024
    Configuration menu
    Copy the full SHA
    9584c3c View commit details
    Browse the repository at this point in the history

Commits on May 20, 2024

  1. refactor(census): rename Broadcaster metrics to Gateway (#3055)

    * refactor(census): rename Broadcaster metrics to Gateway
    
    This commit renames the metrics related to Broadcaster to Gateway, following
    a team decision. More details can be found in the discussion
    here:
    [Team Discussion Link](.com/channels/423160867534929930/1051963444598943784/1210356864643109004).
    
    * chore: update pending changelog
    rickstaa committed May 20, 2024
    Configuration menu
    Copy the full SHA
    add7368 View commit details
    Browse the repository at this point in the history
  2. refactor: add -pricePerGateway and deprecate -pricePerBroadcaster (#3061

    )
    
    This commit adds the `pricePerGateway` flag and deprecates the
    `pricePerBroadcaster` flag
    per core team decision (details:
    https://discord.com/channels/423160867534929930/1051963444598943784/1210356864643109004).
    rickstaa authored May 20, 2024
    Configuration menu
    Copy the full SHA
    35db3f2 View commit details
    Browse the repository at this point in the history
  3. ci: Protect Docker 'stable' tag

    This commit introduces a safeguard to ensure that the Docker image
    tagged
    as 'stable' is only pushed when a new tag is created on the stable
    branch.
    This prevents unintended updates to the stable Docker image, ensuring
    consistency and reliability for users relying on the stable tag.
    rickstaa committed May 20, 2024
    Configuration menu
    Copy the full SHA
    55185db View commit details
    Browse the repository at this point in the history
  4. ci: fix syntax error in Docker action tags

    This commit addresses a syntax error in the Docker image tag creation
    step.
    rickstaa committed May 20, 2024
    Configuration menu
    Copy the full SHA
    2b8478d View commit details
    Browse the repository at this point in the history
  5. fix(ai): fix runtime error in aiWorker when pricePerUnit is unset (#3059

    )
    
    * Fix nil baseprice when pricePerUnit is unused in aiWorker
    
    * fix: fix priceInfo 'nil' error on discovery
    
    This commit ensures that when the `transcodePrice` is not set by the AI
    orchestrator no `nil` error is thrown when a Gateway requests the
    orchestrators OrchInfo.
    
    * fix(ai): fix incorrect transcodePrice condition
    
    This commit fixes the check that is performed to check if transcodePrice
    is set.
    
    ---------
    
    Co-authored-by: Rick Staa <[email protected]>
    eliteprox and rickstaa authored May 20, 2024
    Configuration menu
    Copy the full SHA
    03b64fb View commit details
    Browse the repository at this point in the history
  6. fix(ai): fix cli prices nil error (#3063)

    This commit ensures that the livepeer_cli does not throw a `nil` error
    when it tries to retrieve the orchestrator base price.
    rickstaa authored May 20, 2024
    Configuration menu
    Copy the full SHA
    b7a9fb7 View commit details
    Browse the repository at this point in the history

Commits on May 21, 2024

  1. feat: add -aiRunnerImage flag to pin docker image ver (#3064)

    This commit allows orchestrators to pin the https://hub.docker.com/r/livepeer/ai-runner image, preventing disruptions from breaking changes in the latest tag.
    eliteprox authored May 21, 2024
    Configuration menu
    Copy the full SHA
    6843eda View commit details
    Browse the repository at this point in the history
  2. chore(ai): update ai-worker dependency

    This commit updates the https://github.com/livepeer/ai-worker to the
    latest commit.
    rickstaa committed May 21, 2024
    Configuration menu
    Copy the full SHA
    4382fbe View commit details
    Browse the repository at this point in the history

Commits on May 29, 2024

  1. ci(docker): ensure stable tag is created on master branch

    This commit ensures that the stable tag is created on the master branch.
    rickstaa committed May 29, 2024
    Configuration menu
    Copy the full SHA
    570a00b View commit details
    Browse the repository at this point in the history

Commits on May 31, 2024

  1. feat: ai video add safety check to image to video 2 (#3071)

    * add safety check to image-to-video input image
    
    * refactor(ai): improve code syntax
    
    This commit improves the code syntax by making the output format
    generation step consistent between pipelines. It also updates the
    ai-worker to the latest version.
    
    ---------
    
    Co-authored-by: Brad P <[email protected]>
    rickstaa and ad-astra-video authored May 31, 2024
    Configuration menu
    Copy the full SHA
    aa8ae45 View commit details
    Browse the repository at this point in the history

Commits on Jun 4, 2024

  1. chore(ai): update ai-worker version

    This commit updates the ai-worker dependency to the latest version (i.e.
    v0.0.4).
    rickstaa committed Jun 4, 2024
    Configuration menu
    Copy the full SHA
    6159a84 View commit details
    Browse the repository at this point in the history
  2. chore(ai): update ai-worker to v0.0.5

    This commit updates the AI worker to v0.0.5 so that people can use the
    new I2I pix2pix model.
    rickstaa committed Jun 4, 2024
    Configuration menu
    Copy the full SHA
    bd34a1d View commit details
    Browse the repository at this point in the history
  3. chore(ai): update ai-worker to latest version

    This commit updates the ai-worker to the latest version (i.e. v0.0.6) in
    order to fix a syntax error that was introduced due to an upstream
    dependency in v0.0.4 and v0.0.5.
    rickstaa committed Jun 4, 2024
    Configuration menu
    Copy the full SHA
    6f9426b View commit details
    Browse the repository at this point in the history

Commits on Jun 5, 2024

  1. feat(ai): account for num_inference_steps inT2I latency inference sco…

    …re calculation (#3074)
    
    * fix(ai): Fix accuracy of T2I latency score when num_inference_steps provided
    
    * refactor(ai): update numInferenceSteps default
    
    This commit ensures that the same numInferenceSteps default value is
    used as the one set in
    https://github.com/livepeer/ai-worker/blob/31fe460a45e1d9e908d3a1bdcfdd8822c3889214/runner/app/routes/text_to_image.py#L28.
    
    ---------
    
    Co-authored-by: Elite Encoder <[email protected]>
    rickstaa and eliteprox authored Jun 5, 2024
    Configuration menu
    Copy the full SHA
    6535844 View commit details
    Browse the repository at this point in the history

Commits on Jun 10, 2024

  1. chore(ai): update to latest ai-worker

    This commit ensures that the go-livepeer ai-video branch uses the latest
    ai-worker dependeny (i.e. v0.0.7).
    rickstaa committed Jun 10, 2024
    Configuration menu
    Copy the full SHA
    0d51a78 View commit details
    Browse the repository at this point in the history
  2. feat(ai): add upscaling pipeline (#3077)

    * add upscale image support using stabilityai/stable-diffusion-x4-upscaler model
    
    * fix(ai): fix ai-worker client bindings
    
    This commit ensures that the right golang client bindings response and
    request types are used. It also cleans up the codebase a bit.
    
    ---------
    
    Co-authored-by: Mike Zupper <[email protected]>
    rickstaa and mikezupper authored Jun 10, 2024
    Configuration menu
    Copy the full SHA
    b2933cf View commit details
    Browse the repository at this point in the history

Commits on Jul 4, 2024

  1. chore: update Image2Image and Upscale OS storage to use requestID sim…

    …ilar to Text2Image and Image2Video (#3092)
    ad-astra-video authored Jul 4, 2024
    Configuration menu
    Copy the full SHA
    f2c9bb6 View commit details
    Browse the repository at this point in the history

Commits on Jul 8, 2024

  1. fix(ai): account for number of images in I2I latency score (#3093)

    This commit ensures that the I2I pipeline latency score calculation now
    considers the number of images.
    rickstaa authored Jul 8, 2024
    Configuration menu
    Copy the full SHA
    29d4603 View commit details
    Browse the repository at this point in the history

Commits on Jul 17, 2024

  1. feat(ai): add 'num_inference_steps' to I2I,I2V and upscale pipeliens (#…

    …3099)
    
    This commit adds support for the `num_inference_steps` parameter to the
    I2I, I2V and upscale pipelines. It also fixes a incorrect latencyScore
    calculation for the bytedance model.
    rickstaa authored Jul 17, 2024
    Configuration menu
    Copy the full SHA
    4825d68 View commit details
    Browse the repository at this point in the history
  2. feat: add audio-to-text pipeline (#3078)

    * Add speech-to-text pipeline, refactor processAIRequest and handleAIRequest to allow for various response types
    
    * Pin gomod to ai-runner for testing
    
    * Revert "Pin gomod to ai-runner for testing"
    
    This reverts commit d4ba500.
    
    * Update go mod dep for ai-worker
    
    * Calculate pixel value of audio file
    
    * fix go-mod deps
    
    * Adjust price calculation
    
    * one second per pixel
    
    * cleanup, fix missing duration
    
    * Add supported file types, calculate price by milliseconds
    
    * Add bad request response for unsupported file types
    
    * Update name of function
    
    * Update go mod to ai-runner
    
    * Use ffmpeg to get duration
    
    * update install_ffmpeg.sh to parse audio better
    
    * Check for audio codec instead of video codec
    
    * gomod edits
    
    * add docker file
    
    * Update install_ffmpeg.sh to improve audio support, Add duration validation and logging, pin lpms
    
    * rename speech-to-text to audio-to-text
    
    * Update go-mod
    
    * cleanup
    
    * update go mod
    
    * remove comment
    
    * update gomod
    
    * Update lpms mod
    
    * Update to latest lpms
    
    * Update lpms
    
    * feat(ai): apply code improvements to AudioToText pipeline
    
    This commit applies several code improvements to the AudioToText
    codebase.
    
    * Remove unnecessary logic
    
    * Remove unused error
    
    * Fix missing err
    
    * Update go.mod and tidy
    
    * chore(ai): update ai-worker and lpms to latest version
    
    This commit ensures that the ai-worker and lpms are at the latest
    versions which contain the changes needed for the audio-to-text
    pipeline.
    
    ---------
    
    Co-authored-by: 0xb79orch <[email protected]>
    Co-authored-by: Rick Staa <[email protected]>
    3 people authored Jul 17, 2024
    Configuration menu
    Copy the full SHA
    2ab10c6 View commit details
    Browse the repository at this point in the history
  3. feat(ai): add AI gateway metrics (#3087)

    * Add gateway metric for roundtrip ai times by model and pipeline
    
    * Rename metrics and add unique manifest
    
    * Fix name mismatch
    
    * modelsRequested not working correctly
    
    * feat: add initial POC AI gateway metrics
    
    This commit adds the initial AI gateway metrics so that they can
    reviewed by others. The code still need to be cleaned up and the buckets
    adjusted.
    
    * feat: improve AI metrics
    
    This commit improves the AI metrics so that they are easier to work
    with.
    
    * feat(ai): log no capacity error to metrics
    
    This commit ensures that an error is logged when the Gateway could not
    find orchestrators for a given model and capability.
    
    * feat(ai): add TicketValueSent and TicketsSent metrics
    
    This commit ensure that the `ticket_value_sent` abd `tickets_sent`
    metrics are also created for a AI Gateway.
    
    * fix(ai): ensure that AI metrics have orch address label
    
    This commit ensures that the AI gateway metrics contain the orch address
    label.
    
    * fix(ai): fix incorrect Gateway pricing metric
    
    This commit ensures that the AI job pricing is calculated correctly and
    cleans up the codebase.
    
    * refactor(ai): remove Orch label from ai_request_price metric
    
    This commit removes the Orch label from the ai_request_price metrics
    since that information is better to be retrieved from another endpoint.
    
    ---------
    
    Co-authored-by: Elite Encoder <[email protected]>
    rickstaa and eliteprox authored Jul 17, 2024
    Configuration menu
    Copy the full SHA
    f60c0c5 View commit details
    Browse the repository at this point in the history

Commits on Jul 18, 2024

  1. feat(ai): add A2T gateway metrics (#3100)

    This commit adds the gateway metrics to the Audio-to-text pipeline.
    rickstaa authored Jul 18, 2024
    Configuration menu
    Copy the full SHA
    82292c9 View commit details
    Browse the repository at this point in the history
  2. feat(ai): add AI orchestrator metrics (#3097)

    * Add gateway metric for roundtrip ai times by model and pipeline
    
    * Rename metrics and add unique manifest
    
    * Fix name mismatch
    
    * modelsRequested not working correctly
    
    * feat: add initial POC AI gateway metrics
    
    This commit adds the initial AI gateway metrics so that they can
    reviewed by others. The code still need to be cleaned up and the buckets
    adjusted.
    
    * feat: improve AI metrics
    
    This commit improves the AI metrics so that they are easier to work
    with.
    
    * feat(ai): log no capacity error to metrics
    
    This commit ensures that an error is logged when the Gateway could not
    find orchestrators for a given model and capability.
    
    * feat(ai): add TicketValueSent and TicketsSent metrics
    
    This commit ensure that the `ticket_value_sent` abd `tickets_sent`
    metrics are also created for a AI Gateway.
    
    * fix(ai): ensure that AI metrics have orch address label
    
    This commit ensures that the AI gateway metrics contain the orch address
    label.
    
    * feat(ai): add orchestrator AI census metrics
    
    This commit introduces a suite of AI orchestrator metrics to the census
    module, mirroring those received by the Gateway. The newly added metrics
    include `ai_models_requested`, `ai_request_latency_score`,
    `ai_request_price`, and `ai_request_errors`, facilitating comprehensive
    tracking and analysis of AI request handling performance on the orchestrator side.
    
    * refactor: improve orchestrator metrics tags
    
    This commit ensures that the right tags are attached to the Orchestrator
    AI metrics.
    
    * refactor(ai): improve latency score calculations
    
    This commit ensures that no devide by zero errors can occur in the
    latency score calculations.
    
    ---------
    
    Co-authored-by: Elite Encoder <[email protected]>
    rickstaa and eliteprox authored Jul 18, 2024
    Configuration menu
    Copy the full SHA
    5aadffb View commit details
    Browse the repository at this point in the history

Commits on Jul 24, 2024

  1. ci(ai): improve ci comments

    This commit applies some small comment changes to ease the conflicts
    between the main and ai-video branch.
    rickstaa committed Jul 24, 2024
    Configuration menu
    Copy the full SHA
    87c24a2 View commit details
    Browse the repository at this point in the history

Commits on Jul 25, 2024

  1. Configuration menu
    Copy the full SHA
    498eb76 View commit details
    Browse the repository at this point in the history

Commits on Jul 27, 2024

  1. Configuration menu
    Copy the full SHA
    c00361a View commit details
    Browse the repository at this point in the history
  2. chore(ai): ensure ai-video-rebased ffmpeg file is used

    Since the lpms `ai-video` and `ai-video-rebase-main` branches are not
    yet merged into the main branch we need to ensure the right AI
    install_ffmpeg.sh script is used.
    rickstaa committed Jul 27, 2024
    Configuration menu
    Copy the full SHA
    21f98a5 View commit details
    Browse the repository at this point in the history
  3. chore(ai): remove local go module dependency

    This commit removes the local go module dependency to lpms that was
    accidentally commited.
    rickstaa committed Jul 27, 2024
    Configuration menu
    Copy the full SHA
    280b4a5 View commit details
    Browse the repository at this point in the history

Commits on Jul 29, 2024

  1. test: fix capability tests (#3107)

    This commit ensures that the stubOS struct is in-line with the latest
    [livepeer/go-tools](https://github.com/livepeer/go-tools/) version.
    rickstaa authored Jul 29, 2024
    Configuration menu
    Copy the full SHA
    30641d2 View commit details
    Browse the repository at this point in the history
  2. test: fix broadcast test

    This commit fixes the bugs that were introduced by the AI codebas einto
    the broadcast test functions.
    rickstaa committed Jul 29, 2024
    Configuration menu
    Copy the full SHA
    01fc75b View commit details
    Browse the repository at this point in the history
  3. test: fix broadcast test

    This commit fixes the bugs that were introduced by the AI codebas einto
    the broadcast test functions.
    rickstaa committed Jul 29, 2024
    Configuration menu
    Copy the full SHA
    ed8c0a4 View commit details
    Browse the repository at this point in the history
  4. feat(ai): add dynamic pricePerUnit feature to AI pricing

    This commit ensures that Orchestrators can set their pricing in USD and
    the price gets updated dynamically.
    rickstaa committed Jul 29, 2024
    Configuration menu
    Copy the full SHA
    6292df1 View commit details
    Browse the repository at this point in the history

Commits on Jul 31, 2024

  1. feat(ai): add minLivepeerVersion constraint and IgnorePreReleaseVersions

    - Adds minLivepeerVersion constraint from
      #3050 to the AI codebase.
    - Introduces `IgnorePreReleaseVersions` flag to filter out pre-release versions.
    
    This update is essential for distinguishing AI subnet versions, which use pre-release
    suffixes, from standard transcoding releases. This new flag can be
    removed when merging in the main branch.
    rickstaa committed Jul 31, 2024
    Configuration menu
    Copy the full SHA
    71089b3 View commit details
    Browse the repository at this point in the history
  2. fix(ai): fix offchain 'PriceFeedWatcher is not initialized' error

    This commit ensures that the `PriceFeedWatcher is not initialized` error
    is not thrown when the software is run in `offchain` mode.
    rickstaa committed Jul 31, 2024
    Configuration menu
    Copy the full SHA
    2f95332 View commit details
    Browse the repository at this point in the history
  3. test: add pre-release suffix min version tests

    This commit adds some tests to check if pre-release versions are
    correctly handled when filtering orchestrators based on minimum version.
    rickstaa committed Jul 31, 2024
    Configuration menu
    Copy the full SHA
    74a84bc View commit details
    Browse the repository at this point in the history
  4. feat: simplify pre-release version filter logic

    This commit removes the POC `ignorePreReleaseVersions` command line
    argument for logic in the `LivepeerVersionCompatibleWith` which ensures
    that pre-release versions are only checked when the gateway specifies as
    pre-release suffix in the `orchMinLivepeerVersion` command line
    argument.
    rickstaa committed Jul 31, 2024
    Configuration menu
    Copy the full SHA
    09e7ea5 View commit details
    Browse the repository at this point in the history
  5. feat: allow Gateways to filter by pre-release

    This commit gives Gateways the ability to filter by pre-release suffix.
    When a pre-release suffix is specified in the `OrchMinLivepeerVersion`
    command line argument the software now also checks the pre-release
    version suffix on the orchestrator.
    rickstaa committed Jul 31, 2024
    Configuration menu
    Copy the full SHA
    5c98592 View commit details
    Browse the repository at this point in the history
  6. Configuration menu
    Copy the full SHA
    54142eb View commit details
    Browse the repository at this point in the history
  7. Configuration menu
    Copy the full SHA
    340256a View commit details
    Browse the repository at this point in the history
  8. refactor(ai): rename capability constraint variable

    This commit renames the orchConstraints variable in the capabilities.go
    file to better reflect that it are constraints per capabilities.
    rickstaa committed Jul 31, 2024
    Configuration menu
    Copy the full SHA
    d64f378 View commit details
    Browse the repository at this point in the history
  9. cmd: Use -gateway consistently

    Avoid references to deprecated CLI flags.
    j0sh authored and rickstaa committed Jul 31, 2024
    Configuration menu
    Copy the full SHA
    bac48c5 View commit details
    Browse the repository at this point in the history
  10. Configuration menu
    Copy the full SHA
    b2c20a5 View commit details
    Browse the repository at this point in the history
  11. chore(ai): remove lpms local dependency

    This commit ensure that the right remote dependency is used for the lpms
    package.
    rickstaa committed Jul 31, 2024
    Configuration menu
    Copy the full SHA
    bd55cd2 View commit details
    Browse the repository at this point in the history
  12. chore(ai): update lpms dependency

    This commit updates the lpms dependency to the lastest version of the
    `ai-video-rebase-main`.
    rickstaa committed Jul 31, 2024
    Configuration menu
    Copy the full SHA
    8c6bd5c View commit details
    Browse the repository at this point in the history

Commits on Aug 1, 2024

  1. feat: remove AI specific minVersion constraint logic

    This commit removes the ai-specific logic that allows ai suffixes to
    work during version constraint checking. This was done to add it back in
    a seperate commit so that we can always revert.
    rickstaa committed Aug 1, 2024
    Configuration menu
    Copy the full SHA
    95c3b6d View commit details
    Browse the repository at this point in the history
  2. feat(ai): Add AI suffix handling for min version logic

    This commit introduces logic to handle version constraints with AI-specific
    suffixes (e.g., v0.7.6-ai.1). This ensures compatibility during version
    constraint filtering. Note that this logic should be removed when merging
    into the master branch.
    rickstaa committed Aug 1, 2024
    Configuration menu
    Copy the full SHA
    4c4b1b6 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    8036856 View commit details
    Browse the repository at this point in the history

Commits on Aug 2, 2024

  1. fix: add AIModels currency config field and fix pixelsPerUnit handling

    This commit adds a new `currency` field to the `AIModelConfig` to specify the
    currency. Additionally, it improves the AI startup code in `starter.go` to
    correctly handle parsing of this currency while ensuring compatibility with
    'offchain' mode. Further improvements to the AI startup code are deferred to
    avoid conflicts with existing pull requests.
    rickstaa committed Aug 2, 2024
    Configuration menu
    Copy the full SHA
    8e654d7 View commit details
    Browse the repository at this point in the history
  2. fix(ai): temporarily disable arm64 builds

    This commit disables the linux/arm64 for now as we haven't yet added support it.
    This prevent the Docker CI from failing.
    rickstaa committed Aug 2, 2024
    Configuration menu
    Copy the full SHA
    3ff8e74 View commit details
    Browse the repository at this point in the history
  3. fix(ai): temporarily disable arm64 builds

    This commit disables the linux/arm64 for now as we haven't yet added support it.
    This prevent the Docker CI from failing.
    rickstaa committed Aug 2, 2024
    Configuration menu
    Copy the full SHA
    9cdeeb5 View commit details
    Browse the repository at this point in the history

Commits on Aug 7, 2024

  1. chore: merge master into ai-video (#3103)

    * eth,eth/watcher: Create Chainlink price feed watcher (#2972)
    
    * eth/watchers: Create PriceFeed watcher
    
    Makefile: Use mockgen binary from tool dependencies
    
    eth/contracts: Add chainlink interfaces source
    
    Makefile: Generate Chainlink contracts ABI
    
    tools: Add abigen tool to repo
    
    eth/contracts: Generate chainlink bindings
    
    Makefile: Fix abigen bindings generation
    
    Revert everything abigen
    
    Turns out there's already bindings exported from the Chainlink lib.
    
    go.mod: Add chainlink library
    
    eth/watchers: Add pricefeed watcher
    
    eth/watchers: Clean-up event watching code
    
    eth/watchers: Improve price tracking
    
    Revert "go.mod: Add chainlink library"
    
    This reverts commit ac415bd.
    
    Revert "Revert everything abigen"
    
    This reverts commit b7c40b1.
    
    eth/contracts: Gen bindings for proxy iface
    
    eth/watchers: Use local bindings for contracts
    
    eth/watchers: Simplify event subs logic
    
    eth/watchers: Simplify&optimize truncated ticker
    
    eth/watchers: Update decimals on fetch
    
    eth/watchers: Improve handling of decimals
    
    eth/watchers: Fix price rat creation
    
    eth/watchers: Make sure we use UTC on truncated timer
    
    eth/contracts/chainlink: Generate only V3 contract bindings
    
    eth/watchers: Watch PriceFeed only with polling
    
    eth/watchers: Add a retry logic on price update
    
    eth/watchers: Use clog instead of fmt.Printf
    
    * eth: Create separate pricefeed client unit
    
    This will make the code more testable.
    
    * eth: Add tests for pricefeed client
    
    * eth/watchers: Add tests to the truncated ticker
    
    Gosh that was much harder than I thought
    
    * eth/watchers: Add tests for pricefeedwatcher
    
    * eth: Add comments to the new components
    
    * go fmt
    
    * eth: Address minor review comments
    
    * eth,eth/watchers: Improve pricefeed watcher interface
    
    * eth/watchers: Remove truncated ticker tests
    
    * cmd/livepeer: Use price feed watcher for dynamic pricePerPixel (#2981)
    
    * eth/watchers: Create PriceFeed watcher
    
    Makefile: Use mockgen binary from tool dependencies
    
    eth/contracts: Add chainlink interfaces source
    
    Makefile: Generate Chainlink contracts ABI
    
    tools: Add abigen tool to repo
    
    eth/contracts: Generate chainlink bindings
    
    Makefile: Fix abigen bindings generation
    
    Revert everything abigen
    
    Turns out there's already bindings exported from the Chainlink lib.
    
    go.mod: Add chainlink library
    
    eth/watchers: Add pricefeed watcher
    
    eth/watchers: Clean-up event watching code
    
    eth/watchers: Improve price tracking
    
    Revert "go.mod: Add chainlink library"
    
    This reverts commit ac415bd.
    
    Revert "Revert everything abigen"
    
    This reverts commit b7c40b1.
    
    eth/contracts: Gen bindings for proxy iface
    
    eth/watchers: Use local bindings for contracts
    
    eth/watchers: Simplify event subs logic
    
    eth/watchers: Simplify&optimize truncated ticker
    
    eth/watchers: Update decimals on fetch
    
    eth/watchers: Improve handling of decimals
    
    eth/watchers: Fix price rat creation
    
    eth/watchers: Make sure we use UTC on truncated timer
    
    eth/contracts/chainlink: Generate only V3 contract bindings
    
    eth/watchers: Watch PriceFeed only with polling
    
    eth/watchers: Add a retry logic on price update
    
    eth/watchers: Use clog instead of fmt.Printf
    
    * eth: Create separate pricefeed client unit
    
    This will make the code more testable.
    
    * eth: Add tests for pricefeed client
    
    * eth/watchers: Add tests to the truncated ticker
    
    Gosh that was much harder than I thought
    
    * eth/watchers: Add tests for pricefeedwatcher
    
    * eth: Add comments to the new components
    
    * go fmt
    
    * cmd: make pricePerUnit flags strings
    
    * cmd: Allow price per unit to be speficied with a currency
    
    Currently ignoring the currency value.
    
    * cmd: Add logic to start price update loop
    
    * cmd: Add flag for specifying price feed address
    
    * cmd: Add a lil test to priceDataToWei
    
    * TODO: Reminder for something I noticed is missing
    
    * cmd/starter: Support currencies for custom broadcaster prices
    
    * eth: Address minor review comments
    
    * eth,eth/watchers: Improve pricefeed watcher interface
    
    * eth/watchers: Fix pricefeed watcher after merge
    
    * cmd,core,server: Support dynamic updates to price in USD
    
    * eth/watchers: Remove truncated ticker tests
    
    * eth/watchers: Finalize pricefeedwatcher docs/tests
    
    * cmd: Address review comment
    
    * core: Create tests for autoconvertedprice
    
    * cmd,core: Move wei default to AutoConvertedPrice
    
    * Address review comments
    
    * cmd: Fix the e2e flow for setting/updating configs
    
    * CHANGELOG
    
    * cmd: Make sure pricePerPixel can be specified with e notation
    
    Parse it directlty as a big.Rat from a raw string, like I was
    doing for pricePerUnit in some places.
    
    * Fix tests
    
    Turns out tests were not running on my branch due to base branch
    
    * go fmt
    
    * core: Fix typo in comment
    
    * cmd,server: Use 3 decimal points when logging PPP
    
    Found out that's officially supported precision on the
    discovery logic, so let's reflect that here.
    
    * Release 0.7.3 (#2988)
    
    * release v0.7.3
    
    * release v0.7.3
    
    * Revert "Bump ffmpeg version and nv-codec-headers" (#2989)
    
    * Revert "Bump ffmpeg version and nv-codec-headers (#2973)"
    
    This reverts commit cad6713.
    
    * Revert "Update CUDA build version from 11.7.1 to 12.0.0 (#2978)"
    
    This reverts commit 6c09a9f.
    
    * Reapply "Update CUDA build version from 11.7.1 to 12.0.0 (#2978)"
    
    This reverts commit ebbf210.
    
    * Force ffmpeg reinstall
    
    * Revert "Force ffmpeg reinstall"
    
    This reverts commit 5adb9a5.
    
    ---------
    
    Co-authored-by: Victor Elias <[email protected]>
    
    * Bump LPMS (#2992)
    
    * release v0.7.4 (#2993)
    
    * server: Skip redundant maxPrice check in ongoing session (#2994)
    
    * server: Remove maxPrice check mid-session
    
    * server: Fix tests
    
    * server: Fix erroneous usage of assert.EqualErrorf
    
    When I was writing the tests for validatePrice I found out
    we were using that function wrong in a couple places and
    never checking any error. We were sending err.Error() to check
    the error from err.
    
    * server: Fix error checks after fixing assertion
    
    * CHANGELOG
    
    * server: Allow Os price to increase up to 2x mid-session (#2995)
    
    * server: Allow dynamic (and sometimes >max) prices for Os
    
    * CHANGELOG
    
    * server,discovery: Allow B to use any O in case none match maxPrice (#2999)
    
    * discovery: Ignore maxPrice on db_discovery queries
    
    Still kept the feature on the db as it had all the tests
    already implemented and could still be useful in the future.
    I can remove it if preferred though.
    
    * server: Get prices as big rats for selection
    
    While this may not seem useful now since we just convert
    them to floats on the probability calculation, it will be
    useful later when comparing prices to max price.
    
    * server: Add maxPrice filter logic on selection algorithm
    
    * CHANGELOG
    
    * server: Break filter in 2 functions
    
    * Fix transcoding price metrics (#3001)
    
    * ci(ai): add AI issue templates
    
    This commit introduces two new AI-specific issue templates, aiming to streamline
    the routing of AI subnet-related issues and feature requests to the appropriate team.
    
    * ci(ai): add AI pull request labeler
    
    This commit adds a pull request labeler action that automatically
    attaches the `ai` label when a pull request is created to the `ai-video`
    branch.
    
    * ci: change issue template order and add PR labeler config (#3006)
    
    * ci: change issue template order
    
    This commit ensures that the main branch issue templates are put above
    the AI related issue templates.
    
    * ci(ai): add PR labeler config file
    
    This commmit adds a https://github.com/actions/labeler configuration
    file so that all PRs on the `ai-video` branch will be correctly labeled
    with the `ai` label.
    
    * ci(ai): fix incorrect labels (#3012)
    
    * ci(ai): fix incorrect labels
    
    This commit fixed the labels that were specified in the Issue Templates
    to the one found in the repository.
    
    * ci: rename labeler and remove trailing whitespace
    
    * ci(ai): fix pull request config warning (#3018) (#3019)
    
    * ci(ai): fix pull request config warning (#3018)
    
    This commit gets rid of the Pull request labeler configuration file
    warning.
    
    * ci(ai): auto assign AI issues
    
    This commit auto assigns the AI issues to the right member of the AI
    team.
    
    * ci(ai): cleanup labeler actions
    
    This commit cleans up the labeler actions and ensure they run on the
    right triggers.
    
    * Initialize round by any B/O who has the initializeRound flag set to true (#3029)
    
    * Fix CI Darwin Build (#3049)
    
    * Fix CI
    
    * Fix CI
    
    * chore: fix function names (#3040)
    
    Signed-off-by: kevincatty <[email protected]>
    Co-authored-by: Rafał Leszko <[email protected]>
    
    * Create option to filter Os by min livepeer version used (#3050)
    
    * Update LPMS with the mobile transcoding fix (#3003)
    
    * Release 0.7.5 (#3051)
    
    * refactor: add -gateway and deprecate -broadcaster (#3053)
    
    * refactor: add -gateway and deprecate -broadcaster
    
    This commit adds the `gateway` flag and deprecates the `broadcaster` flag
    per core team decision (details:
    https://discord.com/channels/423160867534929930/1051963444598943784/1210356864643109004).
    
    * chore: update pending changelog
    
    ---------
    
    Co-authored-by: John | Elite Encoder <[email protected]>
    
    * refactor(census): rename Broadcaster metrics to Gateway (#3055)
    
    * refactor(census): rename Broadcaster metrics to Gateway
    
    This commit renames the metrics related to Broadcaster to Gateway, following
    a team decision. More details can be found in the discussion
    here:
    [Team Discussion Link](.com/channels/423160867534929930/1051963444598943784/1210356864643109004).
    
    * chore: update pending changelog
    
    * refactor: add -pricePerGateway and deprecate -pricePerBroadcaster (#3056)
    
    * refactor: add -pricePerGateway and deprecate -pricePerBroadcaster
    
    This commit adds the `pricePerGateway` flag and deprecates the `pricePerBroadcaster` flag
    per core team decision (details:
    https://discord.com/channels/423160867534929930/1051963444598943784/1210356864643109004).
    
    * chore: update pending changelog
    
    * refactor: remove redundant deprecation comment
    
    This commit removes the `PricePerBroadcaster` deprecation comment since
    this is already clear from the glog warning below.
    
    * fix: correct the `pricePerBroadcaster` flag check
    
    This commit ensures that the deprecation condition for the `pricePerBroadcaster`
    flag properly handles the default empty string value.
    
    * fix: ensure 'pricePerGateway' is used
    
    This commit ensures that the `pricePerGateway` is correctly used instead
    of the `pricePerBroadcaster` when it is set.
    
    * refactor: deprecate 'pricePerGateway' broadcasters property in favor of 'gateways'
    
    This commit updates the configuration to replace the `broadcasters` property
    specified under the `pricePerGateway` flag with `gateways`. Additionally, it
    ensures that a warning is issued when the deprecated property is still used.
    
    * test: fix TestParseGetBroadcasterPrices test
    
    This commit ensures that the TestParseGetBroadcasterPrices function uses
    the new getGatewayPrices function.
    
    * test: rename TestParseGetBroadcasterPrices to reflect Gateway naming
    
    This commit updates the `TestParseGetBroadcasterPrices` function to
    `TestParseGetGatewayPrices` to align with the new node naming convention.
    
    * ci: protect Docker 'stable' tag (#3062)
    
    This commit introduces a safeguard to ensure that the Docker image
    tagged
    as 'stable' is only pushed when a new tag is created on the stable
    branch.
    This prevents unintended updates to the stable Docker image, ensuring
    consistency and reliability for users relying on the stable tag.
    
    * Return appropriate errors when auth fails, not just 5xx (#3065)
    
    * Return appropriate errors when auth fails, not just 5xx
    
    * Fix unit tests for new signature
    
    * Fix remaining tests
    
    * Fix another test
    
    * Refactor Forbidden to error type
    
    * Refactor Forbidden to error type
    
    ---------
    
    Co-authored-by: Rafał Leszko <[email protected]>
    
    * ci: fix syntax error in Docker action tags (#3068)
    
    * ci: fix syntax error in Docker action tags
    
    This commit addresses a syntax error in the Docker image tag creation
    step.
    
    * ci(docker): ensure stable tag is created on master branch
    
    This commit ensures that the stable tag is created on the master branch.
    
    * chore: fix some comments (#3070)
    
    Signed-off-by: linghuying <[email protected]>
    
    * Add logging to selection_algorithm.go (#3076)
    
    * Add logging to selection_algorithm.go
    
    * Add even more logging
    
    * Fix typo in logs (#3079)
    
    * Add ctx to logging for selection algorithm (#3080)
    
    * Add ctx to logging for selection algorithm
    
    * Reorg imports
    
    * Fix unit tests
    
    * chore: make function comment match function name (#3081)
    
    Signed-off-by: tongjicoder <[email protected]>
    
    * refactor: rename internal references from Broadcaster to Gateway (#3060)
    
    * refactor: rename internal references from Broadcaster to Gateway
    
    This commit updates internal references from 'Broadcaster' to 'Gateway'
    in accordance with the core team’s decision. For more details, refer to
    the discussion: [Discord
    Link](https://discord.com/channels/423160867534929930/1051963444598943784/1210356864643109004).
    
    * chore: update pending changelog
    
    * Add logging to the session refresh (#3083)
    
    * Add `/healthz` endpoint (#3095)
    
    * Update LPMS to ffmpeg 7 (#3096)
    
    * install_ffmpeg: point to LPMS
    
    * Update to use ffmpeg7 LPMS
    
    * release v0.7.6
    
    * chore(ai): ensure ai-video-rebased ffmpeg file is used
    
    Since the lpms `ai-video` and `ai-video-rebase-main` branches are not
    yet merged into the main branch we need to ensure the right AI
    install_ffmpeg.sh script is used.
    
    * chore(ai): remove local go module dependency
    
    This commit removes the local go module dependency to lpms that was
    accidentally commited.
    
    * test: fix broadcast test
    
    This commit fixes the bugs that were introduced by the AI codebas einto
    the broadcast test functions.
    
    * feat(ai): add dynamic pricePerUnit feature to AI pricing
    
    This commit ensures that Orchestrators can set their pricing in USD and
    the price gets updated dynamically.
    
    * cmd: Use `-gateway` consistently
    
    Avoid references to deprecated CLI flags.
    
    * feat(ai): add minLivepeerVersion constraint and IgnorePreReleaseVersions
    
    - Adds minLivepeerVersion constraint from
      #3050 to the AI codebase.
    - Introduces `IgnorePreReleaseVersions` flag to filter out pre-release versions.
    
    This update is essential for distinguishing AI subnet versions, which use pre-release
    suffixes, from standard transcoding releases. This new flag can be
    removed when merging in the main branch.
    
    * fix(ai): fix offchain 'PriceFeedWatcher is not initialized' error
    
    This commit ensures that the `PriceFeedWatcher is not initialized` error
    is not thrown when the software is run in `offchain` mode.
    
    * test: add pre-release suffix min version tests
    
    This commit adds some tests to check if pre-release versions are
    correctly handled when filtering orchestrators based on minimum version.
    
    * feat: simplify pre-release version filter logic
    
    This commit removes the POC `ignorePreReleaseVersions` command line
    argument for logic in the `LivepeerVersionCompatibleWith` which ensures
    that pre-release versions are only checked when the gateway specifies as
    pre-release suffix in the `orchMinLivepeerVersion` command line
    argument.
    
    * feat: allow Gateways to filter by pre-release
    
    This commit gives Gateways the ability to filter by pre-release suffix.
    When a pre-release suffix is specified in the `OrchMinLivepeerVersion`
    command line argument the software now also checks the pre-release
    version suffix on the orchestrator.
    
    * refactor(ai): rename capability constraint variable
    
    This commit renames the orchConstraints variable in the capabilities.go
    file to better reflect that it are constraints per capabilities.
    
    * chore(ai): remove lpms local dependency
    
    This commit ensure that the right remote dependency is used for the lpms
    package.
    
    * chore(ai): update lpms dependency
    
    This commit updates the lpms dependency to the lastest version of the
    `ai-video-rebase-main`.
    
    * feat: remove AI specific minVersion constraint logic
    
    This commit removes the ai-specific logic that allows ai suffixes to
    work during version constraint checking. This was done to add it back in
    a seperate commit so that we can always revert.
    
    * feat(ai): Add AI suffix handling for min version logic
    
    This commit introduces logic to handle version constraints with AI-specific
    suffixes (e.g., v0.7.6-ai.1). This ensures compatibility during version
    constraint filtering. Note that this logic should be removed when merging
    into the master branch.
    
    * core: Make the AI config take a big rat
    
    * fix: add AIModels currency config field and fix pixelsPerUnit handling
    
    This commit adds a new `currency` field to the `AIModelConfig` to specify the
    currency. Additionally, it improves the AI startup code in `starter.go` to
    correctly handle parsing of this currency while ensuring compatibility with
    'offchain' mode. Further improvements to the AI startup code are deferred to
    avoid conflicts with existing pull requests.
    
    * fix(ai): temporarily disable arm64 builds
    
    This commit disables the linux/arm64 for now as we haven't yet added support it.
    This prevent the Docker CI from failing.
    
    ---------
    
    Signed-off-by: kevincatty <[email protected]>
    Signed-off-by: linghuying <[email protected]>
    Signed-off-by: tongjicoder <[email protected]>
    Co-authored-by: Victor Elias <[email protected]>
    Co-authored-by: Rafał Leszko <[email protected]>
    Co-authored-by: Thom Shutt <[email protected]>
    Co-authored-by: Victor Elias <[email protected]>
    Co-authored-by: kevincatty <[email protected]>
    Co-authored-by: John | Elite Encoder <[email protected]>
    Co-authored-by: linghuying <[email protected]>
    Co-authored-by: tongjicoder <[email protected]>
    Co-authored-by: Josh Allmann <[email protected]>
    10 people authored Aug 7, 2024
    Configuration menu
    Copy the full SHA
    c2da0bd View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    e9b1410 View commit details
    Browse the repository at this point in the history
  3. Merge pull request #3122 from livepeer/ai-video-rebase

    * eth,eth/watcher: Create Chainlink price feed watcher (#2972)
    
    * eth/watchers: Create PriceFeed watcher
    
    Makefile: Use mockgen binary from tool dependencies
    
    eth/contracts: Add chainlink interfaces source
    
    Makefile: Generate Chainlink contracts ABI
    
    tools: Add abigen tool to repo
    
    eth/contracts: Generate chainlink bindings
    
    Makefile: Fix abigen bindings generation
    
    Revert everything abigen
    
    Turns out there's already bindings exported from the Chainlink lib.
    
    go.mod: Add chainlink library
    
    eth/watchers: Add pricefeed watcher
    
    eth/watchers: Clean-up event watching code
    
    eth/watchers: Improve price tracking
    
    Revert "go.mod: Add chainlink library"
    
    This reverts commit ac415bd.
    
    Revert "Revert everything abigen"
    
    This reverts commit b7c40b1.
    
    eth/contracts: Gen bindings for proxy iface
    
    eth/watchers: Use local bindings for contracts
    
    eth/watchers: Simplify event subs logic
    
    eth/watchers: Simplify&optimize truncated ticker
    
    eth/watchers: Update decimals on fetch
    
    eth/watchers: Improve handling of decimals
    
    eth/watchers: Fix price rat creation
    
    eth/watchers: Make sure we use UTC on truncated timer
    
    eth/contracts/chainlink: Generate only V3 contract bindings
    
    eth/watchers: Watch PriceFeed only with polling
    
    eth/watchers: Add a retry logic on price update
    
    eth/watchers: Use clog instead of fmt.Printf
    
    * eth: Create separate pricefeed client unit
    
    This will make the code more testable.
    
    * eth: Add tests for pricefeed client
    
    * eth/watchers: Add tests to the truncated ticker
    
    Gosh that was much harder than I thought
    
    * eth/watchers: Add tests for pricefeedwatcher
    
    * eth: Add comments to the new components
    
    * go fmt
    
    * eth: Address minor review comments
    
    * eth,eth/watchers: Improve pricefeed watcher interface
    
    * eth/watchers: Remove truncated ticker tests
    
    * cmd/livepeer: Use price feed watcher for dynamic pricePerPixel (#2981)
    
    * eth/watchers: Create PriceFeed watcher
    
    Makefile: Use mockgen binary from tool dependencies
    
    eth/contracts: Add chainlink interfaces source
    
    Makefile: Generate Chainlink contracts ABI
    
    tools: Add abigen tool to repo
    
    eth/contracts: Generate chainlink bindings
    
    Makefile: Fix abigen bindings generation
    
    Revert everything abigen
    
    Turns out there's already bindings exported from the Chainlink lib.
    
    go.mod: Add chainlink library
    
    eth/watchers: Add pricefeed watcher
    
    eth/watchers: Clean-up event watching code
    
    eth/watchers: Improve price tracking
    
    Revert "go.mod: Add chainlink library"
    
    This reverts commit ac415bd.
    
    Revert "Revert everything abigen"
    
    This reverts commit b7c40b1.
    
    eth/contracts: Gen bindings for proxy iface
    
    eth/watchers: Use local bindings for contracts
    
    eth/watchers: Simplify event subs logic
    
    eth/watchers: Simplify&optimize truncated ticker
    
    eth/watchers: Update decimals on fetch
    
    eth/watchers: Improve handling of decimals
    
    eth/watchers: Fix price rat creation
    
    eth/watchers: Make sure we use UTC on truncated timer
    
    eth/contracts/chainlink: Generate only V3 contract bindings
    
    eth/watchers: Watch PriceFeed only with polling
    
    eth/watchers: Add a retry logic on price update
    
    eth/watchers: Use clog instead of fmt.Printf
    
    * eth: Create separate pricefeed client unit
    
    This will make the code more testable.
    
    * eth: Add tests for pricefeed client
    
    * eth/watchers: Add tests to the truncated ticker
    
    Gosh that was much harder than I thought
    
    * eth/watchers: Add tests for pricefeedwatcher
    
    * eth: Add comments to the new components
    
    * go fmt
    
    * cmd: make pricePerUnit flags strings
    
    * cmd: Allow price per unit to be speficied with a currency
    
    Currently ignoring the currency value.
    
    * cmd: Add logic to start price update loop
    
    * cmd: Add flag for specifying price feed address
    
    * cmd: Add a lil test to priceDataToWei
    
    * TODO: Reminder for something I noticed is missing
    
    * cmd/starter: Support currencies for custom broadcaster prices
    
    * eth: Address minor review comments
    
    * eth,eth/watchers: Improve pricefeed watcher interface
    
    * eth/watchers: Fix pricefeed watcher after merge
    
    * cmd,core,server: Support dynamic updates to price in USD
    
    * eth/watchers: Remove truncated ticker tests
    
    * eth/watchers: Finalize pricefeedwatcher docs/tests
    
    * cmd: Address review comment
    
    * core: Create tests for autoconvertedprice
    
    * cmd,core: Move wei default to AutoConvertedPrice
    
    * Address review comments
    
    * cmd: Fix the e2e flow for setting/updating configs
    
    * CHANGELOG
    
    * cmd: Make sure pricePerPixel can be specified with e notation
    
    Parse it directlty as a big.Rat from a raw string, like I was
    doing for pricePerUnit in some places.
    
    * Fix tests
    
    Turns out tests were not running on my branch due to base branch
    
    * go fmt
    
    * core: Fix typo in comment
    
    * cmd,server: Use 3 decimal points when logging PPP
    
    Found out that's officially supported precision on the
    discovery logic, so let's reflect that here.
    
    * Release 0.7.3 (#2988)
    
    * release v0.7.3
    
    * release v0.7.3
    
    * Revert "Bump ffmpeg version and nv-codec-headers" (#2989)
    
    * Revert "Bump ffmpeg version and nv-codec-headers (#2973)"
    
    This reverts commit cad6713.
    
    * Revert "Update CUDA build version from 11.7.1 to 12.0.0 (#2978)"
    
    This reverts commit 6c09a9f.
    
    * Reapply "Update CUDA build version from 11.7.1 to 12.0.0 (#2978)"
    
    This reverts commit ebbf210.
    
    * Force ffmpeg reinstall
    
    * Revert "Force ffmpeg reinstall"
    
    This reverts commit 5adb9a5.
    
    ---------
    
    Co-authored-by: Victor Elias <[email protected]>
    
    * Bump LPMS (#2992)
    
    * release v0.7.4 (#2993)
    
    * server: Skip redundant maxPrice check in ongoing session (#2994)
    
    * server: Remove maxPrice check mid-session
    
    * server: Fix tests
    
    * server: Fix erroneous usage of assert.EqualErrorf
    
    When I was writing the tests for validatePrice I found out
    we were using that function wrong in a couple places and
    never checking any error. We were sending err.Error() to check
    the error from err.
    
    * server: Fix error checks after fixing assertion
    
    * CHANGELOG
    
    * server: Allow Os price to increase up to 2x mid-session (#2995)
    
    * server: Allow dynamic (and sometimes >max) prices for Os
    
    * CHANGELOG
    
    * server,discovery: Allow B to use any O in case none match maxPrice (#2999)
    
    * discovery: Ignore maxPrice on db_discovery queries
    
    Still kept the feature on the db as it had all the tests
    already implemented and could still be useful in the future.
    I can remove it if preferred though.
    
    * server: Get prices as big rats for selection
    
    While this may not seem useful now since we just convert
    them to floats on the probability calculation, it will be
    useful later when comparing prices to max price.
    
    * server: Add maxPrice filter logic on selection algorithm
    
    * CHANGELOG
    
    * server: Break filter in 2 functions
    
    * Fix transcoding price metrics (#3001)
    
    * ci(ai): add AI issue templates
    
    This commit introduces two new AI-specific issue templates, aiming to streamline
    the routing of AI subnet-related issues and feature requests to the appropriate team.
    
    * ci(ai): add AI pull request labeler
    
    This commit adds a pull request labeler action that automatically
    attaches the `ai` label when a pull request is created to the `ai-video`
    branch.
    
    * ci: change issue template order and add PR labeler config (#3006)
    
    * ci: change issue template order
    
    This commit ensures that the main branch issue templates are put above
    the AI related issue templates.
    
    * ci(ai): add PR labeler config file
    
    This commmit adds a https://github.com/actions/labeler configuration
    file so that all PRs on the `ai-video` branch will be correctly labeled
    with the `ai` label.
    
    * ci(ai): fix incorrect labels (#3012)
    
    * ci(ai): fix incorrect labels
    
    This commit fixed the labels that were specified in the Issue Templates
    to the one found in the repository.
    
    * ci: rename labeler and remove trailing whitespace
    
    * ci(ai): fix pull request config warning (#3018) (#3019)
    
    * ci(ai): fix pull request config warning (#3018)
    
    This commit gets rid of the Pull request labeler configuration file
    warning.
    
    * ci(ai): auto assign AI issues
    
    This commit auto assigns the AI issues to the right member of the AI
    team.
    
    * ci(ai): cleanup labeler actions
    
    This commit cleans up the labeler actions and ensure they run on the
    right triggers.
    
    * Initialize round by any B/O who has the initializeRound flag set to true (#3029)
    
    * Fix CI Darwin Build (#3049)
    
    * Fix CI
    
    * Fix CI
    
    * chore: fix function names (#3040)
    
    Signed-off-by: kevincatty <[email protected]>
    Co-authored-by: Rafał Leszko <[email protected]>
    
    * Create option to filter Os by min livepeer version used (#3050)
    
    * Update LPMS with the mobile transcoding fix (#3003)
    
    * Release 0.7.5 (#3051)
    
    * refactor: add -gateway and deprecate -broadcaster (#3053)
    
    * refactor: add -gateway and deprecate -broadcaster
    
    This commit adds the `gateway` flag and deprecates the `broadcaster` flag
    per core team decision (details:
    https://discord.com/channels/423160867534929930/1051963444598943784/1210356864643109004).
    
    * chore: update pending changelog
    
    ---------
    
    Co-authored-by: John | Elite Encoder <[email protected]>
    
    * refactor(census): rename Broadcaster metrics to Gateway (#3055)
    
    * refactor(census): rename Broadcaster metrics to Gateway
    
    This commit renames the metrics related to Broadcaster to Gateway, following
    a team decision. More details can be found in the discussion
    here:
    [Team Discussion Link](.com/channels/423160867534929930/1051963444598943784/1210356864643109004).
    
    * chore: update pending changelog
    
    * refactor: add -pricePerGateway and deprecate -pricePerBroadcaster (#3056)
    
    * refactor: add -pricePerGateway and deprecate -pricePerBroadcaster
    
    This commit adds the `pricePerGateway` flag and deprecates the `pricePerBroadcaster` flag
    per core team decision (details:
    https://discord.com/channels/423160867534929930/1051963444598943784/1210356864643109004).
    
    * chore: update pending changelog
    
    * refactor: remove redundant deprecation comment
    
    This commit removes the `PricePerBroadcaster` deprecation comment since
    this is already clear from the glog warning below.
    
    * fix: correct the `pricePerBroadcaster` flag check
    
    This commit ensures that the deprecation condition for the `pricePerBroadcaster`
    flag properly handles the default empty string value.
    
    * fix: ensure 'pricePerGateway' is used
    
    This commit ensures that the `pricePerGateway` is correctly used instead
    of the `pricePerBroadcaster` when it is set.
    
    * refactor: deprecate 'pricePerGateway' broadcasters property in favor of 'gateways'
    
    This commit updates the configuration to replace the `broadcasters` property
    specified under the `pricePerGateway` flag with `gateways`. Additionally, it
    ensures that a warning is issued when the deprecated property is still used.
    
    * test: fix TestParseGetBroadcasterPrices test
    
    This commit ensures that the TestParseGetBroadcasterPrices function uses
    the new getGatewayPrices function.
    
    * test: rename TestParseGetBroadcasterPrices to reflect Gateway naming
    
    This commit updates the `TestParseGetBroadcasterPrices` function to
    `TestParseGetGatewayPrices` to align with the new node naming convention.
    
    * ci: protect Docker 'stable' tag (#3062)
    
    This commit introduces a safeguard to ensure that the Docker image
    tagged
    as 'stable' is only pushed when a new tag is created on the stable
    branch.
    This prevents unintended updates to the stable Docker image, ensuring
    consistency and reliability for users relying on the stable tag.
    
    * Return appropriate errors when auth fails, not just 5xx (#3065)
    
    * Return appropriate errors when auth fails, not just 5xx
    
    * Fix unit tests for new signature
    
    * Fix remaining tests
    
    * Fix another test
    
    * Refactor Forbidden to error type
    
    * Refactor Forbidden to error type
    
    ---------
    
    Co-authored-by: Rafał Leszko <[email protected]>
    
    * ci: fix syntax error in Docker action tags (#3068)
    
    * ci: fix syntax error in Docker action tags
    
    This commit addresses a syntax error in the Docker image tag creation
    step.
    
    * ci(docker): ensure stable tag is created on master branch
    
    This commit ensures that the stable tag is created on the master branch.
    
    * chore: fix some comments (#3070)
    
    Signed-off-by: linghuying <[email protected]>
    
    * Add logging to selection_algorithm.go (#3076)
    
    * Add logging to selection_algorithm.go
    
    * Add even more logging
    
    * Fix typo in logs (#3079)
    
    * Add ctx to logging for selection algorithm (#3080)
    
    * Add ctx to logging for selection algorithm
    
    * Reorg imports
    
    * Fix unit tests
    
    * chore: make function comment match function name (#3081)
    
    Signed-off-by: tongjicoder <[email protected]>
    
    * refactor: rename internal references from Broadcaster to Gateway (#3060)
    
    * refactor: rename internal references from Broadcaster to Gateway
    
    This commit updates internal references from 'Broadcaster' to 'Gateway'
    in accordance with the core team’s decision. For more details, refer to
    the discussion: [Discord
    Link](https://discord.com/channels/423160867534929930/1051963444598943784/1210356864643109004).
    
    * chore: update pending changelog
    
    * Add logging to the session refresh (#3083)
    
    * Add `/healthz` endpoint (#3095)
    
    * Update LPMS to ffmpeg 7 (#3096)
    
    * install_ffmpeg: point to LPMS
    
    * Update to use ffmpeg7 LPMS
    
    * release v0.7.6
    
    * chore(ai): ensure ai-video-rebased ffmpeg file is used
    
    Since the lpms `ai-video` and `ai-video-rebase-main` branches are not
    yet merged into the main branch we need to ensure the right AI
    install_ffmpeg.sh script is used.
    
    * chore(ai): remove local go module dependency
    
    This commit removes the local go module dependency to lpms that was
    accidentally commited.
    
    * test: fix broadcast test
    
    This commit fixes the bugs that were introduced by the AI codebas einto
    the broadcast test functions.
    
    * feat(ai): add dynamic pricePerUnit feature to AI pricing
    
    This commit ensures that Orchestrators can set their pricing in USD and
    the price gets updated dynamically.
    
    * cmd: Use `-gateway` consistently
    
    Avoid references to deprecated CLI flags.
    
    * feat(ai): add minLivepeerVersion constraint and IgnorePreReleaseVersions
    
    - Adds minLivepeerVersion constraint from
      #3050 to the AI codebase.
    - Introduces `IgnorePreReleaseVersions` flag to filter out pre-release versions.
    
    This update is essential for distinguishing AI subnet versions, which use pre-release
    suffixes, from standard transcoding releases. This new flag can be
    removed when merging in the main branch.
    
    * fix(ai): fix offchain 'PriceFeedWatcher is not initialized' error
    
    This commit ensures that the `PriceFeedWatcher is not initialized` error
    is not thrown when the software is run in `offchain` mode.
    
    * test: add pre-release suffix min version tests
    
    This commit adds some tests to check if pre-release versions are
    correctly handled when filtering orchestrators based on minimum version.
    
    * feat: simplify pre-release version filter logic
    
    This commit removes the POC `ignorePreReleaseVersions` command line
    argument for logic in the `LivepeerVersionCompatibleWith` which ensures
    that pre-release versions are only checked when the gateway specifies as
    pre-release suffix in the `orchMinLivepeerVersion` command line
    argument.
    
    * feat: allow Gateways to filter by pre-release
    
    This commit gives Gateways the ability to filter by pre-release suffix.
    When a pre-release suffix is specified in the `OrchMinLivepeerVersion`
    command line argument the software now also checks the pre-release
    version suffix on the orchestrator.
    
    * refactor(ai): rename capability constraint variable
    
    This commit renames the orchConstraints variable in the capabilities.go
    file to better reflect that it are constraints per capabilities.
    
    * chore(ai): remove lpms local dependency
    
    This commit ensure that the right remote dependency is used for the lpms
    package.
    
    * chore(ai): update lpms dependency
    
    This commit updates the lpms dependency to the lastest version of the
    `ai-video-rebase-main`.
    
    * feat: remove AI specific minVersion constraint logic
    
    This commit removes the ai-specific logic that allows ai suffixes to
    work during version constraint checking. This was done to add it back in
    a seperate commit so that we can always revert.
    
    * feat(ai): Add AI suffix handling for min version logic
    
    This commit introduces logic to handle version constraints with AI-specific
    suffixes (e.g., v0.7.6-ai.1). This ensures compatibility during version
    constraint filtering. Note that this logic should be removed when merging
    into the master branch.
    
    * core: Make the AI config take a big rat
    
    * fix: add AIModels currency config field and fix pixelsPerUnit handling
    
    This commit adds a new `currency` field to the `AIModelConfig` to specify the
    currency. Additionally, it improves the AI startup code in `starter.go` to
    correctly handle parsing of this currency while ensuring compatibility with
    'offchain' mode. Further improvements to the AI startup code are deferred to
    avoid conflicts with existing pull requests.
    
    * fix(ai): temporarily disable arm64 builds
    
    This commit disables the linux/arm64 for now as we haven't yet added support it.
    This prevent the Docker CI from failing.
    
    ---------
    
    Signed-off-by: kevincatty <[email protected]>
    Signed-off-by: linghuying <[email protected]>
    Signed-off-by: tongjicoder <[email protected]>
    Co-authored-by: Victor Elias <[email protected]>
    Co-authored-by: Rafał Leszko <[email protected]>
    Co-authored-by: Thom Shutt <[email protected]>
    Co-authored-by: Victor Elias <[email protected]>
    Co-authored-by: kevincatty <[email protected]>
    Co-authored-by: John | Elite Encoder <[email protected]>
    Co-authored-by: linghuying <[email protected]>
    Co-authored-by: tongjicoder <[email protected]>
    Co-authored-by: Josh Allmann <[email protected]>
    10 people authored Aug 7, 2024
    Configuration menu
    Copy the full SHA
    016259f View commit details
    Browse the repository at this point in the history
  4. Merge pull request #3124 from livepeer/master

    core: Rename 'InArray' to 'HasCapability' (#3118)
    rickstaa authored Aug 7, 2024
    Configuration menu
    Copy the full SHA
    c336dd1 View commit details
    Browse the repository at this point in the history

Commits on Aug 9, 2024

  1. refactor: improve rpc message (#3115)

    * refactor: unify capabilities constraints message structure
    
    This commit unifies the capabilities constraints message structure by combining
    the minVersion constraint and CapabilityConstraints into a single Constraints
    message field. The `NewCapabilitiesWithConstraints` method has been removed
    for consistency with how the minVersion constraint is handled, allowing the
    constraints fields to be private.
    
    * fix(ai): prevent nil error crash
    
    Ensure backward compatibility by handling cases where the Constraints
    field is missing in the capabilities request message. This prevents crashes
    when a Gateway with older software calls the updated orchestrator.
    rickstaa authored Aug 9, 2024
    Configuration menu
    Copy the full SHA
    350556d View commit details
    Browse the repository at this point in the history

Commits on Aug 10, 2024

  1. chore: update lpms dependency to master branch (#3125)

    This commit updates the lpms dependency to the master branch now the ai-video
    related features are merged in (see livepeer/lpms#415).
    rickstaa authored Aug 10, 2024
    Configuration menu
    Copy the full SHA
    35927af View commit details
    Browse the repository at this point in the history

Commits on Aug 14, 2024

  1. Ai 303/pricing multiple images t2i i2i (#3126)

    This commit updates the orchestrator to consider the number of images when
    calculating DebitFees. It also corrects the logic for the pricePerAIUnit
    metric and ensures the gateway sets a default number of images when not
    provided, preventing nil errors in the orchestrator.
    
    ---------
    
    Co-authored-by: Rick Staa <[email protected]>
    pschroedl and rickstaa authored Aug 14, 2024
    Configuration menu
    Copy the full SHA
    27f1bb0 View commit details
    Browse the repository at this point in the history

Commits on Aug 15, 2024

  1. fix(ai): fix unsupported capability nil error (#3132)

    This commit fixes a `nil` error that was introduced during the rebase
    which was thrown if the `GetOrchestrator` endpoint was called for a
    capability that a orchestrator does not support.
    rickstaa authored Aug 15, 2024
    Configuration menu
    Copy the full SHA
    7641069 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    f50071e View commit details
    Browse the repository at this point in the history
  3. refactor(ai): fixes a small merge conflict

    This commit fixes a small merge conflict that was introduced in the last
    merge.
    rickstaa committed Aug 15, 2024
    Configuration menu
    Copy the full SHA
    423d6c8 View commit details
    Browse the repository at this point in the history
  4. ci(ai): disable windows binary build

    This commit temporarily disables the windows binary build since it seems
    to fail after the rebase
    (see https://github.com/livepeer/go-livepeer/actions/runs/10404655818/job/28813594707).
    rickstaa committed Aug 15, 2024
    Configuration menu
    Copy the full SHA
    c497cf8 View commit details
    Browse the repository at this point in the history
  5. refactor: remove unused build script

    This commit removes a unused build script that should have been removed
    during a rebase.
    rickstaa committed Aug 15, 2024
    Configuration menu
    Copy the full SHA
    0b6f600 View commit details
    Browse the repository at this point in the history
  6. ci: prevent build residual files

    This commit ensures that the `lp-builds` and `releases` folders are
    correctly removed so that they can not cause permissions problems when
    subsequent actions are run (see
    https://github.com/livepeer/go-livepeer/actions/runs/10404768099/job/28813960307).
    rickstaa committed Aug 15, 2024
    Configuration menu
    Copy the full SHA
    2c57642 View commit details
    Browse the repository at this point in the history
  7. ci: reset permissions in build action

    This commit resets the permissions in each job of the build action to
    prevent permission errors.
    rickstaa committed Aug 15, 2024
    Configuration menu
    Copy the full SHA
    8294269 View commit details
    Browse the repository at this point in the history

Commits on Aug 16, 2024

  1. ci: temporarily run upload job as root

    This commit modifies the upload job in the `build.yaml` GitHub Action
    to temporarily run as root. This change addresses permission issues caused
    by a bug in GitHub's runner selection process (see
    actions/checkout#1014).
    rickstaa committed Aug 16, 2024
    Configuration menu
    Copy the full SHA
    85e09f3 View commit details
    Browse the repository at this point in the history
  2. ci: fix broken binary upload action

    This commit fixes the broken binary upload action.
    rickstaa committed Aug 16, 2024
    Configuration menu
    Copy the full SHA
    e08f078 View commit details
    Browse the repository at this point in the history
  3. chore: revert build ci fixes

    This commit reverts the build ci fixes that were done in the previous
    commits since #3137 provides
    a better workarround.
    rickstaa committed Aug 16, 2024
    Configuration menu
    Copy the full SHA
    815b981 View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    bd0c70a View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    2a3f832 View commit details
    Browse the repository at this point in the history
  6. ci: add protoc build dependencies (#3139)

    This commit adds the protocol-buffer dependencies needed to build on
    Ubuntu 20.04.
    rickstaa authored Aug 16, 2024
    Configuration menu
    Copy the full SHA
    200e145 View commit details
    Browse the repository at this point in the history
  7. ci(ai): add temporary ai-video latest binary url upload (#3142)

    This commit ensures that the `build.yaml` action script also creates a
    release under a `ai-video/latest` path. This was done to simplify the
    binary installation in the docs.
    rickstaa authored Aug 16, 2024
    Configuration menu
    Copy the full SHA
    0ae26d3 View commit details
    Browse the repository at this point in the history
  8. fix(ai): handle missing pricePerUnit in AIConfig (#3141)

    This commit ensures that the code correctly handles the case where no
    pricePerUnit is set in the AIConfig. It also adds logic to use the
    value provided by the `pricePerUnit` flag if no price is given and
    the flag exists.
    rickstaa authored Aug 16, 2024
    Configuration menu
    Copy the full SHA
    c229c2a View commit details
    Browse the repository at this point in the history

Commits on Aug 19, 2024

  1. chore(ai): update AI release version

    This commit updates the AI release version to the experimental alpha
    version so that the build docker image has the right versioning.
    rickstaa committed Aug 19, 2024
    Configuration menu
    Copy the full SHA
    09a9ab0 View commit details
    Browse the repository at this point in the history
  2. ci(ai): ensure latest tag ai release (#3143)

    * ci(ai): ensure latest tag binary release
    
    This commit ensure that for the AI branch a latest binry is created to
    improve the install workflow in the docs.
    rickstaa authored Aug 19, 2024
    Configuration menu
    Copy the full SHA
    60e082e View commit details
    Browse the repository at this point in the history
  3. chore(ai): release v0.7.6-ai.1

    This commit releases the new rebased `ai-video` branch so that it can be
    deployed by orchestrators and Gateways (see
    #3103).
    rickstaa committed Aug 19, 2024
    Configuration menu
    Copy the full SHA
    d55426b View commit details
    Browse the repository at this point in the history

Commits on Aug 20, 2024

  1. ci(ai): improve latest release binary ci logic

    This commit ensures that the binary release is pushed to a latest folder
    in the google bucket when it was triggered by the latest ai-video release.
    rickstaa committed Aug 20, 2024
    Configuration menu
    Copy the full SHA
    0fe1c21 View commit details
    Browse the repository at this point in the history
  2. ci(ai): temporary simplify build action for tests

    This commit disables parts of the build actions and changes the trigger
    to see if the new logic works.
    rickstaa committed Aug 20, 2024
    Configuration menu
    Copy the full SHA
    d162ce7 View commit details
    Browse the repository at this point in the history
  3. ci: add temp condition print

    rickstaa committed Aug 20, 2024
    Configuration menu
    Copy the full SHA
    9ec1e05 View commit details
    Browse the repository at this point in the history
  4. ci(ai): add latest tag check into build publish job

    This commit ensure the latest tag is checked in the publish job of the
    build action.
    rickstaa committed Aug 20, 2024
    Configuration menu
    Copy the full SHA
    42b7c85 View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    c6f42a2 View commit details
    Browse the repository at this point in the history
  6. Configuration menu
    Copy the full SHA
    ea75b75 View commit details
    Browse the repository at this point in the history
  7. Configuration menu
    Copy the full SHA
    a07c38e View commit details
    Browse the repository at this point in the history
  8. Configuration menu
    Copy the full SHA
    5af4bbd View commit details
    Browse the repository at this point in the history
  9. chore: update to version 0.7.7-ai.1

    This commit ensures the ai network software is in sync with the main
    branch.
    rickstaa committed Aug 20, 2024
    Configuration menu
    Copy the full SHA
    9397d80 View commit details
    Browse the repository at this point in the history
  10. ci(ai): enable mac and linux builds

    This commit enables the macos and linux-amd64 builds.
    rickstaa committed Aug 20, 2024
    Configuration menu
    Copy the full SHA
    b51577e View commit details
    Browse the repository at this point in the history
  11. ci(ai): cleanup build action (#3147)

    This commit removes some redundant code in the bluild action.
    rickstaa authored Aug 20, 2024
    Configuration menu
    Copy the full SHA
    c05f23c View commit details
    Browse the repository at this point in the history
  12. ci(ai): improve build ci doc comment

    This commit makes a small improvement to the doc comments in the build
    action. This was done to align the code with
    https://github.com/livepeer/go-livepeer/pull/3148/files.
    rickstaa committed Aug 20, 2024
    Configuration menu
    Copy the full SHA
    33eed89 View commit details
    Browse the repository at this point in the history
  13. chore(ai): release version v0.7.7-ai.3

    This commit released the v0.7.7-ai.3 from the AI subnet software.
    rickstaa committed Aug 20, 2024
    Configuration menu
    Copy the full SHA
    f5c754e View commit details
    Browse the repository at this point in the history

Commits on Aug 23, 2024

  1. feat(pricing): expand gateway max price to set per capability/model id (

    #3116)
    
    This commit allows Gateways to specify the maximum pricing they are willing to pay for a given capability and model combination. Gateways use a single MaxPrice set at launch with the maxPricePerUnit flag, which serves as the default. Additionally, they can specify a JSON config using the maxPricePerCapability flag to set prices per capability and model ID. The maxPrice per capability can also be adjusted via the setBroadcastConfig endpoint of the CLI webserver.
    ad-astra-video authored Aug 23, 2024
    Configuration menu
    Copy the full SHA
    4f3947d View commit details
    Browse the repository at this point in the history
  2. chore(ai): release version v0.7.7-ai.4

    This commit released the v0.7.7-ai.3 from the AI subnet software.
    rickstaa committed Aug 23, 2024
    Configuration menu
    Copy the full SHA
    d4e4b6d View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    ca2f2c5 View commit details
    Browse the repository at this point in the history
  4. chore(ai): release version v0.7.8-ai.1

    This commit released the v0.7.8-ai.1 from the AI subnet software.
    rickstaa committed Aug 23, 2024
    Configuration menu
    Copy the full SHA
    b5d351f View commit details
    Browse the repository at this point in the history
  5. refactor(ai): apply small code improvement (#3152)

    This commit applies a small code improvement.
    rickstaa authored Aug 23, 2024
    Configuration menu
    Copy the full SHA
    a4116f7 View commit details
    Browse the repository at this point in the history
  6. refactor(ai): remove redundant comment (#3153)

    This commit removes a redundant command which I introduced in the last
    commit.
    rickstaa authored Aug 23, 2024
    Configuration menu
    Copy the full SHA
    54b4de2 View commit details
    Browse the repository at this point in the history

Commits on Sep 4, 2024

  1. feat(ai): add segment anything 2 pipeline image version(#3131)

    This commit adds support for the new [segment anything 2](https://ai.meta.com/sam2/) pipeline (SAM2) that was added to the AI-worker in [this pull request](livepeer/ai-worker#185). While the new SAM pipeline can also do video segmentation this will be done in a subsequent pull request.
    
    Co-authored-by: John | Elite Encoder <[email protected]>
    Co-authored-by: Peter Schroedl <[email protected]>
    Co-authored-by: Rick Staa <[email protected]>
    4 people authored Sep 4, 2024
    Configuration menu
    Copy the full SHA
    3316e35 View commit details
    Browse the repository at this point in the history
  2. chore(ai): release 0.7.8-ai.2

    This commit released the new AI network software.
    rickstaa committed Sep 4, 2024
    Configuration menu
    Copy the full SHA
    1bae87e View commit details
    Browse the repository at this point in the history

Commits on Sep 11, 2024

  1. Configuration menu
    Copy the full SHA
    c5f5a11 View commit details
    Browse the repository at this point in the history

Commits on Sep 13, 2024

  1. chore(ai): update ai-worker

    This commit updates the ai-worker to the one with the changed worker
    types.
    rickstaa committed Sep 13, 2024
    Configuration menu
    Copy the full SHA
    e01daa2 View commit details
    Browse the repository at this point in the history
  2. Revert "chore(ai): update ai-worker"

    This reverts commit e01daa2.
    rickstaa committed Sep 13, 2024
    Configuration menu
    Copy the full SHA
    14f7783 View commit details
    Browse the repository at this point in the history
  3. refactor: update worker classes (#3171)

    This commit ensures that the go-livepeer code uses the new worker classes that were defined in livepeer/ai-worker#191.
    rickstaa authored Sep 13, 2024
    Configuration menu
    Copy the full SHA
    ffb1922 View commit details
    Browse the repository at this point in the history

Commits on Sep 23, 2024

  1. print error message on gateway for bad request lora errors (#3154)

    This commit updates the AI error handling behavoir so that BadRequest errors are forwarded to the user.
    
    Co-authored-by: Rick Staa <[email protected]>
    eliteprox and rickstaa authored Sep 23, 2024
    Configuration menu
    Copy the full SHA
    71a2dcf View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    9c20ce8 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    8dd8a88 View commit details
    Browse the repository at this point in the history
  4. fix(ai): selection algorithm transcoding conflict patch (#3181)

    While merging the main branch into the AI branch, the fragile AI selection
    algorithm broke due to changes in the transcoding selection logic, which
    the AI algorithm relies on. This commit provides a temporary patch to
    ensure the selection process continues to function while we work on
    improving the AI selection algorithm.
    rickstaa authored Sep 23, 2024
    Configuration menu
    Copy the full SHA
    d1b4dec View commit details
    Browse the repository at this point in the history

Commits on Sep 25, 2024

  1. Configuration menu
    Copy the full SHA
    9ab2a5a View commit details
    Browse the repository at this point in the history