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

Improve logging when the revision is None #329

Conversation

gariepyalex
Copy link
Contributor

This small PR fixes the logging for the missing dataset revision:

  • Use the current logger instead of the root logger
  • Adds the path of the dataset to the log. Previously, let's say you have in your code base many datasets with missing revision, it would simply log the message a few times at import time without telling you which datasets are problematic.

@gariepyalex gariepyalex closed this Apr 8, 2024
@gariepyalex gariepyalex reopened this Apr 8, 2024
@KennethEnevoldsen KennethEnevoldsen merged commit 404587b into embeddings-benchmark:main Apr 9, 2024
6 of 10 checks passed
@KennethEnevoldsen
Copy link
Contributor

Thanks @gariepyalex

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.

2 participants