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

Avoid creating a demo pool if num_demos is 0. #787

Merged
merged 2 commits into from
May 5, 2024

Conversation

yoavkatz
Copy link
Member

@yoavkatz yoavkatz commented May 1, 2024

Today, we added the createDemosPool operator even when num_demos is 0, this caused problems in debug=True in test card, because the demo stream was fetched (and could not be accessed because if no train set existed)

yoavkatz and others added 2 commits May 1, 2024 04:57
Today, we added the createDemosPool operator even when num_demos is 0, this caused problems in debug=True in test card, because the demo stream was fetched (and could not be accessed because if no train set existed)

Signed-off-by: Yoav Katz <katz@il.ibm.com>
@yoavkatz yoavkatz enabled auto-merge (squash) May 5, 2024 07:41
@yoavkatz yoavkatz merged commit 490d2c8 into main May 5, 2024
7 checks passed
@yoavkatz yoavkatz deleted the avoid-adding-demo-pool-when-num_demos-is-zero branch May 5, 2024 07:59
yoavkatz added a commit that referenced this pull request May 5, 2024
elronbandel pushed a commit that referenced this pull request May 5, 2024
Revert "Avoid creating a demo pool if num_demos is 0. (#787)"

This reverts commit 490d2c8.
antonpibm pushed a commit to antonpibm/unitxt that referenced this pull request May 5, 2024
Revert "Avoid creating a demo pool if num_demos is 0. (IBM#787)"

This reverts commit 490d2c8.

Signed-off-by: antonp@il.ibm.com <antonp@il.ibm.com>
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

Successfully merging this pull request may close these issues.

None yet

2 participants