-
Notifications
You must be signed in to change notification settings - Fork 53
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
Rules clarification to prevent sorting beyond datset boundaries in LLMs #309
base: master
Are you sure you want to change the base?
Conversation
MLCommons CLA bot All contributors have signed the MLCommons CLA ✍️ ✅ |
WG Notes:
|
recheck |
@nvashutoshd @ashwin: |
@mrmhodak the scenario you mentioned only happens when: 1) offline scenarios, where all queries are dumped to the SUT in one shot; 2) requested query count is larger than the dataset size (e.g. if you specify a larger min_duration or min_query_count). I do agree it's impractical to implement sorting in such scenario, but sorting across boundary will enable exploitative actions like batching same queries which should not be allowed. In the future, LoadGen should be the one implementing and accepting sorting lambdas. @pgmpablo157321 FYI. |
@mrmhodak @nv-ananjappa @nvzhihanj - I've updated the proposed rule change based on our discussion in the WG meeting this morning. The rules now cover any/all LLMs, and limits sorting outside dataset boundary irrespective of runtime. |
I agree with the stated purpose, but it is problematic as a general rule. It currently affects Llama2-70b and MoE, where multiple copies of dataset are sent, but with no way for SUT to determine where dataset begins and ends, it effectively disallows sorting. This is confusing and can lead to the issues down the line. It might be cleaner to just disallow it for these 2 models for 5.0 and revisit as a general rule for 5.1. |
@mrmhodak I think whether to send multiple copies of data is independent of the benchmarks - remember you can increase the min_duration or min_query_count to request more copies of the dataset. |
@nvzhihanj: Good point, but we still have issue that anytime an SUT receives more that 1 copy of the dataset, there is no practical way to sort. That is my issue with the rule as currently - it seems to provide a way for sorting when more than a 1 copy of the dataset is received, but it does not exist. This creates a confusing situation - we need rules that work within the capabilities of tools we have. |
@mrmhodak That is true. As I mentioned above, we shouldn't allow sorting under such scenario (offlien + more than 1 copy) until it's handled properly by loadgen. We can limit the application to the LLM workloads for this round and patch it in loadgen next round. What do you think? |
This PR addresses and clarifies the rules for dataset sorting in LLM benchmarks, specifically focusing on the offline scenario. The changes aim to ensure fair and consistent performance evaluation across submissions.
Proposed changes for LLM benchmarks-