hash
stringlengths
40
40
authorName
stringclasses
42 values
authorEmail
stringclasses
41 values
date
timestamp[ms]date
2021-07-26 09:52:55
2025-07-18 10:19:56
subject
stringlengths
11
116
diff
stringlengths
0
987k
a8846dcceb2a7a6f2e38fa2370da633f9f3e117a
Quentin Lhoest
42851186+lhoestq@users.noreply.github.com
2023-05-05T14:20:43
unsupport image and audio (#1144)
diff --git a/services/api/src/api/routes/rows.py b/services/api/src/api/routes/rows.py index 03cb5aa5..d809d6c5 100644 --- a/services/api/src/api/routes/rows.py +++ b/services/api/src/api/routes/rows.py @@ -85 +85 @@ def get_parquet_fs(dataset: str, hf_token: Optional[str]) -> HfFileSystem: -UNSUPPORTED_FEATURES_MAGIC_...
af91bf788c18b0f98989d0e148f85427b06b7678
Quentin Lhoest
42851186+lhoestq@users.noreply.github.com
2023-05-04T12:04:29
increase api replicas + skip cacheMaintenance (#1140)
diff --git a/chart/env/prod.yaml b/chart/env/prod.yaml index 500ef0ab..b450c431 100644 --- a/chart/env/prod.yaml +++ b/chart/env/prod.yaml @@ -115 +115 @@ cacheMaintenance: - action: "backfill" + action: "skip" @@ -245 +245 @@ api: - replicas: 4 + replicas: 12
37ed2cd0ee7bde4804b632097e4ee6f90cac5288
Andrea Francis Soria Jimenez
andrea@huggingface.co
2023-05-03T21:32:47
Fix parent class for split-names-from-dataset-info and first-rows-from-parquet (#1136)
diff --git a/services/worker/src/worker/job_runner_factory.py b/services/worker/src/worker/job_runner_factory.py index a030b649..2c548a81 100644 --- a/services/worker/src/worker/job_runner_factory.py +++ b/services/worker/src/worker/job_runner_factory.py @@ -160 +160,2 @@ class JobRunnerFactory(BaseJobRunnerFactory): -...
d303acb8c67bddc643b336dd8dee1ecf06abf68c
Sylvain Lesage
sylvain.lesage@huggingface.co
2023-05-03T19:09:22
fix: 🐛 don't refresh the UnexpectedError entries in next sync (#1135)
diff --git a/chart/env/prod.yaml b/chart/env/prod.yaml index cc0ab550..500ef0ab 100644 --- a/chart/env/prod.yaml +++ b/chart/env/prod.yaml @@ -120 +120 @@ cacheMaintenance: - error_codes_to_retry: "UnexpectedError" + error_codes_to_retry: ""
0558564fd356578e0c02eecc9fcda8a813b98ef2
Quentin Lhoest
42851186+lhoestq@users.noreply.github.com
2023-05-03T16:28:36
Re-lower row group (#1134)
diff --git a/libs/libcommon/src/libcommon/constants.py b/libs/libcommon/src/libcommon/constants.py index 3334c625..b70c6239 100644 --- a/libs/libcommon/src/libcommon/constants.py +++ b/libs/libcommon/src/libcommon/constants.py @@ -28 +28 @@ PROCESSING_STEP_SPLIT_FIRST_ROWS_FROM_PARQUET_VERSION = 2 -PROCESSING_STEP_CONF...
9e8c65bd8cebeec0e695ada39ee1a43ae11654f9
Andrea Francis Soria Jimenez
andrea@huggingface.co
2023-05-03T16:19:11
Aggregated config and dataset level for opt-in-out-urls-scan (#1108)
diff --git a/libs/libcommon/src/libcommon/config.py b/libs/libcommon/src/libcommon/config.py index 7c0655d8..9982228d 100644 --- a/libs/libcommon/src/libcommon/config.py +++ b/libs/libcommon/src/libcommon/config.py @@ -13,0 +14 @@ from libcommon.constants import ( + PROCESSING_STEP_CONFIG_OPT_IN_OUT_URLS_COUNT_VERSI...
847ca2b8e117040f7e16051775c2229d1939f79c
Sylvain Lesage
sylvain.lesage@huggingface.co
2023-05-03T15:26:05
Fix dataset split names (#1125)
diff --git a/libs/libcommon/src/libcommon/constants.py b/libs/libcommon/src/libcommon/constants.py index 54600ec2..b36f6211 100644 --- a/libs/libcommon/src/libcommon/constants.py +++ b/libs/libcommon/src/libcommon/constants.py @@ -30 +30 @@ PROCESSING_STEP_SPLIT_NAMES_FROM_STREAMING_VERSION = 3 -PROCESSING_STEP_DATASET...
3db2a069019389aa331791fca7f508d4eb3be99e
Polina Kazakova
polina@huggingface.co
2023-05-03T12:10:03
Delete `dataset-split-names-from-streaming` job runner (#1106)
diff --git a/jobs/mongodb_migration/src/mongodb_migration/collector.py b/jobs/mongodb_migration/src/mongodb_migration/collector.py index 0daba420..aebdd394 100644 --- a/jobs/mongodb_migration/src/mongodb_migration/collector.py +++ b/jobs/mongodb_migration/src/mongodb_migration/collector.py @@ -61,0 +62,9 @@ from mongod...
d0d46288ffd662d9f2be7a43a26075f21662f3aa
Sylvain Lesage
sylvain.lesage@huggingface.co
2023-05-03T11:58:38
fix: 🐛 fix the URL for /admin/force-refresh (#1131)
diff --git a/front/admin_ui/app.py b/front/admin_ui/app.py index aef2d748..47c9fef6 100644 --- a/front/admin_ui/app.py +++ b/front/admin_ui/app.py @@ -72 +72 @@ with gr.Blocks() as demo: - refresh_dataset_button = gr.Button("Force resfresh dataset") + refresh_dataset_button = gr.Button("Fo...
2bf624a0d60a351c30248880378f30583758f08e
Andrea Francis Soria Jimenez
andrea@huggingface.co
2023-05-02T20:48:07
Remove spawning url content from API /opt-in-out-urls (#1124)
diff --git a/libs/libcommon/src/libcommon/config.py b/libs/libcommon/src/libcommon/config.py index 4de84c4d..5d009a23 100644 --- a/libs/libcommon/src/libcommon/config.py +++ b/libs/libcommon/src/libcommon/config.py @@ -27,0 +28 @@ from libcommon.constants import ( + PROCESSING_STEP_SPLIT_OPT_IN_OUT_URLS_COUNT_VERSIO...
810a549ba374df6379a95067851b927b78a1978b
Sylvain Lesage
sylvain.lesage@huggingface.co
2023-05-02T13:38:04
Recompute all the cache entries with error code "UnexpectedError" (#1117)
diff --git a/chart/Chart.yaml b/chart/Chart.yaml index f322447c..a315e649 100644 --- a/chart/Chart.yaml +++ b/chart/Chart.yaml @@ -21 +21 @@ type: application -version: 1.12.3 +version: 1.12.4 diff --git a/chart/env/prod.yaml b/chart/env/prod.yaml index 692d1e31..cc0ab550 100644 --- a/chart/env/prod.yaml +++ b/chart/en...
6e9d1bede9432a7b6acac280618d73def8bbffff
Sylvain Lesage
sylvain.lesage@huggingface.co
2023-05-02T13:36:54
fix: 🐛 extend takes one argument (a list), not one arg per elem (#1116)
diff --git a/libs/libcommon/src/libcommon/exceptions.py b/libs/libcommon/src/libcommon/exceptions.py index bada9c29..ae155743 100644 --- a/libs/libcommon/src/libcommon/exceptions.py +++ b/libs/libcommon/src/libcommon/exceptions.py @@ -40 +40 @@ class CustomError(LoggedError): - disclose_cause: bool = False, + ...
f2ed26e96da297680720a0868db1b242ab421430
Sylvain Lesage
sylvain.lesage@huggingface.co
2023-05-02T09:41:28
Add error detail in admin UI (#1113)
diff --git a/front/admin_ui/app.py b/front/admin_ui/app.py index c3868c7c..aef2d748 100644 --- a/front/admin_ui/app.py +++ b/front/admin_ui/app.py @@ -8 +7,0 @@ import gradio as gr -import matplotlib.pyplot as plt @@ -11,0 +11 @@ import duckdb +import json @@ -151 +151,3 @@ with gr.Blocks() as demo: - ...
d5ab5fa87371e7b20ba8c064bc200ff7aabd29fe
Sylvain Lesage
sylvain.lesage@huggingface.co
2023-04-30T09:52:26
feat: 🎸 restore backfill job as a cron job at 12:00 every day (#1109)
diff --git a/chart/Chart.yaml b/chart/Chart.yaml index b56d0178..f322447c 100644 --- a/chart/Chart.yaml +++ b/chart/Chart.yaml @@ -21 +21 @@ type: application -version: 1.12.2 +version: 1.12.3 diff --git a/chart/env/prod.yaml b/chart/env/prod.yaml index 9a5c43f6..692d1e31 100644 --- a/chart/env/prod.yaml +++ b/chart/en...
2829133093d213b1ccfedca2d5b0b0f926204fa6
Julien Chaumond
julien@huggingface.co
2023-04-28T18:19:44
Some Doc tweaks (#1107)
diff --git a/docs/source/first_rows.mdx b/docs/source/first_rows.mdx index df387525..96c8107b 100644 --- a/docs/source/first_rows.mdx +++ b/docs/source/first_rows.mdx @@ -30 +30 @@ def query(): - response = requests.request("GET", API_URL, headers=headers) + response = requests.get(API_URL, headers=headers) diff ...
e0983833c3940ab839404c26974c8e405aacfef0
Sylvain Lesage
sylvain.lesage@huggingface.co
2023-04-28T13:31:15
feat: 🎸 change TTL for finished jobs from 7 days to 1 day (#1105)
diff --git a/jobs/mongodb_migration/src/mongodb_migration/collector.py b/jobs/mongodb_migration/src/mongodb_migration/collector.py index 22eee82c..0daba420 100644 --- a/jobs/mongodb_migration/src/mongodb_migration/collector.py +++ b/jobs/mongodb_migration/src/mongodb_migration/collector.py @@ -58,0 +59,3 @@ from mongod...
352ac00745dc6ecc89c1a1b5a37e0d58cab6ade6
Sylvain Lesage
sylvain.lesage@huggingface.co
2023-04-28T11:50:04
fix: 🐛 revert to the previous value (#1103)
diff --git a/libs/libcommon/src/libcommon/constants.py b/libs/libcommon/src/libcommon/constants.py index 44668f5e..d33fc93c 100644 --- a/libs/libcommon/src/libcommon/constants.py +++ b/libs/libcommon/src/libcommon/constants.py @@ -13 +13 @@ QUEUE_MONGOENGINE_ALIAS = "queue" -QUEUE_TTL_SECONDS = 172_800 # 2 days +QUEUE...
259fd092c12d240d9b8d733c965c4b9362e90684
Sylvain Lesage
sylvain.lesage@huggingface.co
2023-04-28T11:31:58
feat: 🎸 add logs to backill job (#1102)
diff --git a/jobs/cache_maintenance/src/cache_maintenance/backfill.py b/jobs/cache_maintenance/src/cache_maintenance/backfill.py index 585db391..a0045ae4 100644 --- a/jobs/cache_maintenance/src/cache_maintenance/backfill.py +++ b/jobs/cache_maintenance/src/cache_maintenance/backfill.py @@ -27,2 +27,3 @@ def backfill_ca...
377270df0fa64891e5af0c06745ed714795b1046
Sylvain Lesage
sylvain.lesage@huggingface.co
2023-04-28T11:26:09
feat: 🎸 add debug logs (#1101)
diff --git a/jobs/cache_maintenance/src/cache_maintenance/backfill.py b/jobs/cache_maintenance/src/cache_maintenance/backfill.py index 588d847a..585db391 100644 --- a/jobs/cache_maintenance/src/cache_maintenance/backfill.py +++ b/jobs/cache_maintenance/src/cache_maintenance/backfill.py @@ -25,2 +25,2 @@ def backfill_ca...
3593f57d880307663220ff188e6126ecda7f8e8e
Sylvain Lesage
sylvain.lesage@huggingface.co
2023-04-28T11:24:20
feat: 🎸 add an index to the jobs collection (#1100)
diff --git a/libs/libcommon/src/libcommon/constants.py b/libs/libcommon/src/libcommon/constants.py index d33fc93c..44668f5e 100644 --- a/libs/libcommon/src/libcommon/constants.py +++ b/libs/libcommon/src/libcommon/constants.py @@ -13 +13 @@ QUEUE_MONGOENGINE_ALIAS = "queue" -QUEUE_TTL_SECONDS = 604_800 # 7 days +QUEUE...
e057599aca88679aa7172d75bb7d0fec0fb8ae13
Sylvain Lesage
sylvain.lesage@huggingface.co
2023-04-28T10:46:41
Add logs and move backfill job to one shot job (#1098)
diff --git a/chart/Chart.yaml b/chart/Chart.yaml index 600399ec..b56d0178 100644 --- a/chart/Chart.yaml +++ b/chart/Chart.yaml @@ -21 +21 @@ type: application -version: 1.12.1 +version: 1.12.2 diff --git a/chart/env/prod.yaml b/chart/env/prod.yaml index 35d50a55..9a5c43f6 100644 --- a/chart/env/prod.yaml +++ b/chart/en...
51fb7d42b6b552e4dadae10c3165d1322589ea9e
Sylvain Lesage
sylvain.lesage@huggingface.co
2023-04-28T10:24:57
fix: 🐛 report backfill every 100 anaylized datasets (#1097)
diff --git a/chart/env/prod.yaml b/chart/env/prod.yaml index 1cecc3bf..35d50a55 100644 --- a/chart/env/prod.yaml +++ b/chart/env/prod.yaml @@ -129,2 +129,2 @@ backfill: - schedule: "0 * * * *" - # every hour + schedule: "40 */6 * * *" + # every six hour diff --git a/jobs/cache_maintenance/src/cache_maintenance/back...
cf92023ea6a89fdefecc2e21e7cb700e5a133583
Sylvain Lesage
sylvain.lesage@huggingface.co
2023-04-28T09:18:35
fix: 🐛 add missing environment variables for migration job (#1096)
diff --git a/chart/Chart.yaml b/chart/Chart.yaml index b7622deb..600399ec 100644 --- a/chart/Chart.yaml +++ b/chart/Chart.yaml @@ -21 +21 @@ type: application -version: 1.12.0 +version: 1.12.1 diff --git a/chart/templates/jobs/mongodb-migration/_container.tpl b/chart/templates/jobs/mongodb-migration/_container.tpl inde...
d380761996d62918f64819eacb198ba74515d8f7
Sylvain Lesage
sylvain.lesage@huggingface.co
2023-04-28T08:58:11
Update backfill job, and setup a cronjob in prod (#1077)
diff --git a/chart/Chart.yaml b/chart/Chart.yaml index 05776ee9..b7622deb 100644 --- a/chart/Chart.yaml +++ b/chart/Chart.yaml @@ -21 +21 @@ type: application -version: 1.11.0 +version: 1.12.0 diff --git a/chart/env/dev.yaml b/chart/env/dev.yaml index b996b418..67a25b69 100644 --- a/chart/env/dev.yaml +++ b/chart/env/d...
8e56fef3fa81e2b452283e90c5377eeaa46eef0f
Sylvain Lesage
sylvain.lesage@huggingface.co
2023-04-28T08:58:01
feat: 🎸 create children jobs even in case of error (#1069)
diff --git a/libs/libcommon/src/libcommon/simple_cache.py b/libs/libcommon/src/libcommon/simple_cache.py index f9ca6d28..ced94f68 100644 --- a/libs/libcommon/src/libcommon/simple_cache.py +++ b/libs/libcommon/src/libcommon/simple_cache.py @@ -332,7 +331,0 @@ def get_best_response( -def get_split_full_names_for_dataset_...
c57e4a7618db38aeebeecc627e008f48a27c3ec1
Sylvain Lesage
sylvain.lesage@huggingface.co
2023-04-27T13:18:44
Add migration for metrics (#1093)
diff --git a/jobs/mongodb_migration/src/mongodb_migration/collector.py b/jobs/mongodb_migration/src/mongodb_migration/collector.py index bc2d2014..22eee82c 100644 --- a/jobs/mongodb_migration/src/mongodb_migration/collector.py +++ b/jobs/mongodb_migration/src/mongodb_migration/collector.py @@ -55,0 +56,3 @@ from mongod...
847da8d7a11eba19dee40f57b00ec85df977065a
Sylvain Lesage
sylvain.lesage@huggingface.co
2023-04-27T12:19:11
Add WORKER_JOB_TYPES_BLOCKED (#1092)
diff --git a/chart/env/dev.yaml b/chart/env/dev.yaml index e413d595..b996b418 100644 --- a/chart/env/dev.yaml +++ b/chart/env/dev.yaml @@ -202 +202,2 @@ workers: - workerOnlyJobTypes: "" + workerJobTypesBlocked: "" + workerJobTypesOnly: "" @@ -216 +217,2 @@ workers: - workerOnlyJobTypes: "config-parquet,dat...
8f3056af4ac67a167d52ddf20d53cd19bcc510eb
Sylvain Lesage
sylvain.lesage@huggingface.co
2023-04-27T07:22:16
feat: 🎸 use a common function to forge unique ids (#1090)
diff --git a/libs/libcommon/src/libcommon/queue.py b/libs/libcommon/src/libcommon/queue.py index 0bb98dce..80ea87de 100644 --- a/libs/libcommon/src/libcommon/queue.py +++ b/libs/libcommon/src/libcommon/queue.py @@ -20 +20 @@ from libcommon.constants import QUEUE_MONGOENGINE_ALIAS, QUEUE_TTL_SECONDS -from libcommon.util...
c72264aa625d9036677e8cfd9f4db18549762d48
Albert Villanova del Moral
8515462+albertvillanova@users.noreply.github.com
2023-04-26T13:33:52
Raise informative error when importing non-installed module (#1084)
diff --git a/services/worker/src/worker/job_runners/config_names.py b/services/worker/src/worker/job_runners/config_names.py index 8043c227..38f7f43f 100644 --- a/services/worker/src/worker/job_runners/config_names.py +++ b/services/worker/src/worker/job_runners/config_names.py @@ -16 +16 @@ from worker.job_runners._da...
bed57e5cb706c25fe29205f14e79ba07ff880636
Polina Kazakova
polina@huggingface.co
2023-04-26T11:24:09
Remove /parquet-and-dataset-info job runner (#1043)
diff --git a/chart/templates/_envWorker.tpl b/chart/templates/_envWorker.tpl index 7275ea30..3fa823f7 100644 --- a/chart/templates/_envWorker.tpl +++ b/chart/templates/_envWorker.tpl @@ -39 +39 @@ -# specific to the /parquet-and-dataset-info and config-parquet-and-info job runners +# specific to 'config-parquet-and-inf...
bdda4ed42c3f884995917ae6e7575ef67e338f48
Andrea Francis Soria Jimenez
andrea@huggingface.co
2023-04-21T19:50:13
Fix key name for split names (#1081)
diff --git a/libs/libcommon/src/libcommon/state.py b/libs/libcommon/src/libcommon/state.py index 4bd03ac7..a63891b8 100644 --- a/libs/libcommon/src/libcommon/state.py +++ b/libs/libcommon/src/libcommon/state.py @@ -55 +55 @@ def fetch_split_names(dataset: str, config: str) -> List[str]: - for split_name_item in best...
c39cf845badb77a820923d8a230acda5ea64e472
Sylvain Lesage
sylvain.lesage@huggingface.co
2023-04-21T15:25:54
fix: 🐛 remove the wrong concept of blocked_by_parent (#1078)
diff --git a/libs/libcommon/src/libcommon/state.py b/libs/libcommon/src/libcommon/state.py index 4174a8d2..4bd03ac7 100644 --- a/libs/libcommon/src/libcommon/state.py +++ b/libs/libcommon/src/libcommon/state.py @@ -246 +245,0 @@ class CacheStatus: - blocked_by_parent: Dict[str, ArtifactState] = field(default_factory...
c6e300d9f16f2efce24c2cc9d0a40e7070526ef2
Sylvain Lesage
sylvain.lesage@huggingface.co
2023-04-21T14:47:46
test: 💍 make the e2e tests on API clearer (#1076)
diff --git a/e2e/tests/test_11_auth.py b/e2e/tests/test_11_api.py similarity index 53% rename from e2e/tests/test_11_auth.py rename to e2e/tests/test_11_api.py index 7c018cc6..fbeae374 100644 --- a/e2e/tests/test_11_auth.py +++ b/e2e/tests/test_11_api.py @@ -3,0 +4,2 @@ +from typing import Literal + @@ -37,19 +39,47 @@...
cffaca17e2650cb4596ef3ef8b12895bfad1470d
Quentin Lhoest
42851186+lhoestq@users.noreply.github.com
2023-04-21T14:09:51
Lower parquet row group size for image datasets (#833)
diff --git a/libs/libcommon/src/libcommon/constants.py b/libs/libcommon/src/libcommon/constants.py index dfa58b19..840569ff 100644 --- a/libs/libcommon/src/libcommon/constants.py +++ b/libs/libcommon/src/libcommon/constants.py @@ -21 +21 @@ PROCESSING_STEP_DATASET_SPLIT_NAMES_FROM_STREAMING_VERSION = 2 -PROCESSING_STEP...
422486083fceba21f5b56e64eb855744e3258209
Quentin Lhoest
42851186+lhoestq@users.noreply.github.com
2023-04-21T13:05:44
Opt-in / opt-out URLs scan with Spawning (#1044)
diff --git a/.github/workflows/_unit-tests-python.yml b/.github/workflows/_unit-tests-python.yml index 071c9c9e..78d2daef 100644 --- a/.github/workflows/_unit-tests-python.yml +++ b/.github/workflows/_unit-tests-python.yml @@ -49,0 +50 @@ jobs: + CI_SPAWNING_TOKEN: ${{ secrets.CI_SPAWNING_TOKEN }} diff --git a...
b5ac81280310aa43f568cf4e79d532b1f5b6963b
Sylvain Lesage
sylvain.lesage@huggingface.co
2023-04-21T12:25:29
refactor: 💡 create the configs at startup (#1075)
diff --git a/services/worker/src/worker/config.py b/services/worker/src/worker/config.py index 716b8476..a7d7dca1 100644 --- a/services/worker/src/worker/config.py +++ b/services/worker/src/worker/config.py @@ -182,0 +183 @@ class AppConfig: + first_rows: FirstRowsConfig = field(default_factory=FirstRowsConfig) @@ -...
44dabb7f58dc68e578f86328b47ee343114cd757
Sylvain Lesage
sylvain.lesage@huggingface.co
2023-04-20T19:18:41
refactor: 💡 change name of parameter to be more precise (#1070)
diff --git a/services/worker/src/worker/job_runner.py b/services/worker/src/worker/job_runner.py index e7546d63..0f4669e4 100644 --- a/services/worker/src/worker/job_runner.py +++ b/services/worker/src/worker/job_runner.py @@ -641 +641 @@ class JobRunner(ABC): - def raise_if_parallel_response_exists(self, parallel_j...
eb7cd6d3b8feb1826a54b7c603af865e815545d1
Sylvain Lesage
sylvain.lesage@huggingface.co
2023-04-20T15:26:04
Propagate previous step error (#1066)
diff --git a/libs/libcommon/src/libcommon/constants.py b/libs/libcommon/src/libcommon/constants.py index 7771ec0e..d8894972 100644 --- a/libs/libcommon/src/libcommon/constants.py +++ b/libs/libcommon/src/libcommon/constants.py @@ -12,9 +12,9 @@ PROCESSING_STEP_CONFIG_NAMES_VERSION = 1 -PROCESSING_STEP_CONFIG_PARQUET_VE...
f3e48d9f53d2b3a7fde7441710abfbf3e6400585
Sylvain Lesage
sylvain.lesage@huggingface.co
2023-04-20T11:30:41
fix: 🐛 add missing "config" parameter (#1065)
diff --git a/services/worker/src/worker/job_runners/config/split_names_from_dataset_info.py b/services/worker/src/worker/job_runners/config/split_names_from_dataset_info.py index ad9dcd7e..09a6a5d7 100644 --- a/services/worker/src/worker/job_runners/config/split_names_from_dataset_info.py +++ b/services/worker/src/work...
7242bf47d02840b60642cd01562eaf9cc77e0191
Andrea Francis Soria Jimenez
andrea@huggingface.co
2023-04-19T16:44:52
Adding ttls time for metrics cron job (#1064)
diff --git a/chart/Chart.yaml b/chart/Chart.yaml index f6c7c1dc..05776ee9 100644 --- a/chart/Chart.yaml +++ b/chart/Chart.yaml @@ -21 +21 @@ type: application -version: 1.10.0 +version: 1.11.0 diff --git a/chart/templates/cron-jobs/metrics-collector/job.yaml b/chart/templates/cron-jobs/metrics-collector/job.yaml index ...
b995126eda2a13b9d2d559030604689da3fc40bb
Andrea Francis Soria Jimenez
andrea@huggingface.co
2023-04-19T16:07:09
Add missing cache config (#1063)
diff --git a/chart/Chart.yaml b/chart/Chart.yaml index 750c0cbc..f6c7c1dc 100644 --- a/chart/Chart.yaml +++ b/chart/Chart.yaml @@ -21 +21 @@ type: application -version: 1.9.0 +version: 1.10.0 diff --git a/chart/templates/cron-jobs/metrics-collector/_container.tpl b/chart/templates/cron-jobs/metrics-collector/_container...
c23599b52717d958b3d911b7d22fd7ac9f1107a3
Rémy
remy.trompier@gmail.com
2023-04-19T15:45:16
fix: cron job definition (#1062)
diff --git a/chart/templates/cron-jobs/metrics-collector/_container.tpl b/chart/templates/cron-jobs/metrics-collector/_container.tpl index e159d00b..b9391105 100644 --- a/chart/templates/cron-jobs/metrics-collector/_container.tpl +++ b/chart/templates/cron-jobs/metrics-collector/_container.tpl @@ -7,0 +8,3 @@ + securi...
a1f3400f66f65c9d3750b700385a91a582e80308
Sylvain Lesage
sylvain.lesage@huggingface.co
2023-04-19T13:44:17
feat: 🎸 add backfill tasks, and button to launch backfill (#1061)
diff --git a/front/admin_ui/app.py b/front/admin_ui/app.py index b7f69f66..c3868c7c 100644 --- a/front/admin_ui/app.py +++ b/front/admin_ui/app.py @@ -80,0 +81,4 @@ with gr.Blocks() as demo: + backfill_message = gr.Markdown("", visible=False) + backfill_plan_table = gr.DataFrame(visible=Fa...
43b2992779055243563189755818b7ab0191e290
Sylvain Lesage
sylvain.lesage@huggingface.co
2023-04-19T13:43:51
feat: 🎸 handle the fan-in steps correctly (#1060)
diff --git a/libs/libcommon/src/libcommon/state.py b/libs/libcommon/src/libcommon/state.py index fc2e5a6d..4174a8d2 100644 --- a/libs/libcommon/src/libcommon/state.py +++ b/libs/libcommon/src/libcommon/state.py @@ -166,33 +165,0 @@ class ArtifactState: - def get_parent_artifact_states(self, parent_step: ProcessingSt...
1194e0dfeb0b96d6068308b3d103ddf49318a422
Sylvain Lesage
sylvain.lesage@huggingface.co
2023-04-19T13:29:30
fix: 🐛 remove wrong filtering of the step parents (#1059)
diff --git a/libs/libcommon/src/libcommon/processing_graph.py b/libs/libcommon/src/libcommon/processing_graph.py index cd32e0f8..58d40e7a 100644 --- a/libs/libcommon/src/libcommon/processing_graph.py +++ b/libs/libcommon/src/libcommon/processing_graph.py @@ -126,6 +126 @@ class ProcessingGraph: - required_st...
553eec2580b38159c275b70d6779e38ae18ae9bb
Sylvain Lesage
sylvain.lesage@huggingface.co
2023-04-19T07:28:29
Fix dataset level aggregators (#1056)
diff --git a/libs/libcommon/src/libcommon/config.py b/libs/libcommon/src/libcommon/config.py index ad8ba6ea..efacfa31 100644 --- a/libs/libcommon/src/libcommon/config.py +++ b/libs/libcommon/src/libcommon/config.py @@ -220 +220 @@ class ProcessingGraphConfig: - "requires": "config-parquet", + ...
5dbe4a07257c13b55fc46caf59dfe8ab4f722fc4
Andrea Francis Soria Jimenez
andrea@huggingface.co
2023-04-18T18:18:26
Change restart policy for metrics collector cron job (#1058)
diff --git a/chart/Chart.yaml b/chart/Chart.yaml index 577023ad..750c0cbc 100644 --- a/chart/Chart.yaml +++ b/chart/Chart.yaml @@ -21 +21 @@ type: application -version: 1.8.0 +version: 1.9.0 diff --git a/chart/templates/cron-jobs/metrics-collector/job.yaml b/chart/templates/cron-jobs/metrics-collector/job.yaml index 89...
d7f702e08976cfafceb01b00eccaebc42bebcc6a
Andrea Francis Soria Jimenez
andrea@huggingface.co
2023-04-18T14:54:04
Fix container for metrics collector (#1057)
diff --git a/chart/templates/cron-jobs/metrics-collector/job.yaml b/chart/templates/cron-jobs/metrics-collector/job.yaml index 130e754e..892af386 100644 --- a/chart/templates/cron-jobs/metrics-collector/job.yaml +++ b/chart/templates/cron-jobs/metrics-collector/job.yaml @@ -19 +19 @@ spec: - containers: {{ include...
4c0878f54ac88f38ff11b65fb7d6cfc72f104c97
Sylvain Lesage
sylvain.lesage@huggingface.co
2023-04-18T08:23:32
feat: 🎸 get the dataset state, and backfill the missing parts (#1045)
diff --git a/jobs/cache_maintenance/tests/test_backfill_cache.py b/jobs/cache_maintenance/tests/test_backfill_cache.py index c89d8870..8e0d6626 100644 --- a/jobs/cache_maintenance/tests/test_backfill_cache.py +++ b/jobs/cache_maintenance/tests/test_backfill_cache.py @@ -24,0 +25 @@ def test_backfill_cache() -> None: + ...
ab6f4ba27ac553d589de371049db484a7a6a3825
Sylvain Lesage
sylvain.lesage@huggingface.co
2023-04-17T15:54:33
Avoid disclosing private datasets (#1053)
diff --git a/libs/libcommon/src/libcommon/dataset.py b/libs/libcommon/src/libcommon/dataset.py index 54b39585..706c0f10 100644 --- a/libs/libcommon/src/libcommon/dataset.py +++ b/libs/libcommon/src/libcommon/dataset.py @@ -17,0 +18 @@ DatasetErrorCode = Literal[ + "DatasetRevisionNotFoundError", @@ -78,0 +80,13 @@ c...
03e15c72e539db79cfcde2b0fc1c96e43b6fa9ca
Sylvain Lesage
sylvain.lesage@huggingface.co
2023-04-17T15:54:22
chore: 🤖 add DEV_NETWORK_MODE and DEV_MONGO_HOST (#1052)
diff --git a/tools/docker-compose-dev-base.yml b/tools/docker-compose-dev-base.yml index 28fbd274..7e11cf4d 100644 --- a/tools/docker-compose-dev-base.yml +++ b/tools/docker-compose-dev-base.yml @@ -13 +13 @@ services: - CACHE_MONGO_URL: ${CACHE_MONGO_URL-mongodb://host.docker.internal:${MONGO_PORT-27017}} # use m...
4f3e52d5b1f3f0d8551716aef964516f7fd501f2
Andrea Francis Soria Jimenez
andrea@huggingface.co
2023-04-17T11:51:30
Separate computation metrics for jobs and cache in a cron job (#1046)
diff --git a/.github/workflows/_unit-tests-python.yml b/.github/workflows/_unit-tests-python.yml index dd05f1da..071c9c9e 100644 --- a/.github/workflows/_unit-tests-python.yml +++ b/.github/workflows/_unit-tests-python.yml @@ -47,0 +48 @@ jobs: + METRICS_MONGO_URL: mongodb://localhost:${{ env.mongo-port }} ...
880959a69dbf5f0f546c8c359f67c9d7bec47b08
Sylvain Lesage
sylvain.lesage@huggingface.co
2023-04-12T16:47:17
fix: 🐛 add missing environment variable (#1048)
diff --git a/chart/templates/reverse-proxy/_container.tpl b/chart/templates/reverse-proxy/_container.tpl index 01018420..5f1a0952 100644 --- a/chart/templates/reverse-proxy/_container.tpl +++ b/chart/templates/reverse-proxy/_container.tpl @@ -10,0 +11,2 @@ + - name: CACHED_ASSETS_DIRECTORY + value: {{ .Values.cache...
3c68950d658a2b97b8cd33a79a8dbbe715df6139
Quentin Lhoest
42851186+lhoestq@users.noreply.github.com
2023-04-12T16:32:37
Random access: image and audio files support (#1026)
diff --git a/.github/workflows/_quality-python.yml b/.github/workflows/_quality-python.yml index 9c1af905..ecd866c3 100644 --- a/.github/workflows/_quality-python.yml +++ b/.github/workflows/_quality-python.yml @@ -11,3 +10,0 @@ on: - is-datasets-worker: - required: false - type: boolean @@ -37,2 +34...
571d62650ae6249899afc90d9b2df4227a0c9620
Steven Liu
59462357+stevhliu@users.noreply.github.com
2023-04-11T16:57:07
[docs] Process Parquet files (#987)
diff --git a/docs/source/_toctree.yml b/docs/source/_toctree.yml index 67b9bc5d..cf5709b9 100644 --- a/docs/source/_toctree.yml +++ b/docs/source/_toctree.yml @@ -16 +16,3 @@ - title: List Parquet files + title: List Parquet file + - local: parquet_process + title: Query datasets from Datasets Server diff --g...
af1a46caf0dd93a00b2a234ba937b231158350d5
Polina Kazakova
polina@huggingface.co
2023-04-11T14:35:13
Config-level parquet-and-dataset-info (#985)
diff --git a/.github/workflows/_e2e_tests.yml b/.github/workflows/_e2e_tests.yml index e4febb35..25e0b578 100644 --- a/.github/workflows/_e2e_tests.yml +++ b/.github/workflows/_e2e_tests.yml @@ -41 +41 @@ jobs: - PARQUET_AND_DATASET_INFO_COMMITTER_HF_TOKEN: "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" + PA...
401cb3f3c288269e67b313e0b60bc6d742db46f7
Andrea Francis Soria Jimenez
andrea@huggingface.co
2023-04-11T11:47:23
Dataset status in admin ui (#1040)
diff --git a/.vscode/monorepo.code-workspace b/.vscode/monorepo.code-workspace index 724166ba..d73dd79a 100644 --- a/.vscode/monorepo.code-workspace +++ b/.vscode/monorepo.code-workspace @@ -37,0 +38,4 @@ + }, + { + "name": "front/admin_ui", + "path": "../front/admin_ui" diff --git a/front/admin_ui/app....
768b9aa626e762f229b676191eb32483004a7d9b
Andrea Francis Soria Jimenez
andrea@huggingface.co
2023-04-11T11:44:48
Change response type and adding progress (#1041)
diff --git a/libs/libcommon/src/libcommon/simple_cache.py b/libs/libcommon/src/libcommon/simple_cache.py index 28024da6..bbf451c4 100644 --- a/libs/libcommon/src/libcommon/simple_cache.py +++ b/libs/libcommon/src/libcommon/simple_cache.py @@ -190,16 +189,0 @@ def get_response_without_content( -def get_dataset_responses...
2d7a5e63c3c1c6bd1b1e5947a655c0cf0bd33798
Polina Kazakova
polina@huggingface.co
2023-04-10T16:04:48
Update `huggingface_hub` version to 0.13 (#1039)
diff --git a/e2e/poetry.lock b/e2e/poetry.lock index 210871b4..8cebc09a 100644 --- a/e2e/poetry.lock +++ b/e2e/poetry.lock @@ -423 +423 @@ name = "huggingface-hub" -version = "0.12.1" +version = "0.13.4" @@ -429,2 +429,2 @@ files = [ - {file = "huggingface_hub-0.12.1-py3-none-any.whl", hash = "sha256:867586cc8543fe1...
9f7edded8358034a1034a4aad98f6c4ac2037772
Andrea Francis Soria Jimenez
andrea@huggingface.co
2023-04-10T12:06:55
Moving cache_refresh to upgrade maintenance action (#1029)
diff --git a/.github/workflows/cd.yml b/.github/workflows/cd.yml index 5c0d5340..d938a7f6 100644 --- a/.github/workflows/cd.yml +++ b/.github/workflows/cd.yml @@ -26,2 +25,0 @@ jobs: - - directory: jobs - project: cache_refresh @@ -106,2 +103,0 @@ jobs: - cacheRefresh: - ...
63e69ea939f5a329ba0d84daaa729a305e29edb6
Sylvain Lesage
sylvain.lesage@huggingface.co
2023-04-07T12:27:33
fix: 🐛 reduce the k8s job TTL to 5 minutes (#1036)
diff --git a/chart/templates/jobs/cache-maintenance/job.yaml b/chart/templates/jobs/cache-maintenance/job.yaml index eb4b793d..6cd51f57 100644 --- a/chart/templates/jobs/cache-maintenance/job.yaml +++ b/chart/templates/jobs/cache-maintenance/job.yaml @@ -14 +14 @@ spec: - ttlSecondsAfterFinished: 86400 + ttlSecondsAf...
c5b3b0570d7ea0876660659533fb04a4d876babd
Sylvain Lesage
sylvain.lesage@huggingface.co
2023-04-07T12:27:02
Create step dataset-is-valid (#1032)
diff --git a/libs/libcommon/src/libcommon/config.py b/libs/libcommon/src/libcommon/config.py index ac01cd8a..86bbf204 100644 --- a/libs/libcommon/src/libcommon/config.py +++ b/libs/libcommon/src/libcommon/config.py @@ -16,0 +17 @@ from libcommon.constants import ( + PROCESSING_STEP_DATASET_IS_VALID_VERSION, @@ -199,...
d1ab91e178a3d782ea4c650f0614d90e2d3a23c6
Sylvain Lesage
sylvain.lesage@huggingface.co
2023-04-07T11:28:58
fix: 🐛 enable the two last migrations (#1034)
diff --git a/jobs/mongodb_migration/src/mongodb_migration/collector.py b/jobs/mongodb_migration/src/mongodb_migration/collector.py index 053469d8..02cf9a88 100644 --- a/jobs/mongodb_migration/src/mongodb_migration/collector.py +++ b/jobs/mongodb_migration/src/mongodb_migration/collector.py @@ -43,0 +44,6 @@ from mongod...
fc169202811648e4c53bfca558a064e63f58d6aa
Sylvain Lesage
sylvain.lesage@huggingface.co
2023-04-07T09:26:47
Remove /splits (#1033)
diff --git a/e2e/tests/test_31_admin_metrics.py b/e2e/tests/test_31_admin_metrics.py index c3ef9de7..65a3cd6c 100644 --- a/e2e/tests/test_31_admin_metrics.py +++ b/e2e/tests/test_31_admin_metrics.py @@ -33 +33 @@ def test_metrics() -> None: - for queue in ["/splits", "split-first-rows-from-streaming", "dataset-parqu...
020d0eec506aaf0dd1650b6885c07f8b71884b77
Andrea Francis Soria Jimenez
andrea@huggingface.co
2023-04-07T06:55:25
Disable full backfill (#1028)
diff --git a/chart/env/dev.yaml b/chart/env/dev.yaml index 3adb6f9c..6a7bfe6a 100644 --- a/chart/env/dev.yaml +++ b/chart/env/dev.yaml @@ -106 +106 @@ cacheMaintenance: - action: "backfill" + action: "skip" diff --git a/chart/env/prod.yaml b/chart/env/prod.yaml index 20a5ba11..fe24f4e6 100644 --- a/chart/env/prod.yam...
34d49c9a8383bf3521844ed507a28a141ef193fc
Andrea Francis Soria Jimenez
andrea@huggingface.co
2023-04-06T18:40:10
Increase backgill resources and adding logs (#1031)
diff --git a/chart/env/prod.yaml b/chart/env/prod.yaml index 63c6cf9c..20a5ba11 100644 --- a/chart/env/prod.yaml +++ b/chart/env/prod.yaml @@ -115,2 +114,0 @@ cacheMaintenance: - cpu: 100m - limits: @@ -117,0 +116,4 @@ cacheMaintenance: + memory: "2Gi" + limits: + cpu: 2 + memory: "8Gi" diff -...
2e6ace6c8ce33322d8c9bb8839f89d7f8a96f922
Andrea Francis Soria Jimenez
andrea@huggingface.co
2023-04-06T15:39:46
Adding more replicas (#1027)
diff --git a/chart/env/prod.yaml b/chart/env/prod.yaml index 68954414..63c6cf9c 100644 --- a/chart/env/prod.yaml +++ b/chart/env/prod.yaml @@ -222 +222 @@ workers: - replicas: 40 + replicas: 80 @@ -237 +237 @@ workers: - replicas: 2 + replicas: 4
ff889862f54cd05141c77a16008b35c659afb4ea
Andrea Francis Soria Jimenez
andrea@huggingface.co
2023-04-06T15:14:55
Moving /backfill to a k8s job (#1017)
diff --git a/.github/workflows/cd.yml b/.github/workflows/cd.yml index 42f13df5..5c0d5340 100644 --- a/.github/workflows/cd.yml +++ b/.github/workflows/cd.yml @@ -27,0 +28,2 @@ jobs: + - directory: jobs + project: cache_maintenance @@ -105,0 +108,2 @@ jobs: + cacheMaintenance: + ...
3e100ad5ed29d3842f41cc01956ed679181df3ec
Sylvain Lesage
sylvain.lesage@huggingface.co
2023-04-06T15:05:59
Create step `dataset-split-names` (#1025)
diff --git a/libs/libcommon/src/libcommon/config.py b/libs/libcommon/src/libcommon/config.py index d3765678..d52e7277 100644 --- a/libs/libcommon/src/libcommon/config.py +++ b/libs/libcommon/src/libcommon/config.py @@ -20,0 +21 @@ from libcommon.constants import ( + PROCESSING_STEP_DATASET_SPLIT_NAMES_VERSION, @@ -1...
e89a249ac3dc7548517f8c516089b9f961258565
Quentin Lhoest
42851186+lhoestq@users.noreply.github.com
2023-04-06T09:33:09
Fix RowsIndex.query (#1020)
diff --git a/services/api/src/api/routes/rows.py b/services/api/src/api/routes/rows.py index 0b837ed1..9eb26fd7 100644 --- a/services/api/src/api/routes/rows.py +++ b/services/api/src/api/routes/rows.py @@ -186 +186 @@ class RowsIndex: - last_row = min(offset, offset + length - 1, last_row_in_parquet) + l...
ea8df845160f0ca1954f6d78f37ba3f323b1372e
Sylvain Lesage
sylvain.lesage@huggingface.co
2023-04-06T08:09:12
feat: 🎸 update first-rows from streaming on 2 split-names jobs (#1021)
diff --git a/libs/libcommon/src/libcommon/config.py b/libs/libcommon/src/libcommon/config.py index 578c49b3..d3765678 100644 --- a/libs/libcommon/src/libcommon/config.py +++ b/libs/libcommon/src/libcommon/config.py @@ -142 +142 @@ class ProcessingGraphConfig: - "requires": "/split-names-from-streaming", ...
4fef16ffe5a8c4cf18172edf1418e6bb09d152eb
Sylvain Lesage
sylvain.lesage@huggingface.co
2023-04-05T18:43:10
feat: 🎸 let a step have multiple required steps (#1019)
diff --git a/jobs/cache_refresh/tests/test_outdated_cache.py b/jobs/cache_refresh/tests/test_outdated_cache.py index fe0c1f52..d2115233 100644 --- a/jobs/cache_refresh/tests/test_outdated_cache.py +++ b/jobs/cache_refresh/tests/test_outdated_cache.py @@ -30 +30 @@ def test_refresh_cache( - requires=None, + ...
819b57c975c965a987ffef9d9ef8453b5e3e6e3a
Sylvain Lesage
sylvain.lesage@huggingface.co
2023-04-05T15:00:19
Use networkx to compute the processing graph (#1016)
diff --git a/jobs/cache_refresh/poetry.lock b/jobs/cache_refresh/poetry.lock index 6c387d05..84bcce0c 100644 --- a/jobs/cache_refresh/poetry.lock +++ b/jobs/cache_refresh/poetry.lock @@ -546,0 +547 @@ mongoengine = "^0.24.2" +networkx = "^3.0" @@ -666,16 +666,0 @@ pymongo = ">=3.4,<5.0" -[[package]] -name = "mongomock"...
56fe67c3ff9bee7c9f8af7406075c0b206794e61
Albert Villanova del Moral
8515462+albertvillanova@users.noreply.github.com
2023-04-04T07:58:10
Raise error when the viewer is disabled (#1005)
diff --git a/docs/source/valid.mdx b/docs/source/valid.mdx index 116db98c..af818e49 100644 --- a/docs/source/valid.mdx +++ b/docs/source/valid.mdx @@ -130,0 +131,6 @@ If a dataset is not valid, then the response looks like: +Some cases where a dataset is not valid are: +- the dataset viewer is disabled +- the dataset i...
2cd18afdb4b48989e090163dd7b5d1900d983d8b
Andrea Francis Soria Jimenez
andrea@huggingface.co
2023-04-03T14:45:18
First rows skip compute if a response already exists (#1007)
diff --git a/services/worker/src/worker/job_runner.py b/services/worker/src/worker/job_runner.py index 4ffcdfed..6ced35a3 100644 --- a/services/worker/src/worker/job_runner.py +++ b/services/worker/src/worker/job_runner.py @@ -35,0 +36 @@ GeneralJobRunnerErrorCode = Literal[ + "ResponseAlreadyComputedError", @@ -181...
ecb861b5e8d728b80391f580e63c8d2cad63a1fc
Albert Villanova del Moral
8515462+albertvillanova@users.noreply.github.com
2023-04-03T08:41:02
Update datasets dependency to 2.11.0 version (#1010)
diff --git a/services/worker/poetry.lock b/services/worker/poetry.lock index d769fb04..c00e6483 100644 --- a/services/worker/poetry.lock +++ b/services/worker/poetry.lock @@ -866 +866 @@ name = "datasets" -version = "2.10.1" +version = "2.11.0" @@ -872,2 +872,2 @@ files = [ - {file = "datasets-2.10.1-py3-none-any.wh...
2021c40d96a9402a2b864a16d18d18a1a3c4379d
Sylvain Lesage
sylvain.lesage@huggingface.co
2023-03-31T15:37:02
feat: 🎸 move COMMON_LOG_LEVEL to LOG_LEVEL (#1006)
diff --git a/.github/workflows/_e2e_tests.yml b/.github/workflows/_e2e_tests.yml index 90852c97..e4febb35 100644 --- a/.github/workflows/_e2e_tests.yml +++ b/.github/workflows/_e2e_tests.yml @@ -39 +39 @@ jobs: - COMMON_LOG_LEVEL: "DEBUG" + LOG_LEVEL: "DEBUG" @@ -78 +78 @@ jobs: - COMMON_LOG_...
3f78bd33bfbbf531037c67f5841d76c7adbd1953
Andrea Francis Soria Jimenez
andrea@huggingface.co
2023-03-31T13:57:25
Split first rows from parquet new Job Runner (#988)
diff --git a/libs/libcommon/src/libcommon/config.py b/libs/libcommon/src/libcommon/config.py index 05025322..084da8ef 100644 --- a/libs/libcommon/src/libcommon/config.py +++ b/libs/libcommon/src/libcommon/config.py @@ -21,0 +22 @@ from libcommon.constants import ( + PROCESSING_STEP_SPLIT_FIRST_ROWS_FROM_PARQUET_VERS...
153fc25691ccc61b2392d0c3fab5ae5cf0423b4c
Albert Villanova del Moral
8515462+albertvillanova@users.noreply.github.com
2023-03-31T13:48:53
Remove assignee from Dataset Viewer Issue template (#993)
diff --git a/.github/ISSUE_TEMPLATE/hub-dataset-viewer.yml b/.github/ISSUE_TEMPLATE/hub-dataset-viewer.yml index fb48b3ce..31df50c6 100644 --- a/.github/ISSUE_TEMPLATE/hub-dataset-viewer.yml +++ b/.github/ISSUE_TEMPLATE/hub-dataset-viewer.yml @@ -5,2 +4,0 @@ labels: ["bug"] -assignees: - - severo
49e010aca716ba79fb1f1065b52ad6eebcfa8dfc
Andrea Francis Soria Jimenez
andrea@huggingface.co
2023-03-30T19:20:45
check if /splits-name-from-* exists before processing it (#995)
diff --git a/services/worker/src/worker/job_runner.py b/services/worker/src/worker/job_runner.py index 714a6a6b..4ffcdfed 100644 --- a/services/worker/src/worker/job_runner.py +++ b/services/worker/src/worker/job_runner.py @@ -206,0 +207 @@ class JobRunner(ABC): + _dataset_git_revision: Optional[str] = None @@ -287,...
7b01da3f667370c51c0d753b483d2ebc109bcc49
Andrea Francis Soria Jimenez
andrea@huggingface.co
2023-03-29T22:02:04
Updating dependencies in worker to support first rows from parquet (#996)
diff --git a/services/worker/poetry.lock b/services/worker/poetry.lock index 0934c65b..d769fb04 100644 --- a/services/worker/poetry.lock +++ b/services/worker/poetry.lock @@ -1 +1 @@ -# This file is automatically @generated by Poetry 1.4.0 and should not be changed by hand. +# This file is automatically @generated by P...
3a98ba6166c1698a7b2ae959fbcdf5e95a4001a4
Steven Liu
59462357+stevhliu@users.noreply.github.com
2023-03-28T17:07:50
[docs] Pandas to Polars (#978)
diff --git a/docs/source/_toctree.yml b/docs/source/_toctree.yml index b35ddb65..67b9bc5d 100644 --- a/docs/source/_toctree.yml +++ b/docs/source/_toctree.yml @@ -16 +16 @@ - title: List parquet files + title: List Parquet files diff --git a/docs/source/parquet.mdx b/docs/source/parquet.mdx index eae81aff..94c138...
a4665b4b1d21d974ce702bb7931647884e882a08
Quentin Lhoest
42851186+lhoestq@users.noreply.github.com
2023-03-27T18:00:12
support splits with dots (#990)
diff --git a/services/worker/src/worker/job_runners/parquet_and_dataset_info.py b/services/worker/src/worker/job_runners/parquet_and_dataset_info.py index 25386508..7ffae0cb 100644 --- a/services/worker/src/worker/job_runners/parquet_and_dataset_info.py +++ b/services/worker/src/worker/job_runners/parquet_and_dataset_i...
47886501d2b0e74be441643c22338665d54b3ac5
Sylvain Lesage
sylvain.lesage@huggingface.co
2023-03-27T08:27:35
Random rows (#875)
diff --git a/.github/workflows/_quality-python.yml b/.github/workflows/_quality-python.yml index 2b4e6b15..9c1af905 100644 --- a/.github/workflows/_quality-python.yml +++ b/.github/workflows/_quality-python.yml @@ -56 +56 @@ jobs: - run: bash -c "poetry run pip-audit -r <(poetry export -f requirements.txt --with...
2dc79dd55209a0d5813397b7c7ed465d84fa541a
Sylvain Lesage
sylvain.lesage@huggingface.co
2023-03-24T18:13:56
feat: 🎸 remove bigcode/the-stack from the blocked datasets (#986)
diff --git a/chart/env/prod.yaml b/chart/env/prod.yaml index 487f3ba5..d03ecce9 100644 --- a/chart/env/prod.yaml +++ b/chart/env/prod.yaml @@ -87 +87 @@ parquetAndDatasetInfo: - blockedDatasets: "matallanas/linustechtips-transcript-audio-wav,KnutJaegersberg/Interpretable_word_embeddings_large_cskg,ashraf-ali/quran-dat...
91f1861b8754228114a80561ab613e317e7fd427
Sylvain Lesage
sylvain.lesage@huggingface.co
2023-03-24T17:58:02
Access docker host (#981)
diff --git a/tools/docker-compose-dev-base.yml b/tools/docker-compose-dev-base.yml index 4b7cffce..6f4e91d8 100644 --- a/tools/docker-compose-dev-base.yml +++ b/tools/docker-compose-dev-base.yml @@ -12 +12 @@ services: - CACHE_MONGO_URL: ${CACHE_MONGO_URL-mongodb://mongodb} # use mongo container by default + ...
4caf3a7629c8d1883199fb0aaa3ee0cb628d97cf
Polina Kazakova
polina@huggingface.co
2023-03-24T17:35:48
Make config-level `/split-names-from-dataset-info` dependent on `config-info` instead of `dataset-info` (#984)
diff --git a/libs/libcommon/src/libcommon/config.py b/libs/libcommon/src/libcommon/config.py index 8721d0a0..05025322 100644 --- a/libs/libcommon/src/libcommon/config.py +++ b/libs/libcommon/src/libcommon/config.py @@ -158 +158 @@ class ProcessingGraphConfig: - "requires": "dataset-info", + ...
38d6c6d35698e44112a0e9a36dde3555241d3e1a
Sylvain Lesage
sylvain.lesage@huggingface.co
2023-03-24T16:50:24
feat: 🎸 add bigcode/the-stack to the supported datasets (#983)
diff --git a/chart/env/prod.yaml b/chart/env/prod.yaml index 67032e90..487f3ba5 100644 --- a/chart/env/prod.yaml +++ b/chart/env/prod.yaml @@ -87,0 +88 @@ parquetAndDatasetInfo: + supportedDatasets: "bigcode/the-stack"
f31723e0a395564c0c6948349c04e1a482da2b06
Polina Kazakova
polina@huggingface.co
2023-03-24T10:43:57
Get config names from /config-names instead of /parquet-and-dataset-info for dataset-level size and parquet (#982)
diff --git a/services/worker/src/worker/job_runner_factory.py b/services/worker/src/worker/job_runner_factory.py index 565d409b..384fc03d 100644 --- a/services/worker/src/worker/job_runner_factory.py +++ b/services/worker/src/worker/job_runner_factory.py @@ -14,0 +15,2 @@ from worker.job_runners.config.info import Conf...
340f5ba4d572c257650e03ae4054f07d743e97fa
Polina Kazakova
polina@huggingface.co
2023-03-23T18:40:34
Config-level dataset info (#962)
diff --git a/chart/env/dev.yaml b/chart/env/dev.yaml index 13683ff7..39b97b92 100644 --- a/chart/env/dev.yaml +++ b/chart/env/dev.yaml @@ -188 +188 @@ workers: - workerOnlyJobTypes: "config-parquet,dataset-parquet,/dataset-info,/split-names-from-dataset-info,config-size,dataset-size,dataset-split-names-from-streamin...
28d339e40889d091fd5c34796fd0eee37e55ecbf
Quentin Lhoest
42851186+lhoestq@users.noreply.github.com
2023-03-23T13:16:30
Kill long jobs (#977)
diff --git a/chart/templates/_envWorker.tpl b/chart/templates/_envWorker.tpl index 11b01b55..fc3cd97c 100644 --- a/chart/templates/_envWorker.tpl +++ b/chart/templates/_envWorker.tpl @@ -12,0 +13,2 @@ +- name: WORKER_MAX_JOB_DURATION_SECONDS + value: {{ .Values.worker.maxJobDurationSeconds | quote }} diff --git a/char...
dc51be62a0313a690f65b644a267c565621df0c0
Andrea Francis Soria Jimenez
andrea@huggingface.co
2023-03-23T12:00:53
/first-rows to first-rows-from-streaming (#967)
diff --git a/e2e/tests/test_31_admin_metrics.py b/e2e/tests/test_31_admin_metrics.py index 84f548b8..c3ef9de7 100644 --- a/e2e/tests/test_31_admin_metrics.py +++ b/e2e/tests/test_31_admin_metrics.py @@ -33,2 +33,2 @@ def test_metrics() -> None: - for queue in ["/splits", "/first-rows", "dataset-parquet"]: - #...
9bcae7ac67f6893f7e5008fa0ef7d17b9a42a48d
Andrea Francis Soria Jimenez
andrea@huggingface.co
2023-03-21T16:43:17
Disable cache refresh job on values and dev yaml files (#974)
diff --git a/chart/env/dev.yaml b/chart/env/dev.yaml index 7d9b7950..13683ff7 100644 --- a/chart/env/dev.yaml +++ b/chart/env/dev.yaml @@ -30,5 +30,6 @@ images: - cacheRefresh: - registry: huggingface - useGlobalRegistry: false - repository: datasets-server-jobs-cache_refresh - tag: sha-fb3399a +...
5c0d8534eb3a93289603c80a9f79bcf272df4f47
Andrea Francis Soria Jimenez
andrea@huggingface.co
2023-03-21T15:05:43
Reduce prod resources and remove cache refresh job (temporal change) (#972)
diff --git a/chart/env/prod.yaml b/chart/env/prod.yaml index 3c99fb35..2dea2353 100644 --- a/chart/env/prod.yaml +++ b/chart/env/prod.yaml @@ -29,5 +29,6 @@ images: - cacheRefresh: - registry: huggingface - useGlobalRegistry: false - repository: datasets-server-jobs-cache_refresh - tag: sha-fb339...
5c0e59f79d4a1f2f09b0b2ddef02b0b30a85f226
Andrea Francis Soria Jimenez
andrea@huggingface.co
2023-03-21T13:16:14
Removing hook annotations (#971)
diff --git a/chart/templates/jobs/cache-refresh/job.yaml b/chart/templates/jobs/cache-refresh/job.yaml index 29b24427..9a24f3ec 100644 --- a/chart/templates/jobs/cache-refresh/job.yaml +++ b/chart/templates/jobs/cache-refresh/job.yaml @@ -11,4 +10,0 @@ metadata: - annotations: - "helm.sh/hook": pre-upgrade - "he...
19d20a266da5423e671708d72cbf534b367450f4
Andrea Francis Soria Jimenez
andrea@huggingface.co
2023-03-21T12:43:32
Increase resources for 'all' worker (#970)
diff --git a/chart/env/prod.yaml b/chart/env/prod.yaml index edae846e..3c99fb35 100644 --- a/chart/env/prod.yaml +++ b/chart/env/prod.yaml @@ -203 +203 @@ workers: - replicas: 22 + replicas: 100
b1973fee9ee0c8d3654fa8db5c2ed11bcb34c642
Andrea Francis Soria Jimenez
andrea@huggingface.co
2023-03-20T19:45:11
Refresh when cache is outdated because of job_runner_version (#912)
diff --git a/.github/workflows/cd.yml b/.github/workflows/cd.yml index d2c0f629..42f13df5 100644 --- a/.github/workflows/cd.yml +++ b/.github/workflows/cd.yml @@ -25,0 +26,2 @@ jobs: + - directory: jobs + project: cache_refresh @@ -101,0 +104,2 @@ jobs: + cacheRefresh: + ...
6212793896a15d537f7ba1ff508197c02e7c8e8a
Sylvain Lesage
sylvain.lesage@huggingface.co
2023-03-20T09:11:40
feat: 🎸 reduce the number of allowed jobs for one namespace (#961)
diff --git a/chart/env/prod.yaml b/chart/env/prod.yaml index c104cf7d..54129648 100644 --- a/chart/env/prod.yaml +++ b/chart/env/prod.yaml @@ -194 +194 @@ workers: - maxJobsPerNamespace: 20 + maxJobsPerNamespace: 5 @@ -209,2 +209,2 @@ workers: - maxJobsPerNamespace: 20 - workerOnlyJobTypes: "config-parquet,...
2a5a2b7d3e01b4b11d7a4161d8387469838f9c0a
Sylvain Lesage
sylvain.lesage@huggingface.co
2023-03-20T08:51:22
feat: 🎸 authenticate webhooks sent by the Hub (#955)
diff --git a/chart/env/dev.yaml b/chart/env/dev.yaml index 09be9749..77fedca1 100644 --- a/chart/env/dev.yaml +++ b/chart/env/dev.yaml @@ -57,0 +58,4 @@ secrets: + hfWebhookSecret: + fromSecret: false + secretName: "webhook-secret" + value: "" diff --git a/chart/env/prod.yaml b/chart/env/prod.yaml index 60eac...
c8b2b696067335b017b9e16f3ac79d8d39e79a29
Andrea Francis Soria Jimenez
andrea@huggingface.co
2023-03-17T16:43:25
Adding ligth worker (#945)
diff --git a/chart/env/dev.yaml b/chart/env/dev.yaml index 57ff300e..09be9749 100644 --- a/chart/env/dev.yaml +++ b/chart/env/dev.yaml @@ -162 +162 @@ workers: - deployName: "generic" + deployName: "all" @@ -176 +176 @@ workers: - deployName: "first-rows" + deployName: "light" @@ -178,15 +178 @@ workers: - ...