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 LLaMA end-to-end benchmarking #19985

Merged
merged 18 commits into from
Mar 22, 2024
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Update README
  • Loading branch information
kunal-vaishnavi committed Mar 18, 2024
commit ac1f266f9e2dbb08b67bbed019c7dc8de5025360
6 changes: 6 additions & 0 deletions onnxruntime/python/tools/transformers/models/llama/README.md
Original file line number Diff line number Diff line change
@@ -1,10 +1,12 @@
# Contents
- [LLaMA-2](#llama-2)
- [Prerequisites](#prerequisites)
- [Exporting LLaMA-2](#exporting-llama-2)
- [Benchmarking LLaMA-2](#benchmark-llama-2)
- [Variants](#variants)
- [Benchmark All](#benchmark-all)
- [Benchmark E2E](#benchmark-e2e)
- [E2E Inference with LLaMA-2](#e2e-inference-with-llama-2)
- [Mistral](#mistral)
- [Exporting Mistral](#exporting-mistral)
- [Optimizing and Quantizing Mistral](#optimizing-and-quantizing-mistral)
Expand Down Expand Up @@ -427,6 +429,10 @@ CUDA_VISIBLE_DEVICES=0 python3 -m models.llama.benchmark_e2e \
--auth
```

## E2E Inference with LLaMA-2

For end-to-end inference, please visit [this folder](https://github.com/microsoft/onnxruntime-inference-examples/tree/main/python/models/llama) in ONNX Runtime Inference Examples for a step-by-step walkthrough, code examples, and performance metrics.

# Mistral

## Introduction
Expand Down