Skip to content

Conversation

@mayabar
Copy link
Collaborator

@mayabar mayabar commented Nov 12, 2025

Fixes #247

… will be added to readme

- move all sqlite related code in custom dataset to helper class
- update dataset tests accordingly
- remove duplicated definitions
- open sqlite db in read-only mode, this will allow to support datasets in DP mode
- do not allow dataset definition in echo mode

Signed-off-by: Maya Barnea <mayab@il.ibm.com>
- Separate between loading custom dataset from a local file and dataset download
- If custom dataset's url is defined in command line - download the dataset before initializing simulator(s)

Signed-off-by: Maya Barnea <mayab@il.ibm.com>
Signed-off-by: Maya Barnea <mayab@il.ibm.com>
@mayabar mayabar requested a review from irar2 November 12, 2025 10:23
…y PR comments

Signed-off-by: Maya Barnea <mayab@il.ibm.com>
Signed-off-by: Maya Barnea <mayab@il.ibm.com>
…s added for GetTokens to improve coverage

Signed-off-by: Maya Barnea <mayab@il.ibm.com>
Signed-off-by: Maya Barnea <mayab@il.ibm.com>
{47, []bucketBoundaries{{1, 9}, {10, 18}, {19, 27}, {28, 36}, {37, 46}}},
{50, []bucketBoundaries{{1, 9}, {10, 19}, {20, 29}, {30, 39}, {40, 49}}}}

for _, test := range tests {
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Consider using table

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

changed

Signed-off-by: Maya Barnea <mayab@il.ibm.com>
Signed-off-by: Maya Barnea <mayab@il.ibm.com>
@irar2
Copy link
Collaborator

irar2 commented Nov 18, 2025

/lgtm
/approve

@github-actions github-actions bot added the lgtm label Nov 18, 2025
@github-actions github-actions bot merged commit 719a895 into llm-d:main Nov 18, 2025
4 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Update dataset response logic

2 participants