Merged
Conversation
Contributor
There was a problem hiding this comment.
Important
Looks good to me! 👍
Reviewed everything up to ab35b93 in 57 seconds. Click for details.
- Reviewed
34lines of code in1files - Skipped
0files when reviewing. - Skipped posting
3draft comments. View those below. - Modify your settings and rules to customize what types of comments Ellipsis leaves. And don't forget to react with 👍 or 👎 to teach Ellipsis.
1. nomic/dataset.py:1422
- Draft comment:
Hardcoded worker count (2) is repeated. Consider defining a constant (e.g. DEFAULT_UPLOAD_WORKERS) to avoid magic numbers and ease future changes. - Reason this comment was not posted:
Confidence changes required:33%<= threshold70%None
2. nomic/dataset.py:1566
- Draft comment:
The _add_data function now uses 2 workers instead of 10. To keep things DRY, consider using a shared constant for the upload worker count. - Reason this comment was not posted:
Confidence changes required:33%<= threshold70%None
3. nomic/dataset.py:1687
- Draft comment:
Default parameter 'num_workers' in update_maps is reduced to 2. Consider documenting this change or using a shared constant so that all upload-related methods remain in sync. - Reason this comment was not posted:
Confidence changes required:33%<= threshold70%None
Workflow ID: wflow_evCebh1YDZeKKarQ
You can customize by changing your verbosity settings, reacting with 👍 or 👎, replying to comments, or adding code review rules.
Contributor
There was a problem hiding this comment.
Important
Looks good to me! 👍
Reviewed 42e35f0 in 51 seconds. Click for details.
- Reviewed
17lines of code in1files - Skipped
0files when reviewing. - Skipped posting
1draft comments. View those below. - Modify your settings and rules to customize what types of comments Ellipsis leaves. And don't forget to react with 👍 or 👎 to teach Ellipsis.
1. nomic/dataset.py:1566
- Draft comment:
The diff removes an explanatory comment and hardcodesnum_workers = 2. Consider briefly retaining a rationale for this choice or making it configurable for flexibility. - Reason this comment was not posted:
Confidence changes required:33%<= threshold70%None
Workflow ID: wflow_EMJnKcJnqMiJvDKV
You can customize by changing your verbosity settings, reacting with 👍 or 👎, replying to comments, or adding code review rules.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Important
Reduce upload workers from 10 to 2 in
_add_blobs(),_add_data(), andupdate_maps()innomic/dataset.py.num_workersfrom 10 to 2 in_add_blobs(),_add_data(), andupdate_maps()innomic/dataset.py._add_blobs(): Handles image blob uploads._add_data(): Manages low-level data uploads.update_maps(): Deprecated method for updating project maps.This description was created by
for 42e35f0. You can customize this summary. It will automatically update as commits are pushed.