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

WIP - amd llama2 implementation #30

Merged
merged 2 commits into from
Oct 21, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
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
7 changes: 7 additions & 0 deletions docs/benchmarks/language/llama2-70b.md
Original file line number Diff line number Diff line change
Expand Up @@ -25,3 +25,10 @@ hide:
{{ mlperf_inference_implementation_readme (4, "llama2-70b-99", "neuralmagic") }}

{{ mlperf_inference_implementation_readme (4, "llama2-70b-99.9", "neuralmagic") }}

=== "AMD"
## AMD MLPerf Implementation

{{ mlperf_inference_implementation_readme (4, "llama2-70b-99", "amd") }}

{{ mlperf_inference_implementation_readme (4, "llama2-70b-99.9", "amd") }}
5 changes: 5 additions & 0 deletions main.py
Original file line number Diff line number Diff line change
Expand Up @@ -43,6 +43,11 @@ def mlperf_inference_implementation_readme(spaces, model, implementation, *, imp
devices = [ "CUDA" ]
frameworks = [ "TensorRT" ]

elif implementation == "amd":
devices = [ "cuda" ]
frameworks = [ "pytorch" ]
execution_envs.remove("Docker")

elif implementation == "neuralmagic":
devices = [ "CUDA" ]
frameworks = [ "pytorch" ]
Expand Down
Loading