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

Move workers/datasets_based to services/worker #800

Merged
merged 17 commits into from
Feb 13, 2023
Merged

Move workers/datasets_based to services/worker #800

merged 17 commits into from
Feb 13, 2023

Conversation

severo
Copy link
Collaborator

@severo severo commented Feb 9, 2023

Based on #792.

@severo severo changed the base branch from main to check-dataset-connection-before-migration-job February 9, 2023 12:14
@codecov-commenter
Copy link

codecov-commenter commented Feb 9, 2023

Codecov Report

Base: 90.66% // Head: 90.66% // No change to project coverage 👍

Coverage data is based on head (da0cc93) compared to base (6666942).
Patch coverage: 96.10% of modified lines in pull request are covered.

Additional details and impacted files
@@           Coverage Diff           @@
##             main     #800   +/-   ##
=======================================
  Coverage   90.66%   90.66%           
=======================================
  Files         105      105           
  Lines        5292     5292           
=======================================
  Hits         4798     4798           
  Misses        494      494           
Flag Coverage Δ
jobs_mongodb_migration 80.29% <ø> (ø)
libs_libcommon 92.82% <100.00%> (ø)
services_admin 86.84% <ø> (ø)
services_api 89.27% <ø> (ø)
services_worker 92.82% <96.08%> (?)
workers_datasets_based ?

Flags with carried forward coverage won't be shown. Click here to find out more.

Impacted Files Coverage Δ
services/worker/src/worker/asset.py 100.00% <ø> (ø)
services/worker/src/worker/resources.py 100.00% <ø> (ø)
services/worker/tests/constants.py 100.00% <ø> (ø)
services/worker/tests/fixtures/datasets.py 100.00% <ø> (ø)
services/worker/tests/fixtures/files.py 100.00% <ø> (ø)
services/worker/tests/fixtures/hub.py 98.01% <ø> (ø)
services/worker/src/worker/loop.py 50.00% <60.00%> (ø)
services/worker/tests/job_runners/test_splits.py 86.56% <76.92%> (ø)
services/worker/src/worker/job_runner_factory.py 92.30% <96.87%> (ø)
libs/libcommon/tests/test_queue.py 99.37% <100.00%> (ø)
... and 27 more

Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here.

☔ View full report at Codecov.
📢 Do you have feedback about the report comment? Let us know in this issue.

@HuggingFaceDocBuilder
Copy link
Collaborator

HuggingFaceDocBuilder commented Feb 9, 2023

The documentation is not available anymore as the PR was closed or merged.

@severo severo mentioned this pull request Feb 9, 2023
@severo severo force-pushed the check-dataset-connection-before-migration-job branch 4 times, most recently from 4c1d030 to ce2b651 Compare February 10, 2023 16:31
Base automatically changed from check-dataset-connection-before-migration-job to main February 10, 2023 17:20
Copy link
Contributor

@AndreaFrancis AndreaFrancis left a comment

Choose a reason for hiding this comment

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

I put comments for minor changes. Just one question, how do we use that new vendor trec-car?

services/worker/pyproject.toml Outdated Show resolved Hide resolved
services/worker/src/worker/config.py Show resolved Hide resolved
Co-authored-by: Andrea Francis Soria Jimenez <andrea@huggingface.co>
@severo
Copy link
Collaborator Author

severo commented Feb 10, 2023

how do we use that new vendor trec-car?

it's not new, it's just moved with the rest of the code. It's a dependency required by some dataset scripts on the Hub:
https://github.com/huggingface/datasets-server/blob/5267f427dfa5bae2e4b4fba0b8042d4783fc3a39/services/worker/pyproject.toml#L39
I had to put it inside the code because it's not available in pypi or github or anything (as far as I could find).

severo and others added 2 commits February 10, 2023 21:09
Co-authored-by: Andrea Francis Soria Jimenez <andrea@huggingface.co>
@severo severo merged commit f43a0d2 into main Feb 13, 2023
@severo severo deleted the rename-worker branch February 13, 2023 08:30
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.

4 participants