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

Llama2 execution on AMD CPU - not getting any results #101

Closed
AshimaBisla opened this issue Jul 4, 2024 · 3 comments
Closed

Llama2 execution on AMD CPU - not getting any results #101

AshimaBisla opened this issue Jul 4, 2024 · 3 comments

Comments

@AshimaBisla
Copy link

Hello,

I am trying to run Llama2 model on AMD by accelerating it on CPU, but it keeps on running for more than an hour and gets stuck at "warmup" stage. For AIE it runs within couple of minutes.
Is there any way to speed up the process of execution for CPU or has anyone executed it on CPU who can tell how many hours did it actually take to run the model dedicatedly on CPU?

Thanks,
Ashima

@uday610
Copy link
Collaborator

uday610 commented Jul 7, 2024

If you running llama2 in the same way like you are running on NPU, just by changing the --target then it should work.

NPU run
python run_awq.py --task decode --target aie --w_bit 4
CPU run
python run_awq.py --task decode --target cpu --w_bit 4

@AshimaBisla
Copy link
Author

Thanks for the reply @uday610
I am running the exact same command for CPU, but I am not able to generate any output even after running it for couple of hours.
Can you help me to know how long it usually takes to run Llam2 model with 4 bit AQW quantization on CPU?

@uday610
Copy link
Collaborator

uday610 commented Aug 13, 2024

This 1.1 flow is obsoleted because we have flow with 1.2 now. Hence closing this issue

@uday610 uday610 closed this as completed Aug 13, 2024
cyndwith added a commit to cyndwith/RyzenAI-SW that referenced this issue Aug 27, 2024
Updates to merge changes from main to dev branch
cyndwith added a commit that referenced this issue Aug 28, 2024
Updates to merge changes from main to dev branch
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

No branches or pull requests

2 participants