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
6215b9d5fa0155ad23fca5151e69d2428c43ad53
Sylvain Lesage
sylvain.lesage@huggingface.co
2023-07-05T15:05:59
feat: 🎸 add "difficulty" field to JobDocument (#1489)
diff --git a/chart/Chart.yaml b/chart/Chart.yaml index 24ea7c61..b8e32aef 100644 --- a/chart/Chart.yaml +++ b/chart/Chart.yaml @@ -21 +21 @@ type: application -version: 1.15.0 +version: 1.15.1 diff --git a/chart/env/prod.yaml b/chart/env/prod.yaml index 61bdd330..ab27b0c7 100644 --- a/chart/env/prod.yaml +++ b/chart/en...
abf206283f7242efebc6d5fc601e75a2b758a5b0
Quentin Lhoest
42851186+lhoestq@users.noreply.github.com
2023-07-05T14:51:01
Block config-parquet-metadata job for light workers (#1490)
diff --git a/chart/env/prod.yaml b/chart/env/prod.yaml index d50a3bcd..61bdd330 100644 --- a/chart/env/prod.yaml +++ b/chart/env/prod.yaml @@ -311 +311 @@ workers: - workerJobTypesOnly: "config-parquet,config-parquet-metadata,dataset-parquet,config-info,dataset-info,config-split-names-from-info,config-size,dataset-s...
ad0047367c77c8035e2bcc108dc51190f6562bd7
Quentin Lhoest
42851186+lhoestq@users.noreply.github.com
2023-07-05T13:00:47
More logging for /rows (#1485)
diff --git a/libs/libapi/src/libapi/utils.py b/libs/libapi/src/libapi/utils.py index 2f2480de..65e7f50f 100644 --- a/libs/libapi/src/libapi/utils.py +++ b/libs/libapi/src/libapi/utils.py @@ -3,0 +4 @@ +import logging @@ -100,0 +102 @@ def try_backfill_dataset( + logging.info(f"Set orchestrator revision for datas...
dee3002c03c7aa78720513bd960568065f5644a7
Polina Kazakova
polina@huggingface.co
2023-07-05T12:45:38
Delete `/parquet-and-dataset-info` endpoint (#1488)
diff --git a/e2e/tests/test_11_api.py b/e2e/tests/test_11_api.py index 48e60d68..8dd3e822 100644 --- a/e2e/tests/test_11_api.py +++ b/e2e/tests/test_11_api.py @@ -55 +54,0 @@ def test_auth_e2e( - ("/parquet-and-dataset-info", "config"), diff --git a/services/api/src/api/config.py b/services/api/src/api/config.py...
4a8a64c9b19ae649214341f79c2c8cae3d637793
Sylvain Lesage
sylvain.lesage@huggingface.co
2023-07-05T11:23:32
feat: 🎸 query operation $in is faster then $nin (#1486)
diff --git a/chart/env/prod.yaml b/chart/env/prod.yaml index 63eef88a..d50a3bcd 100644 --- a/chart/env/prod.yaml +++ b/chart/env/prod.yaml @@ -310,2 +310,2 @@ workers: - workerJobTypesBlocked: "dataset-config-names,config-split-names-from-streaming,config-parquet-and-info,split-first-rows-from-parquet,split-first-ro...
1528ec93f4b61ec30cc6b7cc950050cfa608edfd
Quentin Lhoest
42851186+lhoestq@users.noreply.github.com
2023-07-04T20:31:29
minor (#1480)
diff --git a/libs/libcommon/src/libcommon/viewer_utils/asset.py b/libs/libcommon/src/libcommon/viewer_utils/asset.py index 28a8322c..f98eff12 100644 --- a/libs/libcommon/src/libcommon/viewer_utils/asset.py +++ b/libs/libcommon/src/libcommon/viewer_utils/asset.py @@ -50 +50,4 @@ def update_last_modified_date_of_rows_in_...
bd372054f7bf14f2430309f964d372cbbe8f6f50
Sylvain Lesage
sylvain.lesage@huggingface.co
2023-07-04T17:27:25
feat: 🎸 increase RAM for /rows service (#1484)
diff --git a/chart/env/prod.yaml b/chart/env/prod.yaml index f4f22785..63eef88a 100644 --- a/chart/env/prod.yaml +++ b/chart/env/prod.yaml @@ -287 +287 @@ rows: - memory: "512Mi" + memory: "2Gi" @@ -290 +290 @@ rows: - memory: "4Gi" + memory: "8Gi"
2619bd836a0a008485fcb62a07bfde325b0cdd9e
Sylvain Lesage
sylvain.lesage@huggingface.co
2023-07-04T16:26:15
Move the /rows endpoint to its own service (#1479)
diff --git a/.github/workflows/_e2e_tests.yml b/.github/workflows/_e2e_tests.yml index 0126945c..c4272b3e 100644 --- a/.github/workflows/_e2e_tests.yml +++ b/.github/workflows/_e2e_tests.yml @@ -34,0 +35,2 @@ jobs: + ROWS_UVICORN_NUM_WORKERS: "2" + ROWS_UVICORN_PORT: "8082" @@ -70,0 +73,2 @@ jobs: + ...
6343f2cdd06772efbc44a1e184f9cab2761745b0
Andrea Francis Soria Jimenez
andrea@huggingface.co
2023-07-04T13:32:37
Moving configs and adding doc in readme (#1474)
diff --git a/libs/libcommon/src/libcommon/config.py b/libs/libcommon/src/libcommon/config.py index 3a713a1f..59006344 100644 --- a/libs/libcommon/src/libcommon/config.py +++ b/libs/libcommon/src/libcommon/config.py @@ -106,36 +105,0 @@ class ParquetMetadataConfig: - - -DUCKDB_INDEX_STORAGE_DIRECTORY = None -DUCKDB_INDE...
4c81b9616c0f570985a7589eb7a15b0e35b445f9
Sylvain Lesage
sylvain.lesage@huggingface.co
2023-07-04T13:32:18
Create libapi (#1475)
diff --git a/.github/workflows/_quality-python.yml b/.github/workflows/_quality-python.yml index c285df42..b282f8e3 100644 --- a/.github/workflows/_quality-python.yml +++ b/.github/workflows/_quality-python.yml @@ -52 +52 @@ jobs: - run: bash -c "poetry run pip-audit -r <(poetry export -f requirements.txt --with...
e1368b7dd349730d1e94a9bf94064919de2ee6d1
Quentin Lhoest
42851186+lhoestq@users.noreply.github.com
2023-07-04T12:30:09
optional num_bytes_original_files (#1478)
diff --git a/services/worker/src/worker/dtos.py b/services/worker/src/worker/dtos.py index 5bdfcd35..ad008a4b 100644 --- a/services/worker/src/worker/dtos.py +++ b/services/worker/src/worker/dtos.py @@ -143 +143,3 @@ class ConfigSize(TypedDict): - num_bytes_original_files: int + num_bytes_original_files: Optional...
00c0a16807736717bff563b7eb9db2e82e84374a
Quentin Lhoest
42851186+lhoestq@users.noreply.github.com
2023-07-04T09:38:22
unblock oscar (#1477)
diff --git a/chart/env/prod.yaml b/chart/env/prod.yaml index d787905d..953aeb10 100644 --- a/chart/env/prod.yaml +++ b/chart/env/prod.yaml @@ -100 +100 @@ parquetAndInfo: - blockedDatasets: "matallanas/linustechtips-transcript-audio-wav,KnutJaegersberg/Interpretable_word_embeddings_large_cskg,ashraf-ali/quran-data,cjv...
efb74b8330ebbe5a6832c566cd4f05873166e9ee
Quentin Lhoest
42851186+lhoestq@users.noreply.github.com
2023-07-04T09:38:14
More workers (#1476)
diff --git a/chart/env/prod.yaml b/chart/env/prod.yaml index 1566f1fa..d787905d 100644 --- a/chart/env/prod.yaml +++ b/chart/env/prod.yaml @@ -124 +124 @@ cacheMaintenance: - action: "backfill" + action: "skip" @@ -129 +129 @@ cacheMaintenance: - error_codes_to_retry: "DatasetTooBigFromDatasetsError,DatasetTooBigF...
10ecac78d4c640228d53ccddb83314c239252980
Quentin Lhoest
42851186+lhoestq@users.noreply.github.com
2023-07-03T18:31:46
fix stream_convert_to_parquet for GeneratorBasedBuilder (#1473)
diff --git a/services/worker/src/worker/job_runners/config/parquet_and_info.py b/services/worker/src/worker/job_runners/config/parquet_and_info.py index 880b991a..cae1b12c 100644 --- a/services/worker/src/worker/job_runners/config/parquet_and_info.py +++ b/services/worker/src/worker/job_runners/config/parquet_and_info....
9189407c5e423a1cdbeeae270fa5637439a3563a
Quentin Lhoest
42851186+lhoestq@users.noreply.github.com
2023-07-03T17:20:29
Add partial to subsequent parquet-and-info jobs (#1471)
diff --git a/jobs/mongodb_migration/src/mongodb_migration/migrations/_20230703110100_cache_add_partial_field_in_config_parquet_and_info.py b/jobs/mongodb_migration/src/mongodb_migration/migrations/_20230703110100_cache_add_partial_field_in_config_parquet_and_info.py index c1f0b674..c4958fd5 100644 --- a/jobs/mongodb_mi...
cb4142773a2b46122049c34435dfb063ec656869
Polina Kazakova
polina@huggingface.co
2023-07-03T17:11:05
Rename `/dataset-info` endpoint to `/info` (#1468)
diff --git a/docs/source/_toctree.yml b/docs/source/_toctree.yml index b4dbd129..bd3bb312 100644 --- a/docs/source/_toctree.yml +++ b/docs/source/_toctree.yml @@ -14,0 +15,2 @@ + - local: info + title: Get dataset information diff --git a/docs/source/info.mdx b/docs/source/info.mdx new file mode 100644 index 000000...
793ce6a17d88315e6cc09075278606926257d526
Sylvain Lesage
sylvain.lesage@huggingface.co
2023-07-03T15:55:04
feat: 🎸 backfill cache entries older than 90 days (#1469)
diff --git a/chart/templates/_envCache.tpl b/chart/templates/_envCache.tpl index 4701fbfd..f4974fd6 100644 --- a/chart/templates/_envCache.tpl +++ b/chart/templates/_envCache.tpl @@ -4,0 +5,2 @@ +- name: CACHE_MAX_DAYS + value: {{ .Values.cache.maxDays | quote }} diff --git a/chart/values.yaml b/chart/values.yaml inde...
288a5de35f9f6c7cd05cbbb25bea5f38bd459992
Quentin Lhoest
42851186+lhoestq@users.noreply.github.com
2023-07-03T15:40:31
Stream convert to parquet (#1448)
diff --git a/chart/env/prod.yaml b/chart/env/prod.yaml index b0dc9cf6..1566f1fa 100644 --- a/chart/env/prod.yaml +++ b/chart/env/prod.yaml @@ -124 +124 @@ cacheMaintenance: - action: "skip" + action: "backfill" @@ -129 +129 @@ cacheMaintenance: - error_codes_to_retry: "" + error_codes_to_retry: "DatasetTooBigFr...
2996e47b6f4abca258b1a59d942dd1019aac2c60
Sylvain Lesage
sylvain.lesage@huggingface.co
2023-07-03T15:26:54
feat: 🎸 use Normal priority only for API (#1470)
diff --git a/libs/libcommon/src/libcommon/operations.py b/libs/libcommon/src/libcommon/operations.py index 37ee3ee2..0797eef8 100644 --- a/libs/libcommon/src/libcommon/operations.py +++ b/libs/libcommon/src/libcommon/operations.py @@ -16 +16 @@ def backfill_dataset( - priority: Priority = Priority.NORMAL, + prior...
dc604553180cd0e30ce2cce7a30e9d1b6f67fe65
Andrea Francis Soria Jimenez
andrea@huggingface.co
2023-07-03T12:56:22
Adding retry to create duckdb index commit (#1466)
diff --git a/services/worker/src/worker/job_runners/config/parquet_and_info.py b/services/worker/src/worker/job_runners/config/parquet_and_info.py index 8e82aa94..14da1e9e 100644 --- a/services/worker/src/worker/job_runners/config/parquet_and_info.py +++ b/services/worker/src/worker/job_runners/config/parquet_and_info....
812df7632bd074bf1fd46ec2e25e35ee5e2492ca
geethika-123
49366733+geethika-123@users.noreply.github.com
2023-07-01T15:49:32
Rename classes to indicate inheritance (#1428)
diff --git a/jobs/cache_maintenance/src/cache_maintenance/metrics.py b/jobs/cache_maintenance/src/cache_maintenance/metrics.py index 2eeb4f0b..2aae8f11 100644 --- a/jobs/cache_maintenance/src/cache_maintenance/metrics.py +++ b/jobs/cache_maintenance/src/cache_maintenance/metrics.py @@ -6 +6 @@ import logging -from libc...
e26ef0fd08298579346325193ba2d2405b93f43c
Sylvain Lesage
sylvain.lesage@huggingface.co
2023-06-30T20:02:12
Ensure parquet shards are sorted (#1465)
diff --git a/chart/static-files/openapi.json b/chart/static-files/openapi.json index 9c3ed661..832fd7a7 100644 --- a/chart/static-files/openapi.json +++ b/chart/static-files/openapi.json @@ -2786 +2786 @@ - "description": "The dataset is converted to the parquet format. The endpoint gives the list of the parquet...
f9d5c9ff873ab93369ec605644b5e72f595ac6e2
Andrea Francis Soria Jimenez
andrea@huggingface.co
2023-06-29T19:06:02
Disable backfill (#1461)
diff --git a/chart/env/prod.yaml b/chart/env/prod.yaml index 62a4355f..b0dc9cf6 100644 --- a/chart/env/prod.yaml +++ b/chart/env/prod.yaml @@ -124 +124 @@ cacheMaintenance: - action: "backfill" + action: "skip" @@ -129 +129 @@ cacheMaintenance: - error_codes_to_retry: "AskAccessHubRequestError,CachedResponseNotFou...
e6aae54dc8591379eeca3f36f9068f7d24abe729
Andrea Francis Soria Jimenez
andrea@huggingface.co
2023-06-29T15:54:38
Adding fix (#1459)
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 01874c4c..1ed21f5d 100644 --- a/services/worker/src/worker/job_runners/split/duckdb_index.py +++ b/services/worker/src/worker/job_runners/split/duckdb_index.py @@ -45 +45 @@ CRE...
7a83fc631a34627264f28a4af2b5e28549550e56
Sylvain Lesage
sylvain.lesage@huggingface.co
2023-06-29T15:31:04
feat: 🎸 backfill the datasets (#1460)
diff --git a/chart/env/prod.yaml b/chart/env/prod.yaml index b0dc9cf6..62a4355f 100644 --- a/chart/env/prod.yaml +++ b/chart/env/prod.yaml @@ -124 +124 @@ cacheMaintenance: - action: "skip" + action: "backfill" @@ -129 +129 @@ cacheMaintenance: - error_codes_to_retry: "" + error_codes_to_retry: "AskAccessHubReq...
e8a5be6f6b43860ae9613d18a64c0062216266c0
Sylvain Lesage
sylvain.lesage@huggingface.co
2023-06-29T14:13:14
Replace valid with preview and viewer (#1452)
diff --git a/chart/static-files/openapi.json b/chart/static-files/openapi.json index 59a058d9..9c3ed661 100644 --- a/chart/static-files/openapi.json +++ b/chart/static-files/openapi.json @@ -898,4 +897,0 @@ - "preview": { - "type": "array", - "items": { "type": "string" } - }, @@...
ee9072dedf7130cc64ffbbe608d9a055003d37e4
Sylvain Lesage
sylvain.lesage@huggingface.co
2023-06-29T07:27:39
feat: 🎸 reduce the number of workers back to 20 (#1457)
diff --git a/chart/env/prod.yaml b/chart/env/prod.yaml index a0f96bd5..b0dc9cf6 100644 --- a/chart/env/prod.yaml +++ b/chart/env/prod.yaml @@ -272 +272 @@ workers: - replicas: 100 + replicas: 20
0bb49fbb7fe6bec3237f34a760d1a4f02d85e01b
Andrea Francis Soria Jimenez
andrea@huggingface.co
2023-06-28T20:42:34
Disable backfill (#1456)
diff --git a/chart/env/prod.yaml b/chart/env/prod.yaml index 774978a2..a0f96bd5 100644 --- a/chart/env/prod.yaml +++ b/chart/env/prod.yaml @@ -124 +124 @@ cacheMaintenance: - action: "backfill" + action: "skip" @@ -129 +129 @@ cacheMaintenance: - error_codes_to_retry: "CreateCommitError,LockedDatasetTimeoutError" ...
f1c6f82d05510f06c666b182bddcb39c42fcdfec
Polina Kazakova
polina@huggingface.co
2023-06-28T18:33:53
Update quality target in Makefile for /chart (#1455)
diff --git a/chart/Makefile b/chart/Makefile index 57716f53..779c0593 100644 --- a/chart/Makefile +++ b/chart/Makefile @@ -8 +8 @@ quality: - helm lint --values env/dev.yaml + helm lint --values env/staging.yaml
7ab76da7a74c7f2ddc2656c3c3953ddb1b591d1d
Andrea Francis Soria Jimenez
andrea@huggingface.co
2023-06-28T15:53:06
Enable backfill (#1454)
diff --git a/chart/env/prod.yaml b/chart/env/prod.yaml index 22a72830..774978a2 100644 --- a/chart/env/prod.yaml +++ b/chart/env/prod.yaml @@ -124,2 +124,2 @@ cacheMaintenance: - action: "skip" - # ^ allowed values are {skip,backfill,upgrade} + action: "backfill" + # ^ allowed values are {backfill, collect-metrics,...
5d4d7bd731590ce56ac5448bce35cd5d8c581f7d
Andrea Francis Soria Jimenez
andrea@huggingface.co
2023-06-28T15:31:04
Increase resources (#1453)
diff --git a/chart/env/prod.yaml b/chart/env/prod.yaml index 96acf9f7..22a72830 100644 --- a/chart/env/prod.yaml +++ b/chart/env/prod.yaml @@ -272 +272 @@ workers: - replicas: 20 + replicas: 100 @@ -283 +283 @@ workers: - workerJobTypesBlocked: "dataset-config-names,config-split-names-from-streaming,config-par...
2f6dbe2423a22c7749f34d73f3e54e42dd93f228
Andrea Francis Soria Jimenez
andrea@huggingface.co
2023-06-28T14:50:36
Change commiter key (#1451)
diff --git a/chart/Chart.yaml b/chart/Chart.yaml index 1a35e169..732dcf41 100644 --- a/chart/Chart.yaml +++ b/chart/Chart.yaml @@ -21 +21 @@ type: application -version: 1.14.0 +version: 1.14.1 diff --git a/chart/templates/_envWorker.tpl b/chart/templates/_envWorker.tpl index 68b16da1..18e1497c 100644 --- a/chart/templa...
d9c9d42d9a9a3666272c45279a171041a43deab4
Andrea Francis Soria Jimenez
andrea@huggingface.co
2023-06-28T14:18:17
Adding debug logs for split-duckdb-index (#1449)
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 daaa0d25..01874c4c 100644 --- a/services/worker/src/worker/job_runners/split/duckdb_index.py +++ b/services/worker/src/worker/job_runners/split/duckdb_index.py @@ -163,0 +164 @@...
f17eb0f6371bd6df1dd5f79eb27340e049c46d54
Andrea Francis Soria Jimenez
andrea@huggingface.co
2023-06-27T20:01:09
Adding other processing steps (#1441)
diff --git a/libs/libcommon/src/libcommon/config.py b/libs/libcommon/src/libcommon/config.py index 7d454058..b36d4535 100644 --- a/libs/libcommon/src/libcommon/config.py +++ b/libs/libcommon/src/libcommon/config.py @@ -362,0 +363,2 @@ class ProcessingGraphConfig: + "config-split-names-from-streaming"...
228334075f2368885e7a1ed1ae77573165fa12d1
Andrea Francis Soria Jimenez
andrea@huggingface.co
2023-06-27T19:12:46
Try to fix Duckdb extensions (#1440)
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 822ccb50..daaa0d25 100644 --- a/services/worker/src/worker/job_runners/split/duckdb_index.py +++ b/services/worker/src/worker/job_runners/split/duckdb_index.py @@ -129,0 +130,4 ...
b2a91994683ef8107197d2f0e12cbcd17df42011
Andrea Francis Soria Jimenez
andrea@huggingface.co
2023-06-27T16:45:36
Set Duckdb extensions install directory (#1439)
diff --git a/chart/templates/_envWorker.tpl b/chart/templates/_envWorker.tpl index 77a03377..68b16da1 100644 --- a/chart/templates/_envWorker.tpl +++ b/chart/templates/_envWorker.tpl @@ -110,0 +111,2 @@ +- name: DUCKDB_INDEX_EXTENSIONS_DIRECTORY + value: "/tmp/duckdb-extensions" diff --git a/libs/libcommon/src/libcomm...
be96d0a6693b8405e95e850d5181246c476839db
Andrea Francis Soria Jimenez
andrea@huggingface.co
2023-06-27T15:31:40
Increase chart version (#1438)
diff --git a/chart/Chart.yaml b/chart/Chart.yaml index 13b7046f..1a35e169 100644 --- a/chart/Chart.yaml +++ b/chart/Chart.yaml @@ -21 +21 @@ type: application -version: 1.13.0 +version: 1.14.0
b988e218f04a9340d88d1afc6dbd0176b943b92a
Andrea Francis Soria Jimenez
andrea@huggingface.co
2023-06-27T13:41:16
feat: Index the (text) datasets contents to enable full-text search - DuckDB (#1296)
diff --git a/chart/static-files/openapi.json b/chart/static-files/openapi.json index 11b6b1fe..59a058d9 100644 --- a/chart/static-files/openapi.json +++ b/chart/static-files/openapi.json @@ -928 +928 @@ - "items": { "$ref": "#/components/schemas/ParquetFileItem" } + "items": { "$ref": "#/component...
04f53d629c65a6d280b4ea79daf87c5822fe5785
Sylvain Lesage
sylvain.lesage@huggingface.co
2023-06-27T13:04:00
refactor: 💡 remove dead code (#1435)
diff --git a/services/worker/src/worker/job_manager.py b/services/worker/src/worker/job_manager.py index d4807508..5a5a4f63 100644 --- a/services/worker/src/worker/job_manager.py +++ b/services/worker/src/worker/job_manager.py @@ -30,3 +29,0 @@ from worker.job_runner import JobRunner -# List of error codes that should ...
1928052b47b1619a516f96ab5c1df781df4af36a
Quentin Lhoest
42851186+lhoestq@users.noreply.github.com
2023-06-27T12:12:19
unqote path and revision (#1434)
diff --git a/services/worker/src/worker/job_runners/config/parquet_and_info.py b/services/worker/src/worker/job_runners/config/parquet_and_info.py index c5c879be..8df7ea7a 100644 --- a/services/worker/src/worker/job_runners/config/parquet_and_info.py +++ b/services/worker/src/worker/job_runners/config/parquet_and_info....
64e84e792c755525d3a6c48425567617931e001c
Quentin Lhoest
42851186+lhoestq@users.noreply.github.com
2023-06-26T17:23:12
Fix auth in rows again (#1430)
diff --git a/libs/libcommon/src/libcommon/parquet_utils.py b/libs/libcommon/src/libcommon/parquet_utils.py index f95a63f8..0f8ca107 100644 --- a/libs/libcommon/src/libcommon/parquet_utils.py +++ b/libs/libcommon/src/libcommon/parquet_utils.py @@ -265,0 +266 @@ class ParquetIndexWithMetadata: + **...
a249894dd692ea6da078912aed9c462d3a99b51c
Sylvain Lesage
sylvain.lesage@huggingface.co
2023-06-26T16:17:02
feat: 🎸 don't insert a new lock when releasing (#1432)
diff --git a/libs/libcommon/src/libcommon/queue.py b/libs/libcommon/src/libcommon/queue.py index e3b7df0e..6aa66820 100644 --- a/libs/libcommon/src/libcommon/queue.py +++ b/libs/libcommon/src/libcommon/queue.py @@ -296 +295,0 @@ class lock(contextlib.AbstractContextManager["lock"]): - upsert=True,
a0479f8a8ac7868c94344370a7965575872c05e3
Sylvain Lesage
sylvain.lesage@huggingface.co
2023-06-26T15:56:46
fix: 🐛 remove the "required" constraint on created_at in Lock (#1431)
diff --git a/libs/libcommon/src/libcommon/queue.py b/libs/libcommon/src/libcommon/queue.py index e7c92ebd..e3b7df0e 100644 --- a/libs/libcommon/src/libcommon/queue.py +++ b/libs/libcommon/src/libcommon/queue.py @@ -239 +239 @@ class Lock(Document): - created_at = DateTimeField(required=True) + created_at = DateTi...
97cc53ff804ca606e05744eb699ae240b5842eff
Sylvain Lesage
sylvain.lesage@huggingface.co
2023-06-26T15:37:26
Ensure only one job is started for the same unicity_id (#1420)
diff --git a/jobs/cache_maintenance/tests/test_collect_metrics.py b/jobs/cache_maintenance/tests/test_collect_metrics.py index eb58797e..7f8cf4bd 100644 --- a/jobs/cache_maintenance/tests/test_collect_metrics.py +++ b/jobs/cache_maintenance/tests/test_collect_metrics.py @@ -27 +27 @@ def test_collect_metrics() -> None:...
b7a9721cf1120b11604bff978d8f28554c467e80
Albert Villanova del Moral
8515462+albertvillanova@users.noreply.github.com
2023-06-26T13:01:25
Remove too restrictive __all__ definitions (#1423)
diff --git a/jobs/mongodb_migration/src/mongodb_migration/database_migrations.py b/jobs/mongodb_migration/src/mongodb_migration/database_migrations.py index 9be31dc5..7c7b13e0 100644 --- a/jobs/mongodb_migration/src/mongodb_migration/database_migrations.py +++ b/jobs/mongodb_migration/src/mongodb_migration/database_mig...
1a549c7cf593ebcf18644a1668741b9425e61c76
Andrea Francis Soria Jimenez
andrea@huggingface.co
2023-06-26T11:04:12
Move dtos to its own file (#1426)
diff --git a/services/worker/src/worker/dtos.py b/services/worker/src/worker/dtos.py new file mode 100644 index 00000000..ef4a4cc0 --- /dev/null +++ b/services/worker/src/worker/dtos.py @@ -0,0 +1,208 @@ +# SPDX-License-Identifier: Apache-2.0 +# Copyright 2023 The HuggingFace Authors. + +from dataclasses import datacla...
120c2547e31780e584d0a37ac4d9305f4b988195
Andrea Francis Soria Jimenez
andrea@huggingface.co
2023-06-26T11:01:35
Create missing Jobs when /rows cache does not exists yet (#1425)
diff --git a/libs/libcommon/src/libcommon/parquet_utils.py b/libs/libcommon/src/libcommon/parquet_utils.py index e0ddad9f..f95a63f8 100644 --- a/libs/libcommon/src/libcommon/parquet_utils.py +++ b/libs/libcommon/src/libcommon/parquet_utils.py @@ -20 +19,0 @@ from libcommon.constants import PARQUET_REVISION -from libcom...
07887d39931663f1e4c1a78cd1140c6395a8d356
Quentin Lhoest
42851186+lhoestq@users.noreply.github.com
2023-06-26T10:40:24
Ignore duckdb files in parquet and info (#1429)
diff --git a/services/worker/src/worker/job_runners/config/parquet_and_info.py b/services/worker/src/worker/job_runners/config/parquet_and_info.py index 1e1c4d9b..313166d5 100644 --- a/services/worker/src/worker/job_runners/config/parquet_and_info.py +++ b/services/worker/src/worker/job_runners/config/parquet_and_info....
1d668b0ad9ea88fec9f37101a42b1934d61d726f
Quentin Lhoest
42851186+lhoestq@users.noreply.github.com
2023-06-26T08:21:49
Add auth in rows (#1427)
diff --git a/services/api/src/api/routes/rows.py b/services/api/src/api/routes/rows.py index 2806e5b0..6f8d2d51 100644 --- a/services/api/src/api/routes/rows.py +++ b/services/api/src/api/routes/rows.py @@ -271 +271 @@ def create_rows_endpoint( - httpfs=HTTPFileSystem(), + httpfs=HTTPFileSystem(storage_op...
ad4351dc9ee2995cf716aa83afb50f8f1fb305f1
Quentin Lhoest
42851186+lhoestq@users.noreply.github.com
2023-06-23T16:01:52
Fix regression: use parquet metadata when possible (#1424)
diff --git a/e2e/tests/test_11_api.py b/e2e/tests/test_11_api.py index d6abeef3..7732ea1f 100644 --- a/e2e/tests/test_11_api.py +++ b/e2e/tests/test_11_api.py @@ -109 +109 @@ def test_rows_endpoint( - limit = 10 + length = 10 @@ -111 +111 @@ def test_rows_endpoint( - relative_url=f"/rows?dataset={dataset}&...
bddd6c15995b6f72a93a8b1cd692aca58cc2a4c8
Quentin Lhoest
42851186+lhoestq@users.noreply.github.com
2023-06-23T12:02:30
update to datasets 2.13.1 (#1422)
diff --git a/front/admin_ui/poetry.lock b/front/admin_ui/poetry.lock index d43c651e..0de28c38 100644 --- a/front/admin_ui/poetry.lock +++ b/front/admin_ui/poetry.lock @@ -1 +1 @@ -# This file is automatically @generated by Poetry and should not be changed by hand. +# This file is automatically @generated by Poetry 1.4....
5584b9cf9e72e4b6b6b22fa436a5f0936a4b3d96
Quentin Lhoest
42851186+lhoestq@users.noreply.github.com
2023-06-22T12:51:40
keep image and audio untruncated (#1417)
diff --git a/services/worker/src/worker/job_runners/split/first_rows_from_parquet.py b/services/worker/src/worker/job_runners/split/first_rows_from_parquet.py index 64112c28..a4f64ece 100644 --- a/services/worker/src/worker/job_runners/split/first_rows_from_parquet.py +++ b/services/worker/src/worker/job_runners/split/...
8763a497aa8f40970cc9008c9e68072f2c964794
Rémy
remy.trompier@gmail.com
2023-06-22T07:51:06
feat: use external-secrets to read secrets from AWS (#1419)
diff --git a/chart/env/prod.yaml b/chart/env/prod.yaml index e7420e4e..96acf9f7 100644 --- a/chart/env/prod.yaml +++ b/chart/env/prod.yaml @@ -51,0 +52,10 @@ secrets: + externalSecret: + enabled: true + secretName: "datasets-server-prod-secrets" + secretStoreName: "datasets-server-prod-secretstore" + param...
31424f197038003216e23ebae9d68de91a3b1a3b
Sylvain Lesage
sylvain.lesage@huggingface.co
2023-06-21T15:06:14
Test concurrency in parquet and info (#1415)
diff --git a/services/worker/src/worker/job_runners/config/parquet_and_info.py b/services/worker/src/worker/job_runners/config/parquet_and_info.py index a0c0f528..1e1c4d9b 100644 --- a/services/worker/src/worker/job_runners/config/parquet_and_info.py +++ b/services/worker/src/worker/job_runners/config/parquet_and_info....
58c55b64c093929e7f08c527951c50b88879d47b
Sylvain Lesage
sylvain.lesage@huggingface.co
2023-06-21T14:25:15
Fix the lock (#1414)
diff --git a/libs/libcommon/src/libcommon/queue.py b/libs/libcommon/src/libcommon/queue.py index 1371ee6a..550b1a52 100644 --- a/libs/libcommon/src/libcommon/queue.py +++ b/libs/libcommon/src/libcommon/queue.py @@ -254,6 +253,0 @@ class lock(contextlib.AbstractContextManager["lock"]): - try: - Lock(ke...
2848ab4660367d9a74a01ae2f4566c0e243d3009
Albert Villanova del Moral
8515462+albertvillanova@users.noreply.github.com
2023-06-21T14:22:44
Remove unused code from /rows API endpoint (#1394)
diff --git a/services/api/src/api/routes/rows.py b/services/api/src/api/routes/rows.py index 702fea88..618a6e02 100644 --- a/services/api/src/api/routes/rows.py +++ b/services/api/src/api/routes/rows.py @@ -4 +3,0 @@ -import asyncio @@ -14 +12,0 @@ from datasets import Features -from fsspec.implementations.http import ...
178ed7b0ff6199d85a5503bd8804e70cbf02c1f2
Quentin Lhoest
42851186+lhoestq@users.noreply.github.com
2023-06-21T14:21:56
unblock DFKI-SLT/few-nerd (#1412)
diff --git a/chart/env/prod.yaml b/chart/env/prod.yaml index 06b172c5..e7420e4e 100644 --- a/chart/env/prod.yaml +++ b/chart/env/prod.yaml @@ -91 +91 @@ parquetAndInfo: - blockedDatasets: "matallanas/linustechtips-transcript-audio-wav,KnutJaegersberg/Interpretable_word_embeddings_large_cskg,ashraf-ali/quran-data,cjvt/...
1bb3b274b750e551fb943a729706755d5519467f
Quentin Lhoest
42851186+lhoestq@users.noreply.github.com
2023-06-21T09:54:11
Retry get_parquet_file_and_size (#1404)
diff --git a/services/worker/src/worker/job_runners/config/parquet_and_info.py b/services/worker/src/worker/job_runners/config/parquet_and_info.py index 73dfb0e8..a0c0f528 100644 --- a/services/worker/src/worker/job_runners/config/parquet_and_info.py +++ b/services/worker/src/worker/job_runners/config/parquet_and_info....
dd8f9fc58c9f652578e796d6bd1ffaa887dfc527
Sylvain Lesage
sylvain.lesage@huggingface.co
2023-06-20T21:26:59
fix: 🐛 try to ensure only one job can get the lock (#1410)
diff --git a/libs/libcommon/src/libcommon/queue.py b/libs/libcommon/src/libcommon/queue.py index 27128ccb..1371ee6a 100644 --- a/libs/libcommon/src/libcommon/queue.py +++ b/libs/libcommon/src/libcommon/queue.py @@ -255 +255,3 @@ class lock(contextlib.AbstractContextManager["lock"]): - Lock(key=self.key, job_...
86bd831913706c4beecd197b54015e4de2ddb0ab
Sylvain Lesage
sylvain.lesage@huggingface.co
2023-06-20T20:35:11
test: 💍 add a test on lock.git_branch (#1409)
diff --git a/libs/libcommon/tests/test_queue.py b/libs/libcommon/tests/test_queue.py index 02b9578e..18f3e259 100644 --- a/libs/libcommon/tests/test_queue.py +++ b/libs/libcommon/tests/test_queue.py @@ -3,0 +4 @@ +import json @@ -415,0 +417,26 @@ def test_lock(tmp_path_factory: pytest.TempPathFactory, queue_mongo_resou...
f38b99d2d49a0e5deb08014705c61ace13282f88
Sylvain Lesage
sylvain.lesage@huggingface.co
2023-06-20T19:08:39
Add tests on create_commits (#1408)
diff --git a/services/worker/src/worker/job_runners/config/parquet_and_info.py b/services/worker/src/worker/job_runners/config/parquet_and_info.py index 2769bdd8..73dfb0e8 100644 --- a/services/worker/src/worker/job_runners/config/parquet_and_info.py +++ b/services/worker/src/worker/job_runners/config/parquet_and_info....
ca55a35ebd4c9b26af7ea19508bf773e3f953739
Andrea Francis Soria Jimenez
andrea@huggingface.co
2023-06-20T18:43:07
Rename parent job runners (#1398)
diff --git a/services/worker/src/worker/job_runners/_cached_directory_job_runner.py b/services/worker/src/worker/job_runners/_job_runner_with_cache.py similarity index 98% rename from services/worker/src/worker/job_runners/_cached_directory_job_runner.py rename to services/worker/src/worker/job_runners/_job_runner_with...
9643c233e12765ed83373e8cf56a64336674196b
Andrea Francis Soria Jimenez
andrea@huggingface.co
2023-06-20T15:19:59
Modify TTL index condition (#1405)
diff --git a/jobs/mongodb_migration/src/mongodb_migration/collector.py b/jobs/mongodb_migration/src/mongodb_migration/collector.py index 06412c36..4b6dba13 100644 --- a/jobs/mongodb_migration/src/mongodb_migration/collector.py +++ b/jobs/mongodb_migration/src/mongodb_migration/collector.py @@ -224,0 +225,7 @@ class Mig...
82f3b7393b0b57bd3cf5fc7599e1dad9141632e6
Andrea Francis Soria Jimenez
andrea@huggingface.co
2023-06-20T14:59:07
Temporaly remove TTL index (#1403)
diff --git a/jobs/mongodb_migration/tests/test_deletion_migrations.py b/jobs/mongodb_migration/tests/test_deletion_migrations.py index 09cb6301..2c1d062d 100644 --- a/jobs/mongodb_migration/tests/test_deletion_migrations.py +++ b/jobs/mongodb_migration/tests/test_deletion_migrations.py @@ -3,0 +4 @@ +import pytest @@ -...
bf7cc0b3b0c4315d299603217683b9fb1050de5e
Quentin Lhoest
42851186+lhoestq@users.noreply.github.com
2023-06-20T13:52:22
increase max job duration (#1395)
diff --git a/chart/values.yaml b/chart/values.yaml index 5294d83c..0f99fb5d 100644 --- a/chart/values.yaml +++ b/chart/values.yaml @@ -131 +131 @@ worker: - maxJobDurationSeconds: 1200 + maxJobDurationSeconds: 2400
d017e7c79a4196535d38743b163293d2d296aa1c
Sylvain Lesage
sylvain.lesage@huggingface.co
2023-06-20T13:28:26
fix: 🐛 split the default value to get a list of strings (#1401)
diff --git a/libs/libcommon/src/libcommon/orchestrator.py b/libs/libcommon/src/libcommon/orchestrator.py index e1717543..1bbab28c 100644 --- a/libs/libcommon/src/libcommon/orchestrator.py +++ b/libs/libcommon/src/libcommon/orchestrator.py @@ -330 +330 @@ class DatasetBackfillPlan(Plan): - self.error_codes_to...
7626cd0dfff2d5d70618893636a2e63e85b4ffa4
Sylvain Lesage
sylvain.lesage@huggingface.co
2023-06-20T12:36:44
Raise retryable error on hfhubhttperror (#1393)
diff --git a/chart/env/prod.yaml b/chart/env/prod.yaml index 163a431d..06b172c5 100644 --- a/chart/env/prod.yaml +++ b/chart/env/prod.yaml @@ -135 +135 @@ backfill: - error_codes_to_retry: "" + error_codes_to_retry: "CreateCommitError,LockedDatasetTimeoutError" diff --git a/libs/libcommon/src/libcommon/constants.py b...
8d2f9ab14c3771e64d8341b879f36ef0ec96b7e3
Andrea Francis Soria Jimenez
andrea@huggingface.co
2023-06-20T12:21:31
New parent job runner for cached data (#1388)
diff --git a/services/worker/src/worker/job_runners/_cached_directory_job_runner.py b/services/worker/src/worker/job_runners/_cached_directory_job_runner.py new file mode 100644 index 00000000..1ff02d16 --- /dev/null +++ b/services/worker/src/worker/job_runners/_cached_directory_job_runner.py @@ -0,0 +1,63 @@ +# SPDX-L...
b7f13c8ee5a1b774c75874095b368a79309a226f
Sylvain Lesage
sylvain.lesage@huggingface.co
2023-06-19T12:35:59
feat: 🎸 10x the size of supported images (#1392)
diff --git a/services/worker/src/worker/utils.py b/services/worker/src/worker/utils.py index bc187b6f..7472e39b 100644 --- a/services/worker/src/worker/utils.py +++ b/services/worker/src/worker/utils.py @@ -37 +37 @@ from libcommon.utils import orjson_dumps -MAX_IMAGE_PIXELS = 1_000_000_000 +MAX_IMAGE_PIXELS = 10_000_0...
cb563d9451eb6898c7be87a34bd2f0262fd4330a
Sylvain Lesage
sylvain.lesage@huggingface.co
2023-06-19T12:12:18
Rename dev to staging, and use staging mongodb cluster (#1383)
diff --git a/.github/workflows/cd.yml b/.github/workflows/cd.yml index 878e3e3b..d1394601 100644 --- a/.github/workflows/cd.yml +++ b/.github/workflows/cd.yml @@ -79,2 +79,2 @@ jobs: - - name: Lint chart with dev values - run: helm lint --values env/dev.yaml + - name: Lint chart with staging values + ...
170b1c6be8bbfc0347056ac5b89e9e6b816ecc6c
Sylvain Lesage
sylvain.lesage@huggingface.co
2023-06-19T11:21:39
fix: 🐛 support bigger images (#1387)
diff --git a/services/worker/poetry.lock b/services/worker/poetry.lock index 8d817352..5f59e6b5 100644 --- a/services/worker/poetry.lock +++ b/services/worker/poetry.lock @@ -4695,2 +4694,0 @@ files = [ - {file = "tensorflow_macos-2.12.0-cp311-cp311-macosx_12_0_arm64.whl", hash = "sha256:9c9b14fbb73ec4cb0f209722a148...
aa4a6c6442ce9f5f40ed664a0afb1f0c401be72d
Bas Krahmer
baskrahmer@gmail.com
2023-06-19T10:39:35
Add docker internal to extra_hosts (#1390)
diff --git a/tools/docker-compose-dev-base.yml b/tools/docker-compose-dev-base.yml index 90a1e9cb..b9ca8e9e 100644 --- a/tools/docker-compose-dev-base.yml +++ b/tools/docker-compose-dev-base.yml @@ -27,0 +28,2 @@ services: + extra_hosts: + - "host.docker.internal:host-gateway"
de349b5df053b8ea1dcc1ed5e626b8de3a223f07
Albert Villanova del Moral
8515462+albertvillanova@users.noreply.github.com
2023-06-19T08:55:12
Fix typo in erro rmessage (#1391)
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 b1045c31..a3a80354 100644 --- a/services/worker/src/worker/job_runners/dataset/config_names.py +++ b/services/worker/src/worker/job_runners/dataset/config_names.py @@ -77 +7...
03d633edfb5f5852c5b2f70e685860509ca9657d
Bas Krahmer
baskrahmer@gmail.com
2023-06-19T08:51:24
Fix closing brackets and GH action link (#1389)
diff --git a/DEVELOPER_GUIDE.md b/DEVELOPER_GUIDE.md index d446e6d0..e2101dc5 100644 --- a/DEVELOPER_GUIDE.md +++ b/DEVELOPER_GUIDE.md @@ -54 +54 @@ If you use VSCode, it might be useful to use the ["monorepo" workspace](./.vscod -The repository is structured as a monorepo, with Python libraries and applications in [jo...
dbd15643a377d9747c21000c364e231cfd6492df
Steven Liu
59462357+stevhliu@users.noreply.github.com
2023-06-16T16:10:04
[docs] Improvements (#1376)
diff --git a/docs/source/_toctree.yml b/docs/source/_toctree.yml index 0767f5ab..b4dbd129 100644 --- a/docs/source/_toctree.yml +++ b/docs/source/_toctree.yml @@ -6,0 +7,2 @@ + - local: analyze_data + title: Analyze a dataset on the Hub diff --git a/docs/source/analyze_data.mdx b/docs/source/analyze_data.mdx new fi...
a3da0bfc18e7990d36ddb6b0820868857303cdc9
Quentin Lhoest
42851186+lhoestq@users.noreply.github.com
2023-06-16T12:59:01
Multi commit Parquet copies (#1355)
diff --git a/libs/libcommon/src/libcommon/exceptions.py b/libs/libcommon/src/libcommon/exceptions.py index f7048d5a..672111e1 100644 --- a/libs/libcommon/src/libcommon/exceptions.py +++ b/libs/libcommon/src/libcommon/exceptions.py @@ -101,0 +102 @@ CacheableErrorCode = Literal[ + "LockedDatasetTimeoutError", @@ -239...
031daa5a5beee4e44573fb487f094d1429f3292d
Sylvain Lesage
sylvain.lesage@huggingface.co
2023-06-16T07:29:54
Revert "Delete ttl index from queue.py code (#1378)" (#1380)
diff --git a/jobs/mongodb_migration/tests/test_deletion_migrations.py b/jobs/mongodb_migration/tests/test_deletion_migrations.py index 2c1d062d..09cb6301 100644 --- a/jobs/mongodb_migration/tests/test_deletion_migrations.py +++ b/jobs/mongodb_migration/tests/test_deletion_migrations.py @@ -4 +3,0 @@ -import pytest @@ -...
c96497924667ce699ef4cb77fc04377f276337d0
Andrea Francis Soria Jimenez
andrea@huggingface.co
2023-06-15T23:20:24
Rollback index (#1379)
diff --git a/jobs/mongodb_migration/tests/test_deletion_migrations.py b/jobs/mongodb_migration/tests/test_deletion_migrations.py index 09cb6301..2c1d062d 100644 --- a/jobs/mongodb_migration/tests/test_deletion_migrations.py +++ b/jobs/mongodb_migration/tests/test_deletion_migrations.py @@ -3,0 +4 @@ +import pytest @@ -...
335754dd4284b19ccfa3b75e0f96171858ecfd2a
Andrea Francis Soria Jimenez
andrea@huggingface.co
2023-06-15T22:32:21
Adding condition to Jobs Collection - ttl index (#1325)
diff --git a/jobs/mongodb_migration/src/mongodb_migration/collector.py b/jobs/mongodb_migration/src/mongodb_migration/collector.py index 88e61e94..06412c36 100644 --- a/jobs/mongodb_migration/src/mongodb_migration/collector.py +++ b/jobs/mongodb_migration/src/mongodb_migration/collector.py @@ -217,0 +218,7 @@ class Mig...
47ea65b2567db4482579cd7000393cf0a15b412e
Andrea Francis Soria Jimenez
andrea@huggingface.co
2023-06-15T22:08:06
Delete ttl index from queue.py code (#1378)
diff --git a/jobs/mongodb_migration/tests/test_deletion_migrations.py b/jobs/mongodb_migration/tests/test_deletion_migrations.py index 09cb6301..2c1d062d 100644 --- a/jobs/mongodb_migration/tests/test_deletion_migrations.py +++ b/jobs/mongodb_migration/tests/test_deletion_migrations.py @@ -3,0 +4 @@ +import pytest @@ -...
32c833873068ac89428df7ac0a8802de6ee33414
Quentin Lhoest
42851186+lhoestq@users.noreply.github.com
2023-06-15T20:53:42
Refac hub_datasets fixture (#1373)
diff --git a/services/worker/tests/fixtures/hub.py b/services/worker/tests/fixtures/hub.py index 110dba75..da77c3fc 100644 --- a/services/worker/tests/fixtures/hub.py +++ b/services/worker/tests/fixtures/hub.py @@ -576,16 +576,2 @@ SPAWNING_OPT_IN_OUT_rows = ["http://testurl.test/test_image.jpg", "http://testur -@pytes...
ae6ffbe68ec50aa144e2b8986a7cd85c161d1faa
Quentin Lhoest
42851186+lhoestq@users.noreply.github.com
2023-06-15T20:37:34
fix fill_builder_info (#1375)
diff --git a/services/worker/src/worker/job_runners/config/parquet_and_info.py b/services/worker/src/worker/job_runners/config/parquet_and_info.py index 8f2f0f10..d9d10395 100644 --- a/services/worker/src/worker/job_runners/config/parquet_and_info.py +++ b/services/worker/src/worker/job_runners/config/parquet_and_info....
0ce4b5b508ac660eba658ac77a8a90883541516c
Steven Liu
59462357+stevhliu@users.noreply.github.com
2023-06-15T20:22:50
add build notebook (#1377)
diff --git a/.github/workflows/doc-build.yml b/.github/workflows/doc-build.yml index 8dc7ac99..6238f7c7 100644 --- a/.github/workflows/doc-build.yml +++ b/.github/workflows/doc-build.yml @@ -19,0 +20 @@ jobs: + notebook_folder: datasets-server_doc
6865d8fab8c9476ab1efccd713479c0b432bd22d
Albert Villanova del Moral
8515462+albertvillanova@users.noreply.github.com
2023-06-15T15:59:03
Update datasets dependency to 2.13.0 version (#1372)
diff --git a/front/admin_ui/poetry.lock b/front/admin_ui/poetry.lock index cd3fcb36..d43c651e 100644 --- a/front/admin_ui/poetry.lock +++ b/front/admin_ui/poetry.lock @@ -529 +529 @@ name = "datasets" -version = "2.12.0" +version = "2.13.0" @@ -535,2 +535,2 @@ files = [ - {file = "datasets-2.12.0-py3-none-any.whl", ...
8396a0d518d446b24334c0e4daf4841327fdf56f
Andrea Francis Soria Jimenez
andrea@huggingface.co
2023-06-15T14:58:42
Adding limit for number of configs (#1371)
diff --git a/chart/templates/_envWorker.tpl b/chart/templates/_envWorker.tpl index ffbec5ae..3d9765fc 100644 --- a/chart/templates/_envWorker.tpl +++ b/chart/templates/_envWorker.tpl @@ -86,0 +87,2 @@ +- name: CONFIG_NAMES_MAX_NUMBER + value: {{ .Values.configNames.maxNumber | quote }} diff --git a/chart/values.yaml b...
364900464d575c160bd74b80e85857b3a84bb03b
Sylvain Lesage
sylvain.lesage@huggingface.co
2023-06-14T15:25:09
feat: 🎸 reduce the resources (#1368)
diff --git a/chart/env/prod.yaml b/chart/env/prod.yaml index 4d70bcc0..163a431d 100644 --- a/chart/env/prod.yaml +++ b/chart/env/prod.yaml @@ -263 +263 @@ workers: - replicas: 160 + replicas: 20 @@ -278 +278 @@ workers: - replicas: 12 + replicas: 4
3dad30355148f2bf0a886014bafbff87a12719c1
Quentin Lhoest
42851186+lhoestq@users.noreply.github.com
2023-06-14T14:53:45
Add lock for queue based on mongodb (#1357)
diff --git a/libs/libcommon/src/libcommon/constants.py b/libs/libcommon/src/libcommon/constants.py index 0a3a5494..fc0dd91e 100644 --- a/libs/libcommon/src/libcommon/constants.py +++ b/libs/libcommon/src/libcommon/constants.py @@ -12,0 +13 @@ QUEUE_COLLECTION_JOBS = "jobsBlue" +QUEUE_COLLECTION_LOCKS = "locks" diff --g...
ca1d155af54b1aa372d9677115d12ce94fd1021b
Sylvain Lesage
sylvain.lesage@huggingface.co
2023-06-14T11:49:04
feat: 🎸 run jobs killing routines with some random delay (#1364)
diff --git a/libs/libcommon/src/libcommon/queue.py b/libs/libcommon/src/libcommon/queue.py index af6bcc0d..9b636995 100644 --- a/libs/libcommon/src/libcommon/queue.py +++ b/libs/libcommon/src/libcommon/queue.py @@ -786 +786 @@ class Queue: - def get_zombies(self, max_seconds_without_heartbeat: int) -> List[JobInfo]:...
7bebee49ebf214eefb6410241fd544dbb4454aa4
Sylvain Lesage
sylvain.lesage@huggingface.co
2023-06-14T09:40:52
ci: 🎡 don't run doc CI if no doc has been changed (#1363)
diff --git a/.github/workflows/doc-pr-build.yml b/.github/workflows/doc-pr-build.yml index 9c920c4f..6ee6a305 100644 --- a/.github/workflows/doc-pr-build.yml +++ b/.github/workflows/doc-pr-build.yml @@ -7,0 +8,3 @@ on: + paths: + - "docs/**" + - ".github/workflows/doc-pr-build.yml" diff --git a/.github/wor...
7b266d24ee81c2f5b86fbd352466e97b34d46c99
Sylvain Lesage
sylvain.lesage@huggingface.co
2023-06-14T09:25:58
style: 💄 fix style for github action files (#1362)
diff --git a/.github/workflows/_e2e_tests.yml b/.github/workflows/_e2e_tests.yml index 3e0a01f5..0126945c 100644 --- a/.github/workflows/_e2e_tests.yml +++ b/.github/workflows/_e2e_tests.yml @@ -21,2 +21 @@ jobs: - - - name: Checkout + - name: Checkout @@ -24,2 +23 @@ jobs: - - - name: Buil...
7b4b78f04473d8f00e7c2226381982a9a84ab48c
Sylvain Lesage
sylvain.lesage@huggingface.co
2023-06-13T22:27:15
feat: 🎸 add resources for temporary load (#1360)
diff --git a/chart/env/prod.yaml b/chart/env/prod.yaml index 163a431d..4d70bcc0 100644 --- a/chart/env/prod.yaml +++ b/chart/env/prod.yaml @@ -263 +263 @@ workers: - replicas: 20 + replicas: 160 @@ -278 +278 @@ workers: - replicas: 4 + replicas: 12
2990bbc93b6622d536bb8bb50ea7fdfa72b17112
Steven Liu
59462357+stevhliu@users.noreply.github.com
2023-06-12T18:40:42
separate page for each library (#1354)
diff --git a/docs/source/_toctree.yml b/docs/source/_toctree.yml index dcd3ef45..0767f5ab 100644 --- a/docs/source/_toctree.yml +++ b/docs/source/_toctree.yml @@ -19,2 +19,10 @@ - - local: parquet_process - title: Query datasets from Datasets Server + - title: Query datasets from Datasets Server + sections: + ...
8c53732d93921822a96c9b256fd26f449519b069
Sylvain Lesage
sylvain.lesage@huggingface.co
2023-06-12T16:29:05
refactor: 💡 rename required_by_dataset_viewer: enables_preview (#1353)
diff --git a/chart/static-files/openapi.json b/chart/static-files/openapi.json index 296ba170..11b6b1fe 100644 --- a/chart/static-files/openapi.json +++ b/chart/static-files/openapi.json @@ -293,4 +293 @@ - "enum": [ - "RowsPostProcessingError", - "UnexpectedError" - ] + ...
db7913058dc3a940c862dc4649d260c5bde33147
Sylvain Lesage
sylvain.lesage@huggingface.co
2023-06-12T12:56:29
feat: 🎸 upgrade duckdb and gradio (#1351)
diff --git a/front/admin_ui/poetry.lock b/front/admin_ui/poetry.lock index 19956d9d..cd3fcb36 100644 --- a/front/admin_ui/poetry.lock +++ b/front/admin_ui/poetry.lock @@ -619 +619 @@ name = "duckdb" -version = "0.6.1" +version = "0.8.0" @@ -625,47 +625,47 @@ files = [ - {file = "duckdb-0.6.1-cp310-cp310-macosx_10_9_...
ba115a9145e2c24f01f6d58dabdd6cf78fc8b4da
Sylvain Lesage
sylvain.lesage@huggingface.co
2023-06-12T11:19:00
Fix admin app (#1348)
diff --git a/front/admin_ui/app.py b/front/admin_ui/app.py index 770ff8f3..a39a8e20 100644 --- a/front/admin_ui/app.py +++ b/front/admin_ui/app.py @@ -27,0 +28,2 @@ DSS_ENDPOINT = DEV_DSS_ENDPOINT if DEV else PROD_DSS_ENDPOINT +PROCESSING_GRAPH = ProcessingGraph(ProcessingGraphConfig().specification) + @@ -43,2 +45 @@ ...
deba0fd4c5a538922f15c723838b6c0bd056d7a1
Quentin Lhoest
42851186+lhoestq@users.noreply.github.com
2023-06-12T10:10:51
fix parquet-and-info download_size (#1347)
diff --git a/services/worker/src/worker/job_runners/config/parquet_and_info.py b/services/worker/src/worker/job_runners/config/parquet_and_info.py index 91de381e..8f2f0f10 100644 --- a/services/worker/src/worker/job_runners/config/parquet_and_info.py +++ b/services/worker/src/worker/job_runners/config/parquet_and_info....
42b364b24e03912d9e70148057c7468eb3f8a047
Albert Villanova del Moral
8515462+albertvillanova@users.noreply.github.com
2023-06-12T09:25:24
Update locked cachecontrol version (#1344)
diff --git a/front/admin_ui/poetry.lock b/front/admin_ui/poetry.lock index 54ed9fd8..19956d9d 100644 --- a/front/admin_ui/poetry.lock +++ b/front/admin_ui/poetry.lock @@ -1266,0 +1267 @@ starlette-prometheus = "^0.9.0" +tqdm = "^4.65.0" diff --git a/jobs/cache_maintenance/poetry.lock b/jobs/cache_maintenance/poetry.loc...
e0eed9c9ad09d57a857e6498c44b76d6bd71ff76
Sylvain Lesage
sylvain.lesage@huggingface.co
2023-06-10T11:54:23
feat: 🎸 give 10x more time for the jobs for cerebras/SlimPajama (#1342)
diff --git a/services/worker/src/worker/executor.py b/services/worker/src/worker/executor.py index e369028d..a0acf747 100644 --- a/services/worker/src/worker/executor.py +++ b/services/worker/src/worker/executor.py @@ -135 +135,5 @@ class WorkerExecutor: - if last_updated + timedelta(seconds=self.app_config....
da29c537bc969d2dc0973e010bb94222384b2f62
Andrea Francis Soria Jimenez
andrea@huggingface.co
2023-06-09T18:05:29
refactor: first-rows-from-parquet use same code as in /rows (#1287)
diff --git a/libs/libcommon/pyproject.toml b/libs/libcommon/pyproject.toml index 24ca6c2a..1bc1d006 100644 --- a/libs/libcommon/pyproject.toml +++ b/libs/libcommon/pyproject.toml @@ -26,0 +27 @@ starlette-prometheus = "^0.9.0" +tqdm = "^4.65.0" @@ -71,0 +73,2 @@ module = [ + "tqdm.*", + "fsspec.*", diff --git a/l...
e870cb24073f4c214734b155e6195b5a6d295291
Quentin Lhoest
42851186+lhoestq@users.noreply.github.com
2023-06-09T17:41:12
Copy parquet when possible (#1321)
diff --git a/.github/workflows/_quality-python.yml b/.github/workflows/_quality-python.yml index 9cc6eb2a..9f9638e0 100644 --- a/.github/workflows/_quality-python.yml +++ b/.github/workflows/_quality-python.yml @@ -52 +52 @@ jobs: - run: bash -c "poetry run pip-audit -r <(poetry export -f requirements.txt --with...