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

Qwen 2.5 tutorial #749

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open

Qwen 2.5 tutorial #749

wants to merge 1 commit into from

Conversation

pagezyhf
Copy link
Collaborator

Trying to build a tutorial using Qwen 2.5 with Inferentia

A few blockers:

  • I don't think we have a compiled version of this model in the cache. At least I couldn't find using optimum-cli neuron lookup.
  • I'd like to have a similar tutorial deploying an endpoint in Sagemaker but I don't know where to put it in the repo. Any ideas? So far all Sagemaker examples live in Philipp's blog, linked via https://huggingface.co/docs/optimum-neuron/en/guides/sagemaker

@pagezyhf pagezyhf requested a review from dacorvo December 17, 2024 15:49
from optimum.neuron import NeuronModelForCausalLM


compiler_args = {"num_cores": 24, "auto_cast_type": 'bf16'}
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This configuration is not cached by default. Here is the list of cached configs:
https://huggingface.co/aws-neuron/optimum-neuron-cache/blob/main/inference-cache-config/qwen2.5.json

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