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

Add Runpod Provider + Distribution #362

Open
wants to merge 5 commits into
base: main
Choose a base branch
from

Conversation

pandyamarut
Copy link

@pandyamarut pandyamarut commented Nov 4, 2024

Add Runpod as a inference provider for openAI compatible managed endpoints.

Testing

  • Configured llama stack from scratch, set remote::runpod as a inference provider.
  • Added Runpod Endpoint URL and API key.
  • Started llama-stack server - llama stack run my-local-stack --port 3000
curl http://localhost:5000/inference/chat_completion \
-H "Content-Type: application/json" \
-d '{
	"model": "Llama3.1-8B-Instruct",
	"messages": [
		{"role": "system", "content": "You are a helpful assistant."},
		{"role": "user", "content": "Write me a 2 sentence poem about the moon"}
	],
	"sampling_params": {"temperature": 0.7, "seed": 42, "max_tokens": 512}
}' ```

Signed-off-by: pandyamarut <[email protected]>
Signed-off-by: pandyamarut <[email protected]>
Signed-off-by: pandyamarut <[email protected]>
Signed-off-by: pandyamarut <[email protected]>
Signed-off-by: pandyamarut <[email protected]>
@facebook-github-bot facebook-github-bot added the CLA Signed This label is managed by the Meta Open Source bot. label Nov 4, 2024
@pandyamarut
Copy link
Author

@ashwinb Closed the stale PR and Created a new one. Hoping this to be reviewed soon.

@pandyamarut
Copy link
Author

@ashwinb What does it require to have this PR reviewed ? Because, Stale PRs end up having merge conflicts and then it just becomes the another reason to not review/merge. Really appreciate any guidance. Thanks.

@ashwinb
Copy link
Contributor

ashwinb commented Nov 24, 2024

Hey @raghotham, can you please respond to @pandyamarut soon please?

@pandyamarut
Copy link
Author

@raghotham Really appreciate you reviews. Totally understand the priorities and timeline. Hoping to getting this merged soon.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
CLA Signed This label is managed by the Meta Open Source bot.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants