Skip to content

feat(ai): enable AI orchestrator discovery #3004

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 3 commits into from
Apr 18, 2024
Merged

Conversation

rickstaa
Copy link
Member

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.

Warning

Do not merge into the main branch this pull request breaks the discovery of the regular transcoding network.

What does this pull request do? Explain your changes. (required)

This pull request implements https://linear.app/livepeer-ai-spe/issue/LIV-90/design-and-implement-solution-for-advertising-separate-service-uri-for so that AI subnet orchestrators can be found by the AI gateway.

Specific updates (required)

How did you test each of these updates (required)

I checked if the service URIs of the orchestrators were to the values stored in the AIServiceRegistroyProxy contract. I have yet to test if an on-chain broadcaster can still send jobs.

Does this pull request close any open issues?

https://linear.app/livepeer-ai-spe/issue/LIV-90/design-and-implement-solution-for-advertising-separate-service-uri-for

Checklist:

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.
@rickstaa
Copy link
Member Author

Related to livepeer/protocol#642. See my comments in livepeer/protocol#642 (comment).

@rickstaa rickstaa requested a review from yondonfu April 12, 2024 23:44
This commit ensures that people are aware that they have to interact
with the `AIServiceRegistry` using their main Orch wallet.
This commit ensure that the hardcoded `AIServiceRegistry` contract
doesn't break the go-livepeer binary on local devnets or testnets.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants