This repository was archived by the owner on Oct 25, 2024. It is now read-only.
LLM inference with Intel AMX #664
Unanswered
mcipriano01
asked this question in
Q&A
Replies: 3 comments
|
We support it on aws instance. |
0 replies
|
Hi, and thank you for the response! Compared to the code in the LLM Runtime, I removed the line that quantizes the model. Perhaps, am I forced to quantize the model? |
0 replies
I'm afraid yes. We only enable AMX with quantized weight (as it benefits little due to intensive runtime conversion). In fact, you are even not running our optimized LLM Runtime if |
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
I would like to perform model inference using the capabilities of Intel AMX. I have conducted inference on Llama-2 using the code provided in the LLM Runtime section. I noticed that the inference times with the code from the repository, which uses the "intel_extension_for_transformers.transformers" library, and the inference times using the base transformers library are similar.
Therefore, I was wondering if I need to enable Intel AMX on my machine somehow. Currently, I am using the m7i.2xlarge and m7i.4xlarge instances on AWS. Any suggestions? Thank you!
All reactions