-
Notifications
You must be signed in to change notification settings - Fork 62
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
Adding CodeLlama-7B inference and compilation example notebook #549
Conversation
We're working to get some more model specific examples out using optimum-neuron. I did NOT include a link in docs/source/tutorials/overview.mdx nor do I have an mdx version of the notebook. You are welcome to convert it or I can add it if you want to send instructions. |
The docs for this PR live here. All of your documentation changes will be reflected on that endpoint. The docs are available until 30 days after the last update. |
"The following steps set up Jupyter Notebook and launch this tutorial:\n", | ||
"1. Clone the [AWS Neuron Samples](https://github.com/aws-neuron/aws-neuron-samples) repo to your instance using\n", | ||
"```\n", | ||
"git clone https://github.com/aws-neuron/aws-neuron-samples.git\n", | ||
"```\n", | ||
"2. Navigate to the `transformers-neuronx` inference samples folder\n", | ||
"```\n", | ||
"cd aws-neuron-samples/torch-neuronx/transformers-neuronx/inference\n", | ||
"```\n", | ||
"3. Follow the instructions in [Jupyter Notebook QuickStart](https://awsdocs-neuron.readthedocs-hosted.com/en/latest/general/setup/notebook/setup-jupyter-notebook-steps-troubleshooting.html) to run Jupyter Notebook on your instance.\n", | ||
"4. Locate this tutorial in your Jupyter Notebook session (`CodeLlama-7B.ipynb`) and launch it. Follow the rest of the instructions in this tutorial. " |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I believe this should be fetch from optimum-neuron instead, isn't it ?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Yes, I'll fix it.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@dacorvo I fixed a number of path issues in that section. Thanks for the fresh eyes.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM, thanks for the pull-request !
What does this PR do?
Adds a CodeLlama-7B inference example.
Before submitting