-
Notifications
You must be signed in to change notification settings - Fork 9.7k
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
Decrease in Performance #2355
Comments
If you're going to invest this much time into trying to figure out when the performance regression happened I suggest you use git bisect instead. It will automatically give you new commits to test and tell you which commit caused the problem at the end. |
I can reproduce the issue. According to git bisect the matrix multiplication broadcasting by @ggerganov causes the performance regression:
|
* ggml : broadcast mul_mat + conv batch support * ggml : apply mul_mat broadcast fix by @jploski
It still looks about the same. COMPILER INFORMATIONI CFLAGS: -I. -O3 -std=c11 -fPIC -DNDEBUG -Wall -Wextra -Wpedantic -Wcast-qual -Wdouble-promotion -Wshadow -Wstrict-prototypes -Wpointer-arith -pthread -march=native -mtune=native -DGGML_USE_K_QUANTS BEFORE (12 July 2023 [f7d278f]) AFTER (24 July 2023 [41c6741]) |
Ah, I just realized you are testing the code on I am actually making changes on a branch: Here is the PR for that branch: #2372 |
Sorry, yeah I realized that last night; I just didn't know which branch.
I'll check it out this evening.
Thanks for all your work. :-)
Cheers,
Ed L
|
Could we leave this issue open until the issue is fixed on master? |
Reopen to do further testing and integration into the Master trunk. |
Fixed via #2372 |
Prerequisites
Please answer the following questions for yourself before submitting an issue.
Expected Behavior
The system should behave with similar performance over time with models.
Current Behavior
The system shows decreased performance on 11 July 2023.
Environment and Context
CPU Only: i5-8400 with 32 G DDR4 2666 RAM.
The operating system is Linux fedora 5.19.11-200.fc36.x86_64 #1 SMP PREEMPT_DYNAMIC Fri Sep 23 15:07:44 UTC 2022 x86_64 x86_64 x86_64 GNU/Linux
Failure Information (for bugs)
There is no failure, only reduced performance.
Steps to Reproduce
Please provide detailed steps for reproducing the issue. We are not sitting in front of your screen, so the more detail the better.
Failure Logs
A graph of performance of various versions over time has been attached (along with other relevant information).
The text was updated successfully, but these errors were encountered: