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
f495e2c437689519f6bed507fb43b5a6f2d9b39c
Sylvain Lesage
sylvain.lesage@huggingface.co
2024-02-19T12:51:24
increase resources to 10/80/10 (#2468)
diff --git a/chart/env/prod.yaml b/chart/env/prod.yaml index 77f867bc..880a3b11 100644 --- a/chart/env/prod.yaml +++ b/chart/env/prod.yaml @@ -416 +416 @@ workers: - replicas: 4 + replicas: 10 @@ -436 +436 @@ workers: - replicas: 10 + replicas: 80 @@ -456 +456 @@ workers: - replicas: 4 + replicas: 10
40c53e4a6f0a311528184faccc9f4e2fc4ccd202
Sylvain Lesage
sylvain.lesage@huggingface.co
2024-02-16T10:16:07
add missing migration (#2458)
diff --git a/jobs/mongodb_migration/src/mongodb_migration/collector.py b/jobs/mongodb_migration/src/mongodb_migration/collector.py index d6a74ca3..b3987727 100644 --- a/jobs/mongodb_migration/src/mongodb_migration/collector.py +++ b/jobs/mongodb_migration/src/mongodb_migration/collector.py @@ -62,0 +63,3 @@ from mongod...
58acc1b089bfd6343ccd29ebb0531c1aa7688ba1
Sylvain Lesage
sylvain.lesage@huggingface.co
2024-02-16T09:56:58
remove .md (#2457)
diff --git a/docs/source/croissant.md b/docs/source/croissant.md index 4542125e..1c0e1beb 100644 --- a/docs/source/croissant.md +++ b/docs/source/croissant.md @@ -262 +262 @@ The endpoint response is a [JSON-LD](https://json-ld.org/) containing the metada -To load the dataset, you can use the [mlcroissant](./mlcroissan...
4d6b32a73b531ed27d6b566cf37eb25ab60ff335
Sylvain Lesage
sylvain.lesage@huggingface.co
2024-02-16T09:47:20
Add croissant page (#2452)
diff --git a/docs/source/_toctree.yml b/docs/source/_toctree.yml index d9287afe..576ce0f4 100644 --- a/docs/source/_toctree.yml +++ b/docs/source/_toctree.yml @@ -30,0 +31,2 @@ + - local: croissant + title: Get Croissant metadata @@ -42,0 +45,2 @@ + - local: mlcroissant + title: mlcroissant diff...
6e77be75a3c319061536a0cc3cfc9ce257cbdc00
Polina Kazakova
polina@huggingface.co
2024-02-15T21:17:56
Fix stats for datasets bigger than 5Gb on first n parquets (#2227)
diff --git a/chart/env/prod.yaml b/chart/env/prod.yaml index e8334e48..77f867bc 100644 --- a/chart/env/prod.yaml +++ b/chart/env/prod.yaml @@ -169 +169 @@ duckDBIndex: - maxDatasetSizeBytes: "5_000_000_000" + maxSplitSizeBytes: "5_000_000_000" @@ -175 +175 @@ descriptiveStatistics: - maxParquetSizeBytes: "5_000_000_...
42d945dc5702d1a3016a699993078bb01fdf6774
Sylvain Lesage
sylvain.lesage@huggingface.co
2024-02-13T14:30:22
Log more details when worker crashes (#2448)
diff --git a/libs/libcommon/src/libcommon/orchestrator.py b/libs/libcommon/src/libcommon/orchestrator.py index e11cc3cd..81098ae6 100644 --- a/libs/libcommon/src/libcommon/orchestrator.py +++ b/libs/libcommon/src/libcommon/orchestrator.py @@ -851 +851 @@ def finish_job( - logging.debug("the job was cancelled, do...
8139901cf4a2c604d3181d6d462085ded9b835ed
Sylvain Lesage
sylvain.lesage@huggingface.co
2024-02-13T14:30:09
requirements.txt is used by spaces, pyproject.yaml is ignored (#2447)
diff --git a/front/admin_ui/README.md b/front/admin_ui/README.md index bb71068d..a7f3630a 100644 --- a/front/admin_ui/README.md +++ b/front/admin_ui/README.md @@ -7 +7 @@ sdk: gradio -sdk_version: 4.16.0 +sdk_version: 4.18.0 diff --git a/front/admin_ui/requirements.txt b/front/admin_ui/requirements.txt index 8809cd65.....
d7689555a27164c0bf563a3f53682ea2b37c7307
Sylvain Lesage
sylvain.lesage@huggingface.co
2024-02-13T14:11:16
nit: uniformize logs and method nmaes (#2449)
diff --git a/services/worker/src/worker/job_runners/config/duckdb_index_size.py b/services/worker/src/worker/job_runners/config/duckdb_index_size.py index 41b19e21..eef9d29b 100644 --- a/services/worker/src/worker/job_runners/config/duckdb_index_size.py +++ b/services/worker/src/worker/job_runners/config/duckdb_index_s...
bde7cf60cea5940c05d435eb50855308049905fb
Sylvain Lesage
sylvain.lesage@huggingface.co
2024-02-13T10:37:47
fix copy/paste error (#2446)
diff --git a/libs/libapi/src/libapi/exceptions.py b/libs/libapi/src/libapi/exceptions.py index 33962139..60f79edf 100644 --- a/libs/libapi/src/libapi/exceptions.py +++ b/libs/libapi/src/libapi/exceptions.py @@ -26,0 +27 @@ ApiErrorCode = Literal[ + "TooBigContentError", @@ -124 +125 @@ class TooBigContentError(ApiEr...
fee98bcfd6b0bd59f01d6a1d2e8b6bb4096802dc
Sylvain Lesage
sylvain.lesage@huggingface.co
2024-02-13T10:04:18
Hardcode 100 rows max in /first-rows (#2432)
diff --git a/.github/workflows/_e2e_tests.yml b/.github/workflows/_e2e_tests.yml index 6cff2e24..140192e9 100644 --- a/.github/workflows/_e2e_tests.yml +++ b/.github/workflows/_e2e_tests.yml @@ -47 +46,0 @@ jobs: - FIRST_ROWS_MAX_NUMBER: "4" @@ -107 +105,0 @@ jobs: - FIRST_ROWS_MAX_NUMBER: "4" diff --...
e11f43ad6a8af75ce35ab6842a79b1c5aae816a1
Albert Villanova del Moral
8515462+albertvillanova@users.noreply.github.com
2024-02-13T09:41:37
Update gradio (#2445)
diff --git a/front/admin_ui/poetry.lock b/front/admin_ui/poetry.lock index c23b857e..d168de83 100644 --- a/front/admin_ui/poetry.lock +++ b/front/admin_ui/poetry.lock @@ -1034 +1034 @@ name = "gradio" -version = "4.16.0" +version = "4.18.0" @@ -1039,2 +1039,2 @@ files = [ - {file = "gradio-4.16.0-py3-none-any.whl", ...
42dcea4b633bc6db6afb0341118d5d1aa418db1a
Sylvain Lesage
sylvain.lesage@huggingface.co
2024-02-12T20:48:49
split 'updated' stats in untouched and backfilled (#2443)
diff --git a/jobs/cache_maintenance/src/cache_maintenance/backfill.py b/jobs/cache_maintenance/src/cache_maintenance/backfill.py index 8f29b6a6..48b226eb 100644 --- a/jobs/cache_maintenance/src/cache_maintenance/backfill.py +++ b/jobs/cache_maintenance/src/cache_maintenance/backfill.py @@ -30 +30,2 @@ class BackfillSta...
209307627dd9c903400853e9b8f63e433f2e0816
dependabot[bot]
49699333+dependabot[bot]@users.noreply.github.com
2024-02-12T18:28:36
Bump the pip group across 2 directories with 1 update (#2442)
diff --git a/front/admin_ui/poetry.lock b/front/admin_ui/poetry.lock index 55def281..c23b857e 100644 --- a/front/admin_ui/poetry.lock +++ b/front/admin_ui/poetry.lock @@ -1512,0 +1513,10 @@ files = [ + {file = "MarkupSafe-2.1.3-cp312-cp312-macosx_10_9_universal2.whl", hash = "sha256:f698de3fd0c4e6972b92290a45bd9b153...
df39f40f1f5383321b4c75ef6b66701d3f12bdc0
Sylvain Lesage
sylvain.lesage@huggingface.co
2024-02-12T15:12:50
two tweaks to the docs (#2441)
diff --git a/jobs/cache_maintenance/src/cache_maintenance/discussions.py b/jobs/cache_maintenance/src/cache_maintenance/discussions.py index 159af48c..77cbfcc2 100644 --- a/jobs/cache_maintenance/src/cache_maintenance/discussions.py +++ b/jobs/cache_maintenance/src/cache_maintenance/discussions.py @@ -27 +27 @@ Apache ...
2410fb5edbf6c833c6a43094b48422bcf06a35e3
Albert Villanova del Moral
8515462+albertvillanova@users.noreply.github.com
2024-02-12T14:42:36
Update grpcio TO 1.60.1 to fix vulnerability (#2440)
diff --git a/services/worker/poetry.lock b/services/worker/poetry.lock index a332e81c..56c7bee0 100644 --- a/services/worker/poetry.lock +++ b/services/worker/poetry.lock @@ -1422 +1422 @@ name = "grpcio" -version = "1.54.2" +version = "1.60.1" @@ -1427,45 +1427,54 @@ files = [ - {file = "grpcio-1.54.2-cp310-cp310-l...
9bfdfaa5c33cd8c14fd0066500c59b8cb807a579
Albert Villanova del Moral
8515462+albertvillanova@users.noreply.github.com
2024-02-12T12:56:44
Update fastapi to fix vulnerability (#2438)
diff --git a/front/admin_ui/poetry.lock b/front/admin_ui/poetry.lock index e394b64c..55def281 100644 --- a/front/admin_ui/poetry.lock +++ b/front/admin_ui/poetry.lock @@ -803 +803 @@ name = "fastapi" -version = "0.1.17" +version = "0.109.2" @@ -806 +806 @@ optional = false -python-versions = ">=3.6" +python-versions = ...
a5c69da73ba8fe9e419e6ca1996134ab645ccf42
Albert Villanova del Moral
8515462+albertvillanova@users.noreply.github.com
2024-02-12T10:18:20
Update datasets to 2.17.0 (#2436)
diff --git a/front/admin_ui/poetry.lock b/front/admin_ui/poetry.lock index bbc9bc82..e394b64c 100644 --- a/front/admin_ui/poetry.lock +++ b/front/admin_ui/poetry.lock @@ -620 +620 @@ name = "datasets" -version = "2.16.1" +version = "2.17.0" @@ -625,2 +625,2 @@ files = [ - {file = "datasets-2.16.1-py3-none-any.whl", ...
c5aeadd4aa136a234c21513957361a752997e144
Albert Villanova del Moral
8515462+albertvillanova@users.noreply.github.com
2024-02-12T10:04:59
Update starlette minor version to 0.37.1 (#2435)
diff --git a/front/admin_ui/poetry.lock b/front/admin_ui/poetry.lock index cdf99a69..bbc9bc82 100644 --- a/front/admin_ui/poetry.lock +++ b/front/admin_ui/poetry.lock @@ -803 +803 @@ name = "fastapi" -version = "0.109.2" +version = "0.1.17" @@ -806 +806 @@ optional = false -python-versions = ">=3.8" +python-versions = ...
7c7e50fbbbdbdd845c9690d9e794029ac6cfe04a
Sylvain Lesage
sylvain.lesage@huggingface.co
2024-02-09T18:02:03
show image in /splits page + change link (#2431)
diff --git a/docs/source/splits.md b/docs/source/splits.md index 29060824..caf487fb 100644 --- a/docs/source/splits.md +++ b/docs/source/splits.md @@ -3 +3,3 @@ -Datasets typically have splits and may also have configurations. A _split_ is a subset of the dataset, like `train` and `test`, that are used during different...
5cb61ee25d46079a50365b6fb7bc0aacb9f1c666
Sylvain Lesage
sylvain.lesage@huggingface.co
2024-02-09T18:00:42
add statistics to the backfill cron job logs (#2427)
diff --git a/jobs/cache_maintenance/src/cache_maintenance/backfill.py b/jobs/cache_maintenance/src/cache_maintenance/backfill.py index 1b975598..8f29b6a6 100644 --- a/jobs/cache_maintenance/src/cache_maintenance/backfill.py +++ b/jobs/cache_maintenance/src/cache_maintenance/backfill.py @@ -4,0 +5 @@ import logging +fro...
7c57d736103d1a583241369a80f1fafe83bfa0ee
Sylvain Lesage
sylvain.lesage@huggingface.co
2024-02-09T16:50:00
give more details in the discussions opened by parquet-converter (#2423)
diff --git a/jobs/cache_maintenance/src/cache_maintenance/discussions.py b/jobs/cache_maintenance/src/cache_maintenance/discussions.py index dffbb304..159af48c 100644 --- a/jobs/cache_maintenance/src/cache_maintenance/discussions.py +++ b/jobs/cache_maintenance/src/cache_maintenance/discussions.py @@ -15,0 +16,29 @@ DA...
412ccd07c3922e197d81c80ed1e88ebff6b1b752
Sylvain Lesage
sylvain.lesage@huggingface.co
2024-02-09T12:24:58
delete only waiting jobs (#2426)
diff --git a/libs/libcommon/src/libcommon/orchestrator.py b/libs/libcommon/src/libcommon/orchestrator.py index 875d9fbc..4b2bc572 100644 --- a/libs/libcommon/src/libcommon/orchestrator.py +++ b/libs/libcommon/src/libcommon/orchestrator.py @@ -121 +121 @@ class DeleteWaitingJobsTask(Task): -class DeleteDatasetJobsTask(T...
bd2827007a4a7416770b6009016df6d76a0b76ef
Sylvain Lesage
sylvain.lesage@huggingface.co
2024-02-09T11:07:43
use .md extension instead of .mdx (#2430)
diff --git a/.vscode/monorepo.code-workspace b/.vscode/monorepo.code-workspace index ff5b3b71..5688f070 100644 --- a/.vscode/monorepo.code-workspace +++ b/.vscode/monorepo.code-workspace @@ -7,0 +8,8 @@ + { + "name": "chart", + "path": "../chart" + }, + { + "name": "docs", + "path": "../doc...
4da73e8f22885385636d533151a3f1f9b3084ef3
Sylvain Lesage
sylvain.lesage@huggingface.co
2024-02-09T09:31:31
add information about Parquet (#2422)
diff --git a/docs/source/parquet.mdx b/docs/source/parquet.mdx index 62c79557..13ab71d9 100644 --- a/docs/source/parquet.mdx +++ b/docs/source/parquet.mdx @@ -3 +3,18 @@ -Datasets can be published in any format (CSV, JSONL, directories of images, etc.) to the Hub, and they are easily accessed with the 🤗 [Datasets](htt...
9fe34c8222c8f80b9155557f6a8220a38b8beddf
Sylvain Lesage
sylvain.lesage@huggingface.co
2024-02-08T21:23:51
the package must exist (#2425)
diff --git a/e2e/src/e2e/__init__.py b/e2e/src/e2e/__init__.py new file mode 100644 index 00000000..be63d975 --- /dev/null +++ b/e2e/src/e2e/__init__.py @@ -0,0 +1,2 @@ +# SPDX-License-Identifier: Apache-2.0 +# Copyright 2024 The HuggingFace Authors.
2d2827d8c2f84e3399488aac649a9888feb9513d
Andrea Francis Soria Jimenez
andrea@huggingface.co
2024-02-08T11:54:38
doc: update Readme files (#2370)
diff --git a/DEVELOPER_GUIDE.md b/DEVELOPER_GUIDE.md index 613aaf8c..374ac64e 100644 --- a/DEVELOPER_GUIDE.md +++ b/DEVELOPER_GUIDE.md @@ -56,3 +56,25 @@ The repository is structured as a monorepo, with Python libraries and applicatio -- [jobs](./jobs) contains the one-time jobs run by Helm before deploying the pods. F...
dfbe31e4b7fd4cc6e2bfd6f56eeaa219f700ed2c
Sylvain Lesage
sylvain.lesage@huggingface.co
2024-02-07T10:08:04
catch ValueError before ImportError (#2415)
diff --git a/services/worker/src/worker/job_runners/dataset/config_names.py b/services/worker/src/worker/job_runners/dataset/config_names.py index 28d20b28..5566e2bb 100644 --- a/services/worker/src/worker/job_runners/dataset/config_names.py +++ b/services/worker/src/worker/job_runners/dataset/config_names.py @@ -78,6 ...
f6735027817f7a4d0d20a0f352ccb64856365077
Albert Villanova del Moral
8515462+albertvillanova@users.noreply.github.com
2024-02-07T09:05:17
Update Poetry to 1.7.1 version to align with that of Dependabot (#2411)
diff --git a/.github/workflows/_e2e_tests.yml b/.github/workflows/_e2e_tests.yml index 629746be..6cff2e24 100644 --- a/.github/workflows/_e2e_tests.yml +++ b/.github/workflows/_e2e_tests.yml @@ -9 +9 @@ env: - poetry-version: "1.4.2" + poetry-version: "1.7.1" diff --git a/.github/workflows/_quality-python.yml b/.gith...
6323aecb672775b6a310f139f67084ae8d6b8751
Sylvain Lesage
sylvain.lesage@huggingface.co
2024-02-06T21:25:11
unblock two datasets (#2410)
diff --git a/chart/values.yaml b/chart/values.yaml index 877556fb..350e92cf 100644 --- a/chart/values.yaml +++ b/chart/values.yaml @@ -83 +83 @@ common: - blockedDatasets: "open-llm-leaderboard/*,taesiri/arxiv_qa,enzostvs/stable-diffusion-tpu-generations,lunaluan/*,atom-in-the-universe/*" + blockedDatasets: "open-llm...
de6805aa7b4b575e722a3c12bed26236d81fa004
Sylvain Lesage
sylvain.lesage@huggingface.co
2024-02-06T17:29:44
retry on ConnectionError (#2409)
diff --git a/libs/libcommon/src/libcommon/constants.py b/libs/libcommon/src/libcommon/constants.py index 75d145f8..7a9e33eb 100644 --- a/libs/libcommon/src/libcommon/constants.py +++ b/libs/libcommon/src/libcommon/constants.py @@ -38,0 +39 @@ ERROR_CODES_TO_RETRY = { + "ConnectionError",
e99b12da95acac2a8a3d4b3f635bddc0099113dd
Quentin Lhoest
42851186+lhoestq@users.noreply.github.com
2024-02-06T16:39:35
Missing DatasetLoadingTagsJobRunner in factory (#2412)
diff --git a/services/worker/src/worker/job_runner_factory.py b/services/worker/src/worker/job_runner_factory.py index deb5f39a..25236e68 100644 --- a/services/worker/src/worker/job_runner_factory.py +++ b/services/worker/src/worker/job_runner_factory.py @@ -38,0 +39 @@ from worker.job_runners.dataset.is_valid import D...
e72a5b80f027c857edca9a8723a0f218e51193e3
Quentin Lhoest
42851186+lhoestq@users.noreply.github.com
2024-02-06T15:50:52
Add loading tags, starting with croissant and webdataset (#2386)
diff --git a/jobs/mongodb_migration/src/mongodb_migration/collector.py b/jobs/mongodb_migration/src/mongodb_migration/collector.py index 6bab2858..d6a74ca3 100644 --- a/jobs/mongodb_migration/src/mongodb_migration/collector.py +++ b/jobs/mongodb_migration/src/mongodb_migration/collector.py @@ -62,0 +63,3 @@ from mongod...
c22f563f350a36148a1deaaf12531d4da991a677
Andrea Francis Soria Jimenez
andrea@huggingface.co
2024-02-06T12:12:18
delete only waiting jobs (#2403)
diff --git a/libs/libcommon/src/libcommon/orchestrator.py b/libs/libcommon/src/libcommon/orchestrator.py index 64a4592a..875d9fbc 100644 --- a/libs/libcommon/src/libcommon/orchestrator.py +++ b/libs/libcommon/src/libcommon/orchestrator.py @@ -101 +101 @@ class CreateJobsTask(Task): -class DeleteJobsTask(Task): +class D...
70c482e103f2669ca4ac3919bf199fd8a20955bf
Albert Villanova del Moral
8515462+albertvillanova@users.noreply.github.com
2024-02-06T10:19:03
Update cryptography dependency to 42.0 to fix vulnerability (#2406)
diff --git a/front/admin_ui/poetry.lock b/front/admin_ui/poetry.lock index ae734258..6ac5ebe2 100644 --- a/front/admin_ui/poetry.lock +++ b/front/admin_ui/poetry.lock @@ -574 +574 @@ name = "cryptography" -version = "41.0.7" +version = "42.0.2" @@ -580,23 +580,32 @@ files = [ - {file = "cryptography-41.0.7-cp37-abi3...
2a03140a8546467a9ed9d56566779e46dbdfe50c
Sylvain Lesage
sylvain.lesage@huggingface.co
2024-02-05T21:35:50
upgrade starlette everywhere (#2401)
diff --git a/e2e/poetry.lock b/e2e/poetry.lock index 0ab326e0..742fccfd 100644 --- a/e2e/poetry.lock +++ b/e2e/poetry.lock @@ -686 +686 @@ name = "mypy" -version = "1.3.0" +version = "1.8.0" @@ -690 +690 @@ optional = false -python-versions = ">=3.7" +python-versions = ">=3.8" @@ -692,26 +692,27 @@ files = [ - {file...
3b316bfbc27dab812bc2dfeaa637b90385e343fe
Sylvain Lesage
sylvain.lesage@huggingface.co
2024-02-05T17:54:16
upgrade starlette (#2400)
diff --git a/front/admin_ui/poetry.lock b/front/admin_ui/poetry.lock index 8114cd6e..3686d273 100644 --- a/front/admin_ui/poetry.lock +++ b/front/admin_ui/poetry.lock @@ -1 +1 @@ -# This file is automatically @generated by Poetry 1.7.1 and should not be changed by hand. +# This file is automatically @generated by Poetr...
0f7e57742b7deb37bc1b37de7dded33411c60905
dependabot[bot]
49699333+dependabot[bot]@users.noreply.github.com
2024-02-05T17:26:16
Bump fastapi from 0.103.2 to 0.109.1 in /front/admin_ui (#2392)
diff --git a/front/admin_ui/poetry.lock b/front/admin_ui/poetry.lock index 34b28e06..8114cd6e 100644 --- a/front/admin_ui/poetry.lock +++ b/front/admin_ui/poetry.lock @@ -1 +1 @@ -# This file is automatically @generated by Poetry 1.4.2 and should not be changed by hand. +# This file is automatically @generated by Poetr...
353347d861f1b6fdb95769a7f73efcaa280d4623
Sylvain Lesage
sylvain.lesage@huggingface.co
2024-02-05T12:37:56
handle visibility (public/private) changes (#2389)
diff --git a/services/api/src/api/routes/webhook.py b/services/api/src/api/routes/webhook.py index e080ef94..c75eaccd 100644 --- a/services/api/src/api/routes/webhook.py +++ b/services/api/src/api/routes/webhook.py @@ -74 +74 @@ def process_payload( - if payload["repo"]["type"] != "dataset" or payload["scope"] not i...
93b439538196532b6dc093ba7b4a53cd2bed3ad4
Andrea Francis Soria Jimenez
andrea@huggingface.co
2024-02-02T16:54:09
UI: Add difficulty and failed_runs to admin_ui (#2380)
diff --git a/front/admin_ui/app.py b/front/admin_ui/app.py index 63904282..a0a41b12 100644 --- a/front/admin_ui/app.py +++ b/front/admin_ui/app.py @@ -398,0 +399,3 @@ with gr.Blocks() as demo: + def on_change_refresh_job_type(job_type): + return processing_graph.get_processing_step(job...
66c1e089e204ab33195b957e1b99b0da6a4dd2de
Sylvain Lesage
sylvain.lesage@huggingface.co
2024-02-02T15:26:07
Fix backfill when dataset only has one cache entry (#2375)
diff --git a/jobs/cache_maintenance/src/cache_maintenance/backfill.py b/jobs/cache_maintenance/src/cache_maintenance/backfill.py index 997d4d5f..1b975598 100644 --- a/jobs/cache_maintenance/src/cache_maintenance/backfill.py +++ b/jobs/cache_maintenance/src/cache_maintenance/backfill.py @@ -9 +9 @@ from libcommon.except...
9ee040f89235eb70201ca705003074435bff034b
Sylvain Lesage
sylvain.lesage@huggingface.co
2024-02-01T22:25:37
Upgrade gradio (#2374)
diff --git a/front/admin_ui/README.md b/front/admin_ui/README.md index 5e74279b..bb71068d 100644 --- a/front/admin_ui/README.md +++ b/front/admin_ui/README.md @@ -7 +7 @@ sdk: gradio -sdk_version: 3.28.1 +sdk_version: 4.16.0 @@ -34 +34 @@ To connect to your local DEV endpoint: -DEV=1 HF_TOKEN=hf_QNqXrtFihRuySZubEgnUVvG...
70e58b91b2e413148e7ad77c1d5f197f123c87de
Sylvain Lesage
sylvain.lesage@huggingface.co
2024-02-01T17:25:24
Difficulty in admin UI (#2372)
diff --git a/front/admin_ui/app.py b/front/admin_ui/app.py index 42d2a847..a27dfeb7 100644 --- a/front/admin_ui/app.py +++ b/front/admin_ui/app.py @@ -0,0 +1 @@ +import json @@ -5,2 +6 @@ from itertools import product -import pandas as pd -import requests +import duckdb @@ -8 +8 @@ import gradio as gr -from libcommon.p...
740887921628afd4c6bfeac7c8bf332dc04c6ffa
Sylvain Lesage
sylvain.lesage@huggingface.co
2024-01-31T16:29:04
no overcommitment for RAM in services/api (#2368)
diff --git a/chart/env/prod.yaml b/chart/env/prod.yaml index 4beffd85..e8334e48 100644 --- a/chart/env/prod.yaml +++ b/chart/env/prod.yaml @@ -343 +343 @@ api: - memory: "4Gi" + memory: "8Gi"
12c5fc7071e9c6a2fb8ae584346ee1479f5d919c
Sylvain Lesage
sylvain.lesage@huggingface.co
2024-01-31T15:28:38
Enterprise -> Enterprise Hub (#2369)
diff --git a/docs/source/openapi.json b/docs/source/openapi.json index a90269a2..379d7494 100644 --- a/docs/source/openapi.json +++ b/docs/source/openapi.json @@ -1272 +1272 @@ - "description": "The HuggingFace API token. Create a User Access Token with read access at https://huggingface.co/settings/tokens. You ...
ce91d3525f3713d956d837faae1458668da73005
Sylvain Lesage
sylvain.lesage@huggingface.co
2024-01-31T14:02:40
Update docs on private datasets (#2367)
diff --git a/docs/source/openapi.json b/docs/source/openapi.json index 0102c675..a90269a2 100644 --- a/docs/source/openapi.json +++ b/docs/source/openapi.json @@ -1272 +1272 @@ - "description": "The HuggingFace API token. Create a User Access Token with read access at https://huggingface.co/settings/tokens. You ...
9d157f3b60d6e089a38b6763ac1a94b8f859e8d6
Sylvain Lesage
sylvain.lesage@huggingface.co
2024-01-30T21:09:25
Support private datasets (#2224)
diff --git a/e2e/tests/test_11_api.py b/e2e/tests/test_11_api.py index e6f47fd9..349020e1 100644 --- a/e2e/tests/test_11_api.py +++ b/e2e/tests/test_11_api.py @@ -160,2 +159,0 @@ def test_pro_user_private(csv_path: str) -> None: - expected_status_code=501, - expected_error_code="NotSupportedPrivat...
c48c011b8e3b3611136ddbf7961909c133c51ba1
Andrea Francis Soria Jimenez
andrea@huggingface.co
2024-01-30T19:04:02
doc: Minor details for docstrings (#2366)
diff --git a/e2e/tests/test_53_filter.py b/e2e/tests/test_53_filter.py index e6bca481..561635a2 100644 --- a/e2e/tests/test_53_filter.py +++ b/e2e/tests/test_53_filter.py @@ -68 +68 @@ def test_filter_endpoint(normal_user_public_dataset: str) -> None: - "where, expected_num_rows", + "where,expected_num_rows", dif...
4f41c8b444fefae8b2bf02737a5cead4b627b2e0
Sylvain Lesage
sylvain.lesage@huggingface.co
2024-01-30T14:30:32
sign the URLs in /first-rows in prod and staging (#2365)
diff --git a/chart/templates/services/api/_container.tpl b/chart/templates/services/api/_container.tpl index 345c0ed0..ca87c07e 100644 --- a/chart/templates/services/api/_container.tpl +++ b/chart/templates/services/api/_container.tpl @@ -10,0 +11 @@ + {{ include "envCloudfront" . | nindent 2 }}
c6dbd4a39bb3d2065df861d9f59a93e7736ffcfc
Sylvain Lesage
sylvain.lesage@huggingface.co
2024-01-30T14:21:11
upgrade aiohttp (#2364)
diff --git a/front/admin_ui/poetry.lock b/front/admin_ui/poetry.lock index 46d379d8..9562dffc 100644 --- a/front/admin_ui/poetry.lock +++ b/front/admin_ui/poetry.lock @@ -39 +39 @@ name = "aiohttp" -version = "3.9.1" +version = "3.9.3" @@ -45,76 +45,76 @@ files = [ - {file = "aiohttp-3.9.1-cp310-cp310-macosx_10_9_un...
832ad8589ede05c4dec80ddde6f335930860979e
Pierre Marcenac
pierremarcenac@google.com
2024-01-30T14:04:00
[Croissant] JSON-LD requests are `full=true` by default. (#2348)
diff --git a/services/api/src/api/routes/croissant.py b/services/api/src/api/routes/croissant.py index 862afe2c..2d2f6be7 100644 --- a/services/api/src/api/routes/croissant.py +++ b/services/api/src/api/routes/croissant.py @@ -206,4 +206,4 @@ def _get_full_jsonld_parameter(request: Request) -> bool: - full_jsonld = ...
a279ac374f304d347f1c305a2a8428af9876fc87
Sylvain Lesage
sylvain.lesage@huggingface.co
2024-01-30T14:03:33
Sign assets urls in first rows (#2315)
diff --git a/e2e/tests/test_54_rows.py b/e2e/tests/test_54_rows.py index 578282b8..7119f159 100644 --- a/e2e/tests/test_54_rows.py +++ b/e2e/tests/test_54_rows.py @@ -11 +10,0 @@ def test_rows_endpoint(normal_user_public_dataset: str) -> None: - # ensure the /rows endpoint works as well diff --git a/e2e/tests/test_5...
bd7ace6813aeb1a952829474bf4652a62bba5bdf
Andrea Francis Soria Jimenez
andrea@huggingface.co
2024-01-30T13:36:02
Align docstrings to hf guidelines (#2351)
diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md index ef2d2354..42e21883 100644 --- a/CONTRIBUTING.md +++ b/CONTRIBUTING.md @@ -83,0 +84,5 @@ Thank you for your contribution! +## Python docstrings + +This projects follows [HuggingFace docstring guidelines](https://github.com/huggingface/doc-builder). + + diff --git a/jo...
8a37bbb934b165cb701a27aec55d23be55f6d836
Quentin Lhoest
42851186+lhoestq@users.noreply.github.com
2024-01-29T15:11:52
Fix filter no features in duckdb index cache (#2347)
diff --git a/libs/libapi/src/libapi/response.py b/libs/libapi/src/libapi/response.py index 9c479c16..4a4a0c6f 100644 --- a/libs/libapi/src/libapi/response.py +++ b/libs/libapi/src/libapi/response.py @@ -35 +35,5 @@ async def create_response( - "features": to_features_list(features), + "features": [ + ...
a3704c36156dfb77bddc1be9abaa13fa5ceb5170
Andrea Francis Soria Jimenez
andrea@huggingface.co
2024-01-29T12:56:51
fix add pattern for partial splits when removing old duckb index files (#2346)
diff --git a/services/worker/src/worker/job_runners/split/duckdb_index.py b/services/worker/src/worker/job_runners/split/duckdb_index.py index 1b9bf647..420fe80f 100644 --- a/services/worker/src/worker/job_runners/split/duckdb_index.py +++ b/services/worker/src/worker/job_runners/split/duckdb_index.py @@ -89,0 +90,7 @@...
c75578c3a65008ad6a9249287483830a5fea910a
Andrea Francis Soria Jimenez
andrea@huggingface.co
2024-01-26T15:11:42
remove doc-pr-delete actions (#2342)
diff --git a/.github/workflows/doc-pr-delete-trigger.yml b/.github/workflows/doc-pr-delete-trigger.yml deleted file mode 100644 index 89037f89..00000000 --- a/.github/workflows/doc-pr-delete-trigger.yml +++ /dev/null @@ -1,17 +0,0 @@ -# SPDX-License-Identifier: Apache-2.0 -# Copyright 2022 The HuggingFace Authors. - -n...
2dbf3ab2a026a6093f1a13f5a8246c9e916c2c0a
Andrea Francis Soria Jimenez
andrea@huggingface.co
2024-01-26T11:59:20
doc - Update minor details in the doc (#2341)
diff --git a/docs/source/analyze_data.mdx b/docs/source/analyze_data.mdx index 1c7231f1..72f147f5 100644 --- a/docs/source/analyze_data.mdx +++ b/docs/source/analyze_data.mdx @@ -29 +29 @@ print(data) - 'pending': [], 'failed': [] + 'pending': [], 'failed': [], 'partial: false diff --git a/docs/source/filter.mdx b/docs...
9ba6ec8840c348e28efa6973171e9e8ad2dea9c7
Pierre Marcenac
pierremarcenac@google.com
2024-01-26T08:47:02
Support a `full` parameter to produce either an abridged JSON-LD or a full-length JSON-LD. (#2340)
diff --git a/services/api/src/api/routes/croissant.py b/services/api/src/api/routes/croissant.py index a9a2cf21..ee8b1c1d 100644 --- a/services/api/src/api/routes/croissant.py +++ b/services/api/src/api/routes/croissant.py @@ -67 +67,3 @@ def _escape_name(name: str, names: set[str]) -> str: -def get_croissant_from_data...
4d4b2f1e1163257664f707564bcfef337b4f947e
Sylvain Lesage
sylvain.lesage@huggingface.co
2024-01-25T10:03:44
fix env var (#2339)
diff --git a/services/worker/src/worker/config.py b/services/worker/src/worker/config.py index b70cf7e3..ebd596cc 100644 --- a/services/worker/src/worker/config.py +++ b/services/worker/src/worker/config.py @@ -124 +124 @@ class DatasetsBasedConfig: -FIRST_ROWS_CELL_MIN_BYTES = 100 +FIRST_ROWS_MIN_CELL_BYTES = 100 @@ -...
fbb0b22074444a24c1e3ae0eea3821baf0871085
Egehan Gunduz
egehangunduz@gmail.com
2024-01-24T10:01:28
Add extract_split_name_from_parquet_url function to parquet utils (#2336)
diff --git a/libs/libapi/src/libapi/duckdb.py b/libs/libapi/src/libapi/duckdb.py index 02a61e99..b7b33cd8 100644 --- a/libs/libapi/src/libapi/duckdb.py +++ b/libs/libapi/src/libapi/duckdb.py @@ -14,0 +15 @@ from libcommon.constants import DUCKDB_INDEX_DOWNLOADS_SUBDIRECTORY, SPLIT_DUCKD +from libcommon.parquet_utils im...
c151c7b7149694a0a5601a2ba0343b96473baee3
Sylvain Lesage
sylvain.lesage@huggingface.co
2024-01-23T12:56:58
move code from worker to libcommon (#2320)
diff --git a/jobs/cache_maintenance/src/cache_maintenance/backfill.py b/jobs/cache_maintenance/src/cache_maintenance/backfill.py index f3f1dbd3..997d4d5f 100644 --- a/jobs/cache_maintenance/src/cache_maintenance/backfill.py +++ b/jobs/cache_maintenance/src/cache_maintenance/backfill.py @@ -6,0 +7 @@ from typing import ...
18c1c7ffd78c451703a5a1233d640f756c535b2c
Sylvain Lesage
sylvain.lesage@huggingface.co
2024-01-23T12:53:49
upgrade minor versions of pillow and gradio (#2335)
diff --git a/front/admin_ui/poetry.lock b/front/admin_ui/poetry.lock index 7e72084b..46d379d8 100644 --- a/front/admin_ui/poetry.lock +++ b/front/admin_ui/poetry.lock @@ -571,0 +572,46 @@ test-no-images = ["pytest"] +[[package]] +name = "cryptography" +version = "41.0.7" +description = "cryptography is a package which ...
1759d65fa668f35067175cfb3210666c1b7c3f47
Sylvain Lesage
sylvain.lesage@huggingface.co
2024-01-22T16:26:40
use valid user/org names (#2319)
diff --git a/.github/workflows/_e2e_tests.yml b/.github/workflows/_e2e_tests.yml index 7abd3bf8..629746be 100644 --- a/.github/workflows/_e2e_tests.yml +++ b/.github/workflows/_e2e_tests.yml @@ -55 +55 @@ jobs: - COMMON_BLOCKED_DATASETS: "__DUMMY_DATASETS_SERVER_USER__/blocked-*" + COMMON_BLOCKED_DATA...
ca286dc92f500266d813bfb34771d04fff7c2bcc
Sylvain Lesage
sylvain.lesage@huggingface.co
2024-01-22T14:10:09
Post messages script - remove "sleep" (#2318)
diff --git a/jobs/cache_maintenance/src/cache_maintenance/discussions.py b/jobs/cache_maintenance/src/cache_maintenance/discussions.py index 7be65871..519714fd 100644 --- a/jobs/cache_maintenance/src/cache_maintenance/discussions.py +++ b/jobs/cache_maintenance/src/cache_maintenance/discussions.py @@ -5,2 +5,2 @@ impor...
4fadb510d2cbad56b1d840171aaf89a67efbf1ad
Sylvain Lesage
sylvain.lesage@huggingface.co
2024-01-19T14:06:34
Refactor storage client (#2314)
diff --git a/jobs/cache_maintenance/src/cache_maintenance/main.py b/jobs/cache_maintenance/src/cache_maintenance/main.py index 84aa014c..264db357 100644 --- a/jobs/cache_maintenance/src/cache_maintenance/main.py +++ b/jobs/cache_maintenance/src/cache_maintenance/main.py @@ -54,3 +54 @@ def run_job() -> None: - ...
36a30cc94c5dcdc7f3bb85b22bb0049e84304d12
Andrea Francis Soria Jimenez
andrea@huggingface.co
2024-01-19T13:51:07
Delete obsolete split duckdb files (#2308)
diff --git a/services/worker/src/worker/job_runners/config/duckdb_index_size.py b/services/worker/src/worker/job_runners/config/duckdb_index_size.py index a192ae81..202dc196 100644 --- a/services/worker/src/worker/job_runners/config/duckdb_index_size.py +++ b/services/worker/src/worker/job_runners/config/duckdb_index_s...
3ca8e605c22a275cdf50127dbdc74c93d58a6161
Sylvain Lesage
sylvain.lesage@huggingface.co
2024-01-19T09:23:20
fix secret name (#2313)
diff --git a/chart/env/prod.yaml b/chart/env/prod.yaml index df7efc41..4beffd85 100644 --- a/chart/env/prod.yaml +++ b/chart/env/prod.yaml @@ -118 +118 @@ secrets: - secretName: "datasets-server-staging-secrets" + secretName: "datasets-server-prod-secrets" @@ -121 +121 @@ secrets: - secretName: "datasets...
b819c78f324bd46f0185e5a0204b728cd16b6946
Sylvain Lesage
sylvain.lesage@huggingface.co
2024-01-19T09:12:38
add secrets in prod (#2311)
diff --git a/chart/env/prod.yaml b/chart/env/prod.yaml index ac39650a..df7efc41 100644 --- a/chart/env/prod.yaml +++ b/chart/env/prod.yaml @@ -87,0 +88,2 @@ secrets: + CLOUDFRONT_KEY_PAIR_ID: "hub-prod-datasets-server-cloudfront-key-id" + CLOUDFRONT_PRIVATE_KEY: "hub-prod-datasets-server-cloudfront-key" @@ -1...
ffc61b189e982e8c92fffc992bb4c79a45904c65
Sylvain Lesage
sylvain.lesage@huggingface.co
2024-01-18T20:04:38
install missing depedencies (#2312)
diff --git a/jobs/cache_maintenance/poetry.lock b/jobs/cache_maintenance/poetry.lock index 5ef2a29c..f7199026 100644 --- a/jobs/cache_maintenance/poetry.lock +++ b/jobs/cache_maintenance/poetry.lock @@ -552,0 +553,46 @@ toml = ["tomli"] +[[package]] +name = "cryptography" +version = "41.0.7" +description = "cryptograph...
650e43888d926af1eaddb7c6a6c890ae01a75d5e
Sylvain Lesage
sylvain.lesage@huggingface.co
2024-01-18T16:48:23
pass cloudfront key id and private key to staging (#2309)
diff --git a/chart/env/prod.yaml b/chart/env/prod.yaml index d89dc88d..ac39650a 100644 --- a/chart/env/prod.yaml +++ b/chart/env/prod.yaml @@ -112,0 +113,7 @@ secrets: + cloudfront: + keyPairId: + fromSecret: false + value: "" + privateKey: + fromSecret: false + value: "" diff --git a/chart/e...
99f3e64c6c1b6bc2faf5bb84139043812dbea4db
Sylvain Lesage
sylvain.lesage@huggingface.co
2024-01-18T16:13:27
Sign cached assets urls (#2298)
diff --git a/.github/workflows/_e2e_tests.yml b/.github/workflows/_e2e_tests.yml index d2ac7aed..7abd3bf8 100644 --- a/.github/workflows/_e2e_tests.yml +++ b/.github/workflows/_e2e_tests.yml @@ -57,0 +58,12 @@ jobs: + # the containers need to access S3 and Cloudfront + ASSETS_BASE_URL: "https://datase...
c24d17a21567957ef02a57df06fc81ee80a20592
Sylvain Lesage
sylvain.lesage@huggingface.co
2024-01-18T14:55:38
downgrade gradio to avoid error (#2305)
diff --git a/front/admin_ui/pyproject.toml b/front/admin_ui/pyproject.toml index 5f0246b8..5f5e46f4 100644 --- a/front/admin_ui/pyproject.toml +++ b/front/admin_ui/pyproject.toml @@ -10 +10 @@ duckdb = "^0.8.1" -gradio = "^4.11.0" +gradio = "^3.34.0" diff --git a/front/admin_ui/requirements.txt b/front/admin_ui/require...
ba4d434f14d8fd95d44bb2b7dec1aab5b36125c2
Sylvain Lesage
sylvain.lesage@huggingface.co
2024-01-18T13:07:58
limit number of columns in croissant (#2304)
diff --git a/services/api/src/api/routes/croissant.py b/services/api/src/api/routes/croissant.py index 920b2f3c..a9a2cf21 100644 --- a/services/api/src/api/routes/croissant.py +++ b/services/api/src/api/routes/croissant.py @@ -30,0 +31,3 @@ MAX_CONFIGS = 100 +MAX_COLUMNS = 1_000 +# ^ same value as the default for FIRST...
f773d8bbf1ff4bad5e466a11f20500b40f22776e
Sylvain Lesage
sylvain.lesage@huggingface.co
2024-01-18T11:00:13
catch FileNotFoundError, raised when a path has disappeared during the loop (#2303)
diff --git a/jobs/cache_maintenance/src/cache_maintenance/clean_directory.py b/jobs/cache_maintenance/src/cache_maintenance/clean_directory.py index 1515b027..0ed1305b 100644 --- a/jobs/cache_maintenance/src/cache_maintenance/clean_directory.py +++ b/jobs/cache_maintenance/src/cache_maintenance/clean_directory.py @@ -2...
25b2293a7bf478d76b36e99671205b74165d82e0
Quentin Lhoest
42851186+lhoestq@users.noreply.github.com
2024-01-16T16:31:10
Don't create empty images in /rows (#2299)
diff --git a/libs/libcommon/src/libcommon/viewer_utils/asset.py b/libs/libcommon/src/libcommon/viewer_utils/asset.py index 3b6e12a4..f60f9ac4 100644 --- a/libs/libcommon/src/libcommon/viewer_utils/asset.py +++ b/libs/libcommon/src/libcommon/viewer_utils/asset.py @@ -65,0 +66,3 @@ def create_image_file( + buffer ...
f07cd189af8fb10dc5ae6dcc971efab6a40f2a4c
Sylvain Lesage
sylvain.lesage@huggingface.co
2024-01-16T14:41:49
Refactor: remove PublicAssetStorage, more details in StorageClient (#2295)
diff --git a/jobs/cache_maintenance/src/cache_maintenance/main.py b/jobs/cache_maintenance/src/cache_maintenance/main.py index de876947..a723e7a2 100644 --- a/jobs/cache_maintenance/src/cache_maintenance/main.py +++ b/jobs/cache_maintenance/src/cache_maintenance/main.py @@ -52,0 +53 @@ def run_job() -> None: + ...
a92affd3ab90048957893752f5b92b3f13e7b61a
Andrea Francis Soria Jimenez
andrea@huggingface.co
2024-01-16T14:31:46
add retry for download hub file (#2290)
diff --git a/services/worker/src/worker/job_runners/split/descriptive_statistics.py b/services/worker/src/worker/job_runners/split/descriptive_statistics.py index 7ef9d797..42e635a8 100644 --- a/services/worker/src/worker/job_runners/split/descriptive_statistics.py +++ b/services/worker/src/worker/job_runners/split/des...
348567390f4dfbcf5d93aec462f07c46d09cd9ad
Sylvain Lesage
sylvain.lesage@huggingface.co
2024-01-15T12:25:34
Refactor docker compose (#2288)
diff --git a/tools/docker-compose-base.yml b/tools/docker-compose-base.yml index 0e574f7e..bafc57c0 100644 --- a/tools/docker-compose-base.yml +++ b/tools/docker-compose-base.yml @@ -2 +2 @@ services: - common: + libcommon: @@ -22,13 +22,2 @@ services: - # worker - WORKER_CONTENT_MAX_BYTES: ${WORKER_CONTENT...
a0a75bea8d71e542e1bd9cedcd903e0552ed33c7
Albert Villanova del Moral
8515462+albertvillanova@users.noreply.github.com
2024-01-15T12:05:17
Update jinja2 dependency to 3.1.3 to fix vulnerability (#2292)
diff --git a/front/admin_ui/poetry.lock b/front/admin_ui/poetry.lock index 0bbbe68b..7e72084b 100644 --- a/front/admin_ui/poetry.lock +++ b/front/admin_ui/poetry.lock @@ -1198 +1198 @@ name = "jinja2" -version = "3.1.2" +version = "3.1.3" @@ -1204,2 +1204,2 @@ files = [ - {file = "Jinja2-3.1.2-py3-none-any.whl", has...
25c49dc215275562e8fc857a06fb74c82895b0c6
Sylvain Lesage
sylvain.lesage@huggingface.co
2024-01-12T16:17:57
remove check on disks (#2286)
diff --git a/chart/templates/_env/_envWorker.tpl b/chart/templates/_env/_envWorker.tpl index caeb031c..f8a8a23a 100644 --- a/chart/templates/_env/_envWorker.tpl +++ b/chart/templates/_env/_envWorker.tpl @@ -13,2 +12,0 @@ -- name: WORKER_MAX_DISK_USAGE_PCT - value: {{ .Values.worker.maxDiskUsagePct | quote }} @@ -28,2 ...
0f42e457b125ec13a36c79090fef20038228f117
Sylvain Lesage
sylvain.lesage@huggingface.co
2024-01-12T16:14:43
remove the concept of assets folder (#2287)
diff --git a/.github/workflows/_unit-tests-python.yml b/.github/workflows/_unit-tests-python.yml index 0f8d242b..d9ea4400 100644 --- a/.github/workflows/_unit-tests-python.yml +++ b/.github/workflows/_unit-tests-python.yml @@ -57,2 +57,2 @@ jobs: - ASSETS_STORAGE_ROOT: /tmp - CACHED_ASSETS_STORAGE_ROO...
1f82128d2f3ff1b29c40744242ee4b7443dd00fb
Andrea Francis Soria Jimenez
andrea@huggingface.co
2024-01-12T11:08:29
increase difficulty based on failed runs (#2281)
diff --git a/libs/libcommon/src/libcommon/constants.py b/libs/libcommon/src/libcommon/constants.py index c52212a7..727a5e1f 100644 --- a/libs/libcommon/src/libcommon/constants.py +++ b/libs/libcommon/src/libcommon/constants.py @@ -29,0 +30 @@ DEFAULT_JOB_RUNNER_VERSION = 1 +DIFFICULTY_BONUS_BY_FAILED_RUNS = 20 diff --g...
061e2ec6562d1d61778b6d56f63aac72fe24259b
Sylvain Lesage
sylvain.lesage@huggingface.co
2024-01-11T13:31:19
delete dead code (#2278)
diff --git a/services/worker/tests/test_job_manager.py b/services/worker/tests/test_job_manager.py index b42076bf..4552ac02 100644 --- a/services/worker/tests/test_job_manager.py +++ b/services/worker/tests/test_job_manager.py @@ -1 +0,0 @@ -from dataclasses import dataclass @@ -3 +1,0 @@ from http import HTTPStatus -f...
453aa6c532880786716279eb26a56859e464d24f
Sylvain Lesage
sylvain.lesage@huggingface.co
2024-01-11T13:10:35
delete the dataset when repo is disabled or does not exist (#2276)
diff --git a/libs/libcommon/src/libcommon/exceptions.py b/libs/libcommon/src/libcommon/exceptions.py index e2622238..01ac57a8 100644 --- a/libs/libcommon/src/libcommon/exceptions.py +++ b/libs/libcommon/src/libcommon/exceptions.py @@ -107,0 +108 @@ CacheableErrorCode = Literal[ + "NotSupportedRepositoryNotFoundError...
3ee12ad19a7a4a503394a25308038d6bff5c002b
Sylvain Lesage
sylvain.lesage@huggingface.co
2024-01-10T21:19:10
hardcode the error codes to retry (#2269)
diff --git a/chart/env/prod.yaml b/chart/env/prod.yaml index cdda3447..f37985b5 100644 --- a/chart/env/prod.yaml +++ b/chart/env/prod.yaml @@ -185 +184,0 @@ backfill: - errorCodesToRetry: "CreateCommitError,LockedDatasetTimeoutError,ExternalServerError,JobManagerCrashedError" diff --git a/chart/templates/cron-jobs/bac...
0c9788922bae78ec8642472032c361375793bd10
Sylvain Lesage
sylvain.lesage@huggingface.co
2024-01-10T21:08:32
reduce resources for now (#2271)
diff --git a/chart/env/prod.yaml b/chart/env/prod.yaml index 285e86a5..cdda3447 100644 --- a/chart/env/prod.yaml +++ b/chart/env/prod.yaml @@ -428 +428 @@ workers: - replicas: 25 + replicas: 10 @@ -448 +448 @@ workers: - replicas: 10 + replicas: 4
53b5de123ae3418648c6a54dc1ecf6f3bd59d97e
Albert Villanova del Moral
8515462+albertvillanova@users.noreply.github.com
2024-01-10T21:02:48
Update gitpython dependency to fix vulnerability (#2270)
diff --git a/docs/poetry.lock b/docs/poetry.lock index 27a27fe7..5ac7fd87 100644 --- a/docs/poetry.lock +++ b/docs/poetry.lock @@ -282 +282 @@ name = "gitpython" -version = "3.1.40" +version = "3.1.41" @@ -288,2 +288,2 @@ files = [ - {file = "GitPython-3.1.40-py3-none-any.whl", hash = "sha256:cf14627d5a8049ffbf49915...
8c7ee79e172ce003c7e905e3efa54836cd83b18c
Quentin Lhoest
42851186+lhoestq@users.noreply.github.com
2024-01-10T18:01:01
filter webhook scope (#2255)
diff --git a/services/api/src/api/routes/webhook.py b/services/api/src/api/routes/webhook.py index f0744f91..98f23dca 100644 --- a/services/api/src/api/routes/webhook.py +++ b/services/api/src/api/routes/webhook.py @@ -31,0 +32,3 @@ schema = { + "scope": { + "type": "string", + }, @@ -33 +36 @@...
9cd2be848c10a582fbbc4c7b7763127bb231a0fc
Andrea Francis Soria Jimenez
andrea@huggingface.co
2024-01-10T12:38:19
Change "retries" for "failed_runs" in cache collection (#2247)
diff --git a/jobs/mongodb_migration/src/mongodb_migration/collector.py b/jobs/mongodb_migration/src/mongodb_migration/collector.py index e3335bb9..6bab2858 100644 --- a/jobs/mongodb_migration/src/mongodb_migration/collector.py +++ b/jobs/mongodb_migration/src/mongodb_migration/collector.py @@ -14,0 +15 @@ from mongodb_...
c77fbf654cc595e9174af6b00bce7726677c9475
Quentin Lhoest
42851186+lhoestq@users.noreply.github.com
2024-01-10T12:21:48
Dont delete dataset cache if webhook is update on another branch (#2254)
diff --git a/libs/libcommon/src/libcommon/operations.py b/libs/libcommon/src/libcommon/operations.py index 83a64d60..aa48709c 100644 --- a/libs/libcommon/src/libcommon/operations.py +++ b/libs/libcommon/src/libcommon/operations.py @@ -15 +15 @@ from libcommon.exceptions import ( -from libcommon.orchestrator import remo...
d4856112b30c330179ec05338e0beeae4ad18cb6
dependabot[bot]
49699333+dependabot[bot]@users.noreply.github.com
2024-01-09T17:13:05
Bump fonttools from 4.39.4 to 4.43.0 in /front/admin_ui (#2252)
diff --git a/front/admin_ui/poetry.lock b/front/admin_ui/poetry.lock index c2c40afc..f21b988d 100644 --- a/front/admin_ui/poetry.lock +++ b/front/admin_ui/poetry.lock @@ -794 +794 @@ name = "fonttools" -version = "4.39.4" +version = "4.43.0" @@ -799,2 +799,42 @@ files = [ - {file = "fonttools-4.39.4-py3-none-any.whl...
d8a5b3e75207b428dccc196560e37513f04d03eb
Sylvain Lesage
sylvain.lesage@huggingface.co
2024-01-09T15:45:15
remove CACHE_MAX_DAYS feature (#2249)
diff --git a/chart/templates/_env/_envCache.tpl b/chart/templates/_env/_envCache.tpl index f4974fd6..4701fbfd 100644 --- a/chart/templates/_env/_envCache.tpl +++ b/chart/templates/_env/_envCache.tpl @@ -5,2 +4,0 @@ -- name: CACHE_MAX_DAYS - value: {{ .Values.cache.maxDays | quote }} diff --git a/chart/values.yaml b/ch...
45d4d01980293c90dc2b69eb57c36604ae0ca49b
Sylvain Lesage
sylvain.lesage@huggingface.co
2024-01-09T15:42:18
recreate the dataset on webhook to avoid mixed content (#2248)
diff --git a/services/api/src/api/routes/webhook.py b/services/api/src/api/routes/webhook.py index 9b518129..4fcc6901 100644 --- a/services/api/src/api/routes/webhook.py +++ b/services/api/src/api/routes/webhook.py @@ -69 +68,0 @@ def process_payload( - trust_sender: bool = False, @@ -79,5 +78,5 @@ def process_paylo...
80bbe3270bcc3a8851dc034b9c16e7f613db946a
Sylvain Lesage
sylvain.lesage@huggingface.co
2024-01-09T15:41:56
return a specific error message when dataset is not supported (#2246)
diff --git a/e2e/tests/test_11_api.py b/e2e/tests/test_11_api.py index c1c280ec..c1d92655 100644 --- a/e2e/tests/test_11_api.py +++ b/e2e/tests/test_11_api.py @@ -123,2 +123,2 @@ def normal_user_private_dataset(csv_path: str) -> Iterator[str]: - ("token", 404, "ResponseNotFound"), - ("cookie", 404, "Respo...
41b68a450126010a48c57196a9821d59a44351c7
Quentin Lhoest
42851186+lhoestq@users.noreply.github.com
2024-01-09T10:30:46
Support webdataset builder in admin endpoint (#2245)
diff --git a/services/admin/src/admin/routes/num_dataset_infos_by_builder_name.py b/services/admin/src/admin/routes/num_dataset_infos_by_builder_name.py index 42f0c242..bd429ed6 100644 --- a/services/admin/src/admin/routes/num_dataset_infos_by_builder_name.py +++ b/services/admin/src/admin/routes/num_dataset_infos_by_b...
bdd9a6016088b6547b777195b84364da1f393685
Sylvain Lesage
sylvain.lesage@huggingface.co
2024-01-08T19:56:34
Refactor dataset updates but dont support private datasets (#2244)
diff --git a/.github/workflows/_e2e_tests.yml b/.github/workflows/_e2e_tests.yml index 21261020..d2ac7aed 100644 --- a/.github/workflows/_e2e_tests.yml +++ b/.github/workflows/_e2e_tests.yml @@ -54,0 +55,3 @@ jobs: + COMMON_BLOCKED_DATASETS: "__DUMMY_DATASETS_SERVER_USER__/blocked-*" + ADMIN_HF_ORGANI...
9276b2cde4bb276274789cfc999cc07a84f73000
Quentin Lhoest
42851186+lhoestq@users.noreply.github.com
2024-01-08T14:24:31
allow speechcolab/gigaspeech (#2243)
diff --git a/chart/values.yaml b/chart/values.yaml index d8b6165c..f8f59c77 100644 --- a/chart/values.yaml +++ b/chart/values.yaml @@ -87 +87 @@ common: - datasetScriptsAllowList: "{{ALL_DATASETS_WITH_NO_NAMESPACE}},togethercomputer/RedPajama-Data-1T,togethercomputer/RedPajama-Data-V2,andreped/*,gaia-benchmark/GAIA,po...
b5ceea364ed733a9b8d097249993e5d60793eb15
Sylvain Lesage
sylvain.lesage@huggingface.co
2024-01-08T13:09:52
add filter column + ignore errors (fixes #2241) (#2242)
diff --git a/front/admin_ui/app.py b/front/admin_ui/app.py index 90679afd..05c81deb 100644 --- a/front/admin_ui/app.py +++ b/front/admin_ui/app.py @@ -70,2 +70,2 @@ with gr.Blocks() as demo: - home_dashboard_trending_datasets_coverage_stats_table = gr.DataFrame(pd.DataFrame({"Num trending datasets": [], ...
d2b0829025fc97a6539cdd99325bc8e8b40f2f49
Sylvain Lesage
sylvain.lesage@huggingface.co
2024-01-08T10:14:20
add .ogg as supported audio format (#2240)
diff --git a/docs/source/openapi.json b/docs/source/openapi.json index 54001603..3b020056 100644 --- a/docs/source/openapi.json +++ b/docs/source/openapi.json @@ -736 +736 @@ - "enum": ["audio/wav", "audio/mpeg"] + "enum": ["audio/wav", "audio/mpeg", "audio/ogg"]
ed2f7d254fc27882e7b33310d1ec5ebe65c45d48
Sylvain Lesage
sylvain.lesage@huggingface.co
2024-01-08T10:10:08
add missing 'filter' field in IsValidResponse (#2239)
diff --git a/docs/source/openapi.json b/docs/source/openapi.json index ebe65ab8..54001603 100644 --- a/docs/source/openapi.json +++ b/docs/source/openapi.json @@ -772 +772 @@ - "required": ["preview", "viewer", "search"], + "required": ["preview", "viewer", "search", "filter"], @@ -781,0 +782,3 @@ + ...
829eac8fd58470081d4890a1f77e8587a01f3cac
dependabot[bot]
49699333+dependabot[bot]@users.noreply.github.com
2024-01-08T07:14:04
Bump pycryptodomex from 3.18.0 to 3.19.1 in /services/worker (#2237)
diff --git a/services/worker/poetry.lock b/services/worker/poetry.lock index 7130fd83..eb1955c7 100644 --- a/services/worker/poetry.lock +++ b/services/worker/poetry.lock @@ -830,0 +831,11 @@ files = [ + {file = "crc32c-2.3.post0-cp312-cp312-macosx_10_9_universal2.whl", hash = "sha256:6281582e919e405fdc4bf0f3ecd5f2a...