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
9b27f027a6ac11ccdbe3b4a23ceb2dab0cddbdc1
Mishig
mishig.davaadorj@coloradocollege.edu
2023-06-09T15:30:52
[doc build] Use secrets (#1337)
diff --git a/.github/workflows/doc-build.yml b/.github/workflows/doc-build.yml index d19baefc..7378ed14 100644 --- a/.github/workflows/doc-build.yml +++ b/.github/workflows/doc-build.yml @@ -22,0 +23 @@ jobs: + hf_token: ${{ secrets.HF_DOC_BUILD_PUSH }} diff --git a/.github/workflows/doc-pr-build.yml b/.github/wor...
e0b3ddc8d5c467ed3927c0b5cd987760cefd2981
Sylvain Lesage
sylvain.lesage@huggingface.co
2023-06-08T21:24:09
feat: 🎸 upgrade transformers and remove exception (#1336)
diff --git a/.github/workflows/_quality-python.yml b/.github/workflows/_quality-python.yml index 9182f99b..9cc6eb2a 100644 --- a/.github/workflows/_quality-python.yml +++ b/.github/workflows/_quality-python.yml @@ -52 +52 @@ jobs: - run: bash -c "poetry run pip-audit --ignore-vuln GHSA-282v-666c-3fvg -r <(poetry...
c97f7d6aff15cc0f6d67cbcb61e434c3e5e43c1c
Sylvain Lesage
sylvain.lesage@huggingface.co
2023-06-08T20:39:11
feat: 🎸 remove limit on number of started jobs per namespace (#1335)
diff --git a/chart/env/dev.yaml b/chart/env/dev.yaml index 9176462d..b66d3f88 100644 --- a/chart/env/dev.yaml +++ b/chart/env/dev.yaml @@ -204 +203,0 @@ workers: - maxJobsPerNamespace: 1 @@ -219 +217,0 @@ workers: - maxJobsPerNamespace: 1 diff --git a/chart/env/prod.yaml b/chart/env/prod.yaml index f0553e32..1bf2...
486f816d2262c257a8a367c41a1bef2eef5e7518
Sylvain Lesage
sylvain.lesage@huggingface.co
2023-06-08T20:04:57
feat: 🎸 remove the four last blocked datasets (#1334)
diff --git a/chart/env/prod.yaml b/chart/env/prod.yaml index 2e8695aa..f0553e32 100644 --- a/chart/env/prod.yaml +++ b/chart/env/prod.yaml @@ -91 +91 @@ parquetAndInfo: - blockedDatasets: "sil-ai/bloom-lm,sil-ai/bloom-speech,sil-ai/bloom-captioning,sil-ai/bloom-vist,matallanas/linustechtips-transcript-audio-wav,KnutJa...
221e3b5a05249afc03528720f54eb4558d1afda8
Albert Villanova del Moral
8515462+albertvillanova@users.noreply.github.com
2023-06-08T15:28:54
Generate random cache subdirectory for dataset job runner (#1332)
diff --git a/services/worker/src/worker/job_runners/_datasets_based_job_runner.py b/services/worker/src/worker/job_runners/_datasets_based_job_runner.py index 00ded4cb..310b4bde 100644 --- a/services/worker/src/worker/job_runners/_datasets_based_job_runner.py +++ b/services/worker/src/worker/job_runners/_datasets_based...
8537bdf33ecf3ca1e926bcbb71bb7fd38dff975a
Sylvain Lesage
sylvain.lesage@huggingface.co
2023-06-08T14:38:33
feat: 🎸 reduce resources (#1331)
diff --git a/chart/env/prod.yaml b/chart/env/prod.yaml index 08cf5a38..2e8695aa 100644 --- a/chart/env/prod.yaml +++ b/chart/env/prod.yaml @@ -264 +264 @@ workers: - replicas: 80 + replicas: 20
3d38ed7c79b480e4f5c755b6fa19f66dc213ca53
Sylvain Lesage
sylvain.lesage@huggingface.co
2023-06-08T12:49:04
feat: 🎸 disable the limit per namespace (#1328)
diff --git a/chart/env/prod.yaml b/chart/env/prod.yaml index 09ee8922..08cf5a38 100644 --- a/chart/env/prod.yaml +++ b/chart/env/prod.yaml @@ -259 +259 @@ workers: - maxJobsPerNamespace: 20 + maxJobsPerNamespace: 1000 @@ -275 +275 @@ workers: - maxJobsPerNamespace: 2 + maxJobsPerNamespace: 1000
5d682a772642193d15444a3a7c72ce646ba8b835
Sylvain Lesage
sylvain.lesage@huggingface.co
2023-06-08T08:28:03
feat: 🎸 block 4 datasets for sil-ai (#1327)
diff --git a/chart/env/prod.yaml b/chart/env/prod.yaml index 61bd94ed..09ee8922 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/...
0eb17fc6ab7232bb99efc7326622d67ad68c365b
Sylvain Lesage
sylvain.lesage@huggingface.co
2023-06-07T20:04:24
feat: 🎸 reduce the number of workers (#1324)
diff --git a/chart/env/prod.yaml b/chart/env/prod.yaml index b7971ae8..61bd94ed 100644 --- a/chart/env/prod.yaml +++ b/chart/env/prod.yaml @@ -259 +259 @@ workers: - maxJobsPerNamespace: 5 + maxJobsPerNamespace: 20 @@ -264 +264 @@ workers: - replicas: 200 + replicas: 80 @@ -280 +280 @@ workers: - replica...
f6f2ead384234d9c230741175133ff3a54b37fc4
Albert Villanova del Moral
8515462+albertvillanova@users.noreply.github.com
2023-06-07T15:26:55
Fix missing word and typo in parquet_process docs (#1316)
diff --git a/docs/source/parquet_process.mdx b/docs/source/parquet_process.mdx index 829465e4..40798731 100644 --- a/docs/source/parquet_process.mdx +++ b/docs/source/parquet_process.mdx @@ -235 +235 @@ con.all(`SELECT horoscope, count(*), AVG(LENGTH(text)) AS avg_blog_length FROM r -[DuckDB-Wasm](https://duckdb.org/do...
98f28fd810ce8876bf0789cbabf185ed07e215bd
Quentin Lhoest
42851186+lhoestq@users.noreply.github.com
2023-06-07T14:10:24
fix refresh in admin ui (#1320)
diff --git a/front/admin_ui/app.py b/front/admin_ui/app.py index cb2f594a..770ff8f3 100644 --- a/front/admin_ui/app.py +++ b/front/admin_ui/app.py @@ -276 +276 @@ The cache is outdated or in an incoherent state. Here is the plan to backfill th - response = requests.post(f"{DSS_ENDPOINT}/admin/force-refresh{r...
e2895b2d4a9c17fbf0d34aa90b7b4ee268045918
Sylvain Lesage
sylvain.lesage@huggingface.co
2023-06-07T11:38:39
feat: 🎸 increase the resources even more (#1319)
diff --git a/chart/env/prod.yaml b/chart/env/prod.yaml index dc915618..b7971ae8 100644 --- a/chart/env/prod.yaml +++ b/chart/env/prod.yaml @@ -264 +264 @@ workers: - replicas: 160 + replicas: 200 @@ -280 +280 @@ workers: - replicas: 4 + replicas: 10
34667a0aa47a2b69b5cde8d61a9ba027bc45e6ed
Sylvain Lesage
sylvain.lesage@huggingface.co
2023-06-07T09:53:46
feat: 🎸 increase resources again (#1318)
diff --git a/chart/env/prod.yaml b/chart/env/prod.yaml index 5d8ad135..dc915618 100644 --- a/chart/env/prod.yaml +++ b/chart/env/prod.yaml @@ -264 +264 @@ workers: - replicas: 80 + replicas: 160 @@ -280 +280 @@ workers: - replicas: 20 + replicas: 4
e5468aae56da30e34d455645e4754f0084980203
Albert Villanova del Moral
8515462+albertvillanova@users.noreply.github.com
2023-06-07T08:42:37
Complete raise if dataset requires manual download (#1315)
diff --git a/services/worker/src/worker/job_runners/config/split_names_from_streaming.py b/services/worker/src/worker/job_runners/config/split_names_from_streaming.py index 0fc441c2..8208dece 100644 --- a/services/worker/src/worker/job_runners/config/split_names_from_streaming.py +++ b/services/worker/src/worker/job_ru...
580787b62e7766502030ffca11f1b551600b9d4a
Sylvain Lesage
sylvain.lesage@huggingface.co
2023-06-07T07:47:45
feat: 🎸 increase the resources again to fflush the queue (#1317)
diff --git a/chart/env/prod.yaml b/chart/env/prod.yaml index 6295b428..5d8ad135 100644 --- a/chart/env/prod.yaml +++ b/chart/env/prod.yaml @@ -264 +264 @@ workers: - replicas: 40 + replicas: 80 @@ -280 +280 @@ workers: - replicas: 4 + replicas: 20
db81fbcfd31706365bef2b0685934e88f33dac1d
Sylvain Lesage
sylvain.lesage@huggingface.co
2023-06-06T18:28:55
docs: ✏️ fix size of the shards (#1313)
diff --git a/docs/source/parquet.mdx b/docs/source/parquet.mdx index 503a2bb3..a789265e 100644 --- a/docs/source/parquet.mdx +++ b/docs/source/parquet.mdx @@ -116 +116 @@ The endpoint also gives the filename and size of each file: -Big datasets are partitioned into Parquet files (shards) of about 1GB each. The filename...
2a3b76cdadce4bddf83e1a325db454661f425980
Steven Liu
59462357+stevhliu@users.noreply.github.com
2023-06-06T15:32:38
add note about requirements (#1312)
diff --git a/docs/source/parquet.mdx b/docs/source/parquet.mdx index a70712fb..503a2bb3 100644 --- a/docs/source/parquet.mdx +++ b/docs/source/parquet.mdx @@ -4,0 +5,6 @@ Datasets can be published in any format (CSV, JSONL, directories of images, etc. +<Tip> + +In order for Datasets Server to generate a Parquet version...
d3ff15c8c2c89f7a7b3b74f80e93866f898666ea
Albert Villanova del Moral
8515462+albertvillanova@users.noreply.github.com
2023-06-06T15:22:56
Raise if dataset requires manual download (#1309)
diff --git a/libs/libcommon/src/libcommon/exceptions.py b/libs/libcommon/src/libcommon/exceptions.py index 10a8482d..8ae12363 100644 --- a/libs/libcommon/src/libcommon/exceptions.py +++ b/libs/libcommon/src/libcommon/exceptions.py @@ -78,0 +79 @@ CacheableErrorCode = Literal[ + "DatasetManualDownloadError", @@ -160,...
85ff691caf45a314c289cb4c8aa0d212e66c6d0f
Andrea Francis Soria Jimenez
andrea@huggingface.co
2023-06-06T15:07:52
Fix parallel job runner (#1311)
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 c8685b7a..0d6862b0 100644 --- a/services/worker/src/worker/job_runners/split/first_rows_from_parquet.py +++ b/services/worker/src/worker/job_runners/split/...
2556b31b9a88b2c378dd18a825bb81259e87df2b
Sylvain Lesage
sylvain.lesage@huggingface.co
2023-06-06T14:47:30
feat: 🎸 increasing the number of pods to process the queue (#1310)
diff --git a/chart/env/prod.yaml b/chart/env/prod.yaml index 02cbe96d..6295b428 100644 --- a/chart/env/prod.yaml +++ b/chart/env/prod.yaml @@ -264 +264 @@ workers: - replicas: 20 + replicas: 40
adbdcd6710ffed4e2eb2e4cd905b5e0dff530a15
Sylvain Lesage
sylvain.lesage@huggingface.co
2023-06-06T09:17:45
chore: 🤖 fix the name of the dev secret (#1306)
diff --git a/chart/env/dev.yaml b/chart/env/dev.yaml index 49ab898b..9176462d 100644 --- a/chart/env/dev.yaml +++ b/chart/env/dev.yaml @@ -62 +62 @@ secrets: - secretName: "datasets-server-parquet-converter-hf-token" + secretName: "parquet-converter-hf-token"
de2bbf3fbb0faebecbd7ce11743de4bdca577d3f
Sylvain Lesage
sylvain.lesage@huggingface.co
2023-06-06T09:05:58
feat: 🎸 use app token for commits to the Hub (#1298)
d718681e1993a33334093998ce6ee5e0225da755
Steven Liu
59462357+stevhliu@users.noreply.github.com
2023-06-06T08:13:00
remove extra section (#1305)
diff --git a/docs/source/quick_start.mdx b/docs/source/quick_start.mdx index c0d51c40..d784bb20 100644 --- a/docs/source/quick_start.mdx +++ b/docs/source/quick_start.mdx @@ -297 +297 @@ You can download slices of 100 rows maximum at a time. -## Access parquet files +## Access Parquet files @@ -299,3 +299 @@ You can do...
a32ed5be9f17bed565621fa331246514e06a8782
Sylvain Lesage
sylvain.lesage@huggingface.co
2023-06-05T11:21:25
chore: 🤖 remove obsolete issue template (#1302)
diff --git a/.github/ISSUE_TEMPLATE/hub-dataset-viewer.yml b/.github/ISSUE_TEMPLATE/hub-dataset-viewer.yml deleted file mode 100644 index 31df50c6..00000000 --- a/.github/ISSUE_TEMPLATE/hub-dataset-viewer.yml +++ /dev/null @@ -1,17 +0,0 @@ -name: Dataset Viewer Issue -description: Issue related to the Dataset Viewer on...
516061adbbad6b98ac76b3d563c8b1823c007dae
Albert Villanova del Moral
8515462+albertvillanova@users.noreply.github.com
2023-06-02T11:45:25
Update huggingface-hub dependency to 0.15.1 version (#1294)
diff --git a/e2e/poetry.lock b/e2e/poetry.lock index 7bf10f15..1f925c6a 100644 --- a/e2e/poetry.lock +++ b/e2e/poetry.lock @@ -459 +459 @@ name = "huggingface-hub" -version = "0.14.1" +version = "0.15.1" @@ -465,2 +465,2 @@ files = [ - {file = "huggingface_hub-0.14.1-py3-none-any.whl", hash = "sha256:9fc619170d800ff...
b17c73b2544a14478f7770d818263ab3844a90d9
Sylvain Lesage
sylvain.lesage@huggingface.co
2023-06-02T09:10:48
fix: 🐛 dataset viewer is valid if any of first-rows work (#1293)
diff --git a/libs/libcommon/src/libcommon/config.py b/libs/libcommon/src/libcommon/config.py index 716a82ce..5e92be48 100644 --- a/libs/libcommon/src/libcommon/config.py +++ b/libs/libcommon/src/libcommon/config.py @@ -242,0 +243 @@ class ProcessingGraphConfig: + "required_by_dataset_viewer": True, diff ...
bdfe97eb64929eaf20979169532aac7312464e43
Sylvain Lesage
sylvain.lesage@huggingface.co
2023-06-01T14:02:33
feat: 🎸 remove temporal workers (#1289)
diff --git a/chart/env/prod.yaml b/chart/env/prod.yaml index f048b4fc..50f6687c 100644 --- a/chart/env/prod.yaml +++ b/chart/env/prod.yaml @@ -289,16 +288,0 @@ workers: - - - deployName: "temporal-opt-in-out" - maxJobsPerNamespace: 5 - workerJobTypesBlocked: "" - workerJobTypesOnly: "split-opt-in-out-urls-...
c3a1f60df1c2f142ccebe27e562577ca9a2da97c
Sylvain Lesage
sylvain.lesage@huggingface.co
2023-06-01T12:44:38
feat: 🎸 create orchestrator (#1260)
diff --git a/front/admin_ui/app.py b/front/admin_ui/app.py index 586897b8..cb2f594a 100644 --- a/front/admin_ui/app.py +++ b/front/admin_ui/app.py @@ -214 +214 @@ with gr.Blocks() as demo: - response = requests.get(f"{DSS_ENDPOINT}/admin/dataset-state?dataset={dataset}", headers=headers, timeout=60) + res...
41db46edc918f09e18c8ad2cedc3bc407812b3f1
Albert Villanova del Moral
8515462+albertvillanova@users.noreply.github.com
2023-06-01T12:23:41
Remove torchaudio dependency (#1282)
diff --git a/.github/workflows/_quality-python.yml b/.github/workflows/_quality-python.yml index a4747c79..9182f99b 100644 --- a/.github/workflows/_quality-python.yml +++ b/.github/workflows/_quality-python.yml @@ -52 +52 @@ jobs: - run: bash -c "poetry run pip-audit --ignore-vuln GHSA-282v-666c-3fvg -r <(poetry...
fdb70aae4ffb9fc9fa6aa05f9fe534ff90d34cab
Albert Villanova del Moral
8515462+albertvillanova@users.noreply.github.com
2023-06-01T12:05:41
Move pytest-asyncio dependency from main to dev (#1278)
diff --git a/services/worker/poetry.lock b/services/worker/poetry.lock index 3e747ec2..b2ba6eb7 100644 --- a/services/worker/poetry.lock +++ b/services/worker/poetry.lock @@ -1027 +1027 @@ description = "Backport of PEP 654 (exception groups)" -category = "main" +category = "dev" @@ -1596 +1596 @@ description = "brain-...
bf8f5b834e058fb189bbd30e0a53a840852b9c08
Albert Villanova del Moral
8515462+albertvillanova@users.noreply.github.com
2023-06-01T12:01:48
Fix link to first_rows docs (#1276)
diff --git a/docs/source/quick_start.mdx b/docs/source/quick_start.mdx index fe1eda0f..c0d51c40 100644 --- a/docs/source/quick_start.mdx +++ b/docs/source/quick_start.mdx @@ -18 +18 @@ Each feature is served through an endpoint summarized in the table below: -| [/first-rows](./first-rows) | GET | Get the first rows ...
f88afb270237ff5dd32462a461b42be5547fef9e
Quentin Lhoest
42851186+lhoestq@users.noreply.github.com
2023-05-31T14:03:11
minor doc fixes (#1275)
diff --git a/docs/source/rows.mdx b/docs/source/rows.mdx index dbf45b8b..2161d6a9 100644 --- a/docs/source/rows.mdx +++ b/docs/source/rows.mdx @@ -47 +47 @@ async function query(data) { - "https://datasets-server.huggingface.co/first-rows?dataset=duorc&config=SelfRC&split=train&offset=150&length=10", + "h...
6dc8f719e36863c38e65774deadd9977ea17a3b3
Quentin Lhoest
42851186+lhoestq@users.noreply.github.com
2023-05-31T13:32:22
update openapi (#1267)
diff --git a/chart/static-files/openapi.json b/chart/static-files/openapi.json index e21190e1..296ba170 100644 --- a/chart/static-files/openapi.json +++ b/chart/static-files/openapi.json @@ -224,0 +225,85 @@ + "X-Error-Code-rows-401": { + "description": "A string that identifies the underlying error for 401...
f19eadfba6158f2338bea68b335da399d39b465b
Quentin Lhoest
42851186+lhoestq@users.noreply.github.com
2023-05-31T13:32:09
Add /rows docs (#1266)
diff --git a/docs/source/_toctree.yml b/docs/source/_toctree.yml index 0da4770d..dcd3ef45 100644 --- a/docs/source/_toctree.yml +++ b/docs/source/_toctree.yml @@ -14,0 +15,2 @@ + - local: rows + title: Download slices of rows diff --git a/docs/source/first_rows.mdx b/docs/source/first_rows.mdx index 96c8107b..0d3a9...
7330683b8465e2a1375d8a00feed376431cfc304
Julien Chaumond
julien@huggingface.co
2023-05-31T12:26:53
doc typo (#1268)
diff --git a/docs/source/_toctree.yml b/docs/source/_toctree.yml index cf5709b9..0da4770d 100644 --- a/docs/source/_toctree.yml +++ b/docs/source/_toctree.yml @@ -16 +16 @@ - title: List Parquet file + title: List Parquet files
d5013af7590e69231cd0e89cc987d0f473f29377
Albert Villanova del Moral
8515462+albertvillanova@users.noreply.github.com
2023-05-30T12:49:42
Fix missing slash in admin endpoints (#1264)
diff --git a/services/admin/src/admin/app.py b/services/admin/src/admin/app.py index 843a51c3..9a6be7cf 100644 --- a/services/admin/src/admin/app.py +++ b/services/admin/src/admin/app.py @@ -122 +122 @@ def create_app() -> Starlette: - f"/force-refresh{job_type}", + f"/force-refres...
0f61d0bed51a662c79ca1752a6fb0f7fe8d2ffb2
Quentin Lhoest
42851186+lhoestq@users.noreply.github.com
2023-05-26T18:01:20
Update doc index (#1258)
diff --git a/docs/source/index.mdx b/docs/source/index.mdx index 241f2e86..6168363a 100644 --- a/docs/source/index.mdx +++ b/docs/source/index.mdx @@ -1 +1 @@ -# Datasets Server +# 🤗 Datasets Server @@ -3 +3,3 @@ -Datasets Server is a lightweight web API for visualizing and exploring all types of datasets - computer v...
24e8344b5beab754822dd3f5eee89512ce2e3767
Andrea Francis Soria Jimenez
andrea@huggingface.co
2023-05-26T12:28:44
Separate opt in out urls scan (#1256)
diff --git a/libs/libcommon/src/libcommon/config.py b/libs/libcommon/src/libcommon/config.py index 6420401e..716a82ce 100644 --- a/libs/libcommon/src/libcommon/config.py +++ b/libs/libcommon/src/libcommon/config.py @@ -28,0 +29 @@ from libcommon.constants import ( + PROCESSING_STEP_SPLIT_IMAGE_URL_COLUMNS_VERSION, @...
cd96cdfd17f1afabcb393b84358cda9edbfc98ae
Polina Kazakova
polina@huggingface.co
2023-05-26T09:19:41
Rename `/config-names` processing step (#1246)
diff --git a/chart/env/dev.yaml b/chart/env/dev.yaml index 757596b4..0be85b2f 100644 --- a/chart/env/dev.yaml +++ b/chart/env/dev.yaml @@ -220 +220 @@ workers: - workerJobTypesBlocked: "/config-names,config-split-names-from-streaming,config-parquet-and-info,split-first-rows-from-parquet,split-first-rows-from-streami...
373c58e459dc79351c799610fdf929a59bbc4d7d
Sylvain Lesage
sylvain.lesage@huggingface.co
2023-05-25T12:29:02
Revert "fix: 🐛 finish the job before backfilling, to get the status (#1252)" (#1253)
diff --git a/services/worker/src/worker/job_manager.py b/services/worker/src/worker/job_manager.py index 74a9ed3a..25af63bd 100644 --- a/services/worker/src/worker/job_manager.py +++ b/services/worker/src/worker/job_manager.py @@ -146 +146 @@ class JobManager: - # else, update the cache, stop the job and backfil...
1cbd9ede2ea7de7f93662c0e802cb77d378eac3c
Sylvain Lesage
sylvain.lesage@huggingface.co
2023-05-25T11:53:46
fix: 🐛 finish the job before backfilling, to get the status (#1252)
diff --git a/services/worker/src/worker/job_manager.py b/services/worker/src/worker/job_manager.py index 25af63bd..74a9ed3a 100644 --- a/services/worker/src/worker/job_manager.py +++ b/services/worker/src/worker/job_manager.py @@ -146 +146 @@ class JobManager: - # else, update the cache and backfill the dataset ...
6412a9e5c32180356abd3506a7b131ec44f5c857
Sylvain Lesage
sylvain.lesage@huggingface.co
2023-05-25T09:16:41
fix: 🐛 delete pending jobs for other revisions (#1250)
diff --git a/libs/libcommon/src/libcommon/queue.py b/libs/libcommon/src/libcommon/queue.py index 43f03864..eee4cc0d 100644 --- a/libs/libcommon/src/libcommon/queue.py +++ b/libs/libcommon/src/libcommon/queue.py @@ -722 +722 @@ class Queue: - def get_pending_jobs_df(self, dataset: str, revision: str) -> pd.DataFrame:...
6d40b406c958f9c888fdc92fc9143b39bfe02a64
Sylvain Lesage
sylvain.lesage@huggingface.co
2023-05-24T22:09:41
feat: 🎸 increase number of parallel jobs for the same namespace (#1249)
diff --git a/chart/env/prod.yaml b/chart/env/prod.yaml index d4fa49f2..c3101cf7 100644 --- a/chart/env/prod.yaml +++ b/chart/env/prod.yaml @@ -259 +259 @@ workers: - maxJobsPerNamespace: 1 + maxJobsPerNamespace: 5 @@ -275 +275 @@ workers: - maxJobsPerNamespace: 1 + maxJobsPerNamespace: 2 @@ -291 +291 @@ wor...
14213ce53b0ba5700f88c1708427143aecbef6d5
Sylvain Lesage
sylvain.lesage@huggingface.co
2023-05-24T21:47:17
feat: 🎸 create all jobs in backfill in one operation (#1247)
diff --git a/libs/libcommon/src/libcommon/queue.py b/libs/libcommon/src/libcommon/queue.py index d8ea7980..43f03864 100644 --- a/libs/libcommon/src/libcommon/queue.py +++ b/libs/libcommon/src/libcommon/queue.py @@ -305,0 +306,37 @@ class Queue: + def create_jobs(self, job_infos: List[JobInfo]) -> int: + """Cr...
4b306238c662249c4fd703c136226b638f8fc9ec
Sylvain Lesage
sylvain.lesage@huggingface.co
2023-05-24T15:19:55
Reduce requests to mongo (deleteMany) (#1245)
diff --git a/libs/libcommon/src/libcommon/queue.py b/libs/libcommon/src/libcommon/queue.py index 8f94efdc..d8ea7980 100644 --- a/libs/libcommon/src/libcommon/queue.py +++ b/libs/libcommon/src/libcommon/queue.py @@ -194,0 +195,2 @@ class Job(Document): + "status": self.status.value, + "crea...
143b8bae5824fb0bb9490e577a71323547baf539
Andrea Francis Soria Jimenez
andrea@huggingface.co
2023-05-24T13:09:54
Adding temporal hardcoded data for opt in/out: laion/laion2B-en and kakaobrain/coyo-700m (#1241)
diff --git a/services/api/src/api/routes/endpoint.py b/services/api/src/api/routes/endpoint.py index 4cf3ce6b..6aa37dd3 100644 --- a/services/api/src/api/routes/endpoint.py +++ b/services/api/src/api/routes/endpoint.py @@ -7 +7 @@ from http import HTTPStatus -from typing import List, Mapping, Optional, Tuple +from typi...
e19462b2cf1be0849ca7a5233500936e1cbf59c2
Quentin Lhoest
42851186+lhoestq@users.noreply.github.com
2023-05-24T10:44:09
Add numba cache to api (#1239)
diff --git a/chart/templates/_envNumba.tpl b/chart/templates/_envNumba.tpl new file mode 100644 index 00000000..16cecee3 --- /dev/null +++ b/chart/templates/_envNumba.tpl @@ -0,0 +1,11 @@ +# SPDX-License-Identifier: Apache-2.0 +# Copyright 2022 The HuggingFace Authors. + +{{- define "envNumba" -}} +# the size should re...
e35f6050aead57b67ee48b0610e6ac866f4454f7
Sylvain Lesage
sylvain.lesage@huggingface.co
2023-05-24T08:02:30
fix: 🐛 fix order of the migrations (#1242)
diff --git a/jobs/mongodb_migration/src/mongodb_migration/collector.py b/jobs/mongodb_migration/src/mongodb_migration/collector.py index 4b0d9815..9ca1f1d2 100644 --- a/jobs/mongodb_migration/src/mongodb_migration/collector.py +++ b/jobs/mongodb_migration/src/mongodb_migration/collector.py @@ -186,0 +187,7 @@ class Mig...
51448ba2266ccc5e95d77ec594291485af79ca26
Polina Kazakova
polina@huggingface.co
2023-05-23T18:36:48
Rename /split-names-from-dataset-info (#1226)
diff --git a/jobs/mongodb_migration/src/mongodb_migration/collector.py b/jobs/mongodb_migration/src/mongodb_migration/collector.py index 7efef58f..4b0d9815 100644 --- a/jobs/mongodb_migration/src/mongodb_migration/collector.py +++ b/jobs/mongodb_migration/src/mongodb_migration/collector.py @@ -73 +72,0 @@ class Migrati...
1d658e0f774a32cd67f8c22625c52f834716f0fb
Sylvain Lesage
sylvain.lesage@huggingface.co
2023-05-23T18:23:59
feat: 🎸 add an index (#1240)
diff --git a/libs/libcommon/src/libcommon/queue.py b/libs/libcommon/src/libcommon/queue.py index 91c87e75..8f94efdc 100644 --- a/libs/libcommon/src/libcommon/queue.py +++ b/libs/libcommon/src/libcommon/queue.py @@ -120,0 +121 @@ class Job(Document): + ("dataset", "revision", "status"),
50ba1dc9d8be2c5e18ef4acda81cebdd5a4ced69
Quentin Lhoest
42851186+lhoestq@users.noreply.github.com
2023-05-23T15:36:25
use parquet metadata for all datasets (#1237)
diff --git a/services/api/src/api/routes/rows.py b/services/api/src/api/routes/rows.py index 34ffcc6e..7fca6036 100644 --- a/services/api/src/api/routes/rows.py +++ b/services/api/src/api/routes/rows.py @@ -133,20 +133,7 @@ def get_hf_parquet_uris(paths: List[str], dataset: str) -> List[str]: -PARQUET_METADATA_DATASETS...
69ca3c4bae5d581dde1e1d40c74b20e9d5e129bb
Sylvain Lesage
sylvain.lesage@huggingface.co
2023-05-23T15:28:13
feat: 🎸 reduce the duration of the TTL index on finished_at (#1238)
diff --git a/jobs/mongodb_migration/src/mongodb_migration/collector.py b/jobs/mongodb_migration/src/mongodb_migration/collector.py index daaf6917..7efef58f 100644 --- a/jobs/mongodb_migration/src/mongodb_migration/collector.py +++ b/jobs/mongodb_migration/src/mongodb_migration/collector.py @@ -8,0 +9 @@ from mongodb_mi...
6db35173fcab33ce3529e87ec81bb1cd5f499df0
Sylvain Lesage
sylvain.lesage@huggingface.co
2023-05-23T14:13:39
Instrument backfill (#1235)
diff --git a/e2e/tests/test_31_admin_metrics.py b/e2e/tests/test_31_admin_metrics.py index 65a3cd6c..81f7e40e 100644 --- a/e2e/tests/test_31_admin_metrics.py +++ b/e2e/tests/test_31_admin_metrics.py @@ -12 +12 @@ def has_metric(name: str, labels: Mapping[str, str], metric_names: set[str]) -> - label_str = ",".join([...
f292079e39057060ffef68b475b33fb90ba98de3
Quentin Lhoest
42851186+lhoestq@users.noreply.github.com
2023-05-23T13:46:48
Use parquet metadata for more datasets (#1236)
diff --git a/services/api/src/api/routes/rows.py b/services/api/src/api/routes/rows.py index ac4fd438..08ff0d09 100644 --- a/services/api/src/api/routes/rows.py +++ b/services/api/src/api/routes/rows.py @@ -134,4 +134,7 @@ PARQUET_METADATA_DATASETS_ALLOW_LIST: Union[Literal["all"], List[str]] = [ - "cifar100", - ...
818d2887ffebe5d1ca42dceb7597a2a73b9e342a
Sylvain Lesage
sylvain.lesage@huggingface.co
2023-05-23T09:17:35
Reduce number of concurrent jobs in namespace (#1233)
diff --git a/chart/env/prod.yaml b/chart/env/prod.yaml index 3e98bc82..d4fa49f2 100644 --- a/chart/env/prod.yaml +++ b/chart/env/prod.yaml @@ -259 +259 @@ workers: - maxJobsPerNamespace: 10 + maxJobsPerNamespace: 1 @@ -275 +275 @@ workers: - maxJobsPerNamespace: 2 + maxJobsPerNamespace: 1 @@ -291 +291 @@ wo...
c27ffbeff9b308b3f161846bbf022d60bbcb2a7c
Sylvain Lesage
sylvain.lesage@huggingface.co
2023-05-23T09:09:15
feat: 🎸 update dependencies to fix vulnerability (#1234)
diff --git a/front/admin_ui/poetry.lock b/front/admin_ui/poetry.lock index b2a7f3cb..42e4a2f4 100644 --- a/front/admin_ui/poetry.lock +++ b/front/admin_ui/poetry.lock @@ -724 +724 @@ name = "fastapi" -version = "0.92.0" +version = "0.95.2" @@ -730,2 +730,2 @@ files = [ - {file = "fastapi-0.92.0-py3-none-any.whl", ha...
c02f595012991d54d4c3d1c1aa4a37c0239d717d
Sylvain Lesage
sylvain.lesage@huggingface.co
2023-05-23T09:00:35
feat: 🎸 write cache + backfill only if job finished as expected (#1227)
diff --git a/e2e/poetry.lock b/e2e/poetry.lock index 7967ff21..7bf10f15 100644 --- a/e2e/poetry.lock +++ b/e2e/poetry.lock @@ -1192 +1192 @@ name = "requests" -version = "2.28.2" +version = "2.31.0" @@ -1196 +1196 @@ optional = false -python-versions = ">=3.7, <4" +python-versions = ">=3.7" @@ -1198,2 +1198,2 @@ files ...
0a15eeb4d028605c0dc9efa0623bf4fae85ba87a
Sylvain Lesage
sylvain.lesage@huggingface.co
2023-05-22T18:36:09
refactor: 💡 do only one request to get jobs in DatasetState (#1223)
diff --git a/libs/libcommon/poetry.lock b/libs/libcommon/poetry.lock index 72c0862c..9c4ad56c 100644 --- a/libs/libcommon/poetry.lock +++ b/libs/libcommon/poetry.lock @@ -1593 +1593 @@ name = "pandas" -version = "1.5.3" +version = "2.0.1" @@ -1599,27 +1599,25 @@ files = [ - {file = "pandas-1.5.3-cp310-cp310-macosx_1...
22397764ed2e9d61059c7597b697091536af2ce4
Quentin Lhoest
42851186+lhoestq@users.noreply.github.com
2023-05-22T16:38:56
add parquet metadata to api chart (#1225)
diff --git a/chart/templates/_volumeMountParquetMetadata.tpl b/chart/templates/_volumeMountParquetMetadata.tpl index 174f0336..9c3fc40e 100644 --- a/chart/templates/_volumeMountParquetMetadata.tpl +++ b/chart/templates/_volumeMountParquetMetadata.tpl @@ -3,0 +4,8 @@ +{{- define "volumeMountParquetMetadataRO" -}} +- mou...
2a8f6ac7368e9ef39ac5cfe124357e40989d958d
Quentin Lhoest
42851186+lhoestq@users.noreply.github.com
2023-05-22T16:24:38
Use parquet metadata in /rows (#1214)
diff --git a/libs/libcommon/src/libcommon/config.py b/libs/libcommon/src/libcommon/config.py index bf2f28b8..c8c0d921 100644 --- a/libs/libcommon/src/libcommon/config.py +++ b/libs/libcommon/src/libcommon/config.py @@ -236,0 +237 @@ class ProcessingGraphConfig: + "provides_config_parquet_metadata": True,...
f968fe8785c7c32fa6f20f22b3c883ab73ea5450
Sylvain Lesage
sylvain.lesage@huggingface.co
2023-05-22T11:20:36
fix: 🐛 backfill the dataset after finishing the job (#1222)
diff --git a/services/worker/src/worker/job_manager.py b/services/worker/src/worker/job_manager.py index f85ff7f1..48c04447 100644 --- a/services/worker/src/worker/job_manager.py +++ b/services/worker/src/worker/job_manager.py @@ -117 +116,0 @@ class JobManager: - self.backfill() diff --git a/services/worker/src...
bb0a5da1e9d3a1463a44bafee267dd9644ee0cfb
Sylvain Lesage
sylvain.lesage@huggingface.co
2023-05-22T10:22:31
fix: 🐛 if a step depend on parallel steps, both must be used (#1221)
diff --git a/libs/libcommon/src/libcommon/config.py b/libs/libcommon/src/libcommon/config.py index 2bb8d2a6..bf2f28b8 100644 --- a/libs/libcommon/src/libcommon/config.py +++ b/libs/libcommon/src/libcommon/config.py @@ -294 +294 @@ class ProcessingGraphConfig: - "triggered_by": ["split-first-rows-from-str...
141182e1fe7ea53764ae693170ea4edebe50af79
Sylvain Lesage
sylvain.lesage@huggingface.co
2023-05-22T08:46:15
feat: 🎸 tweak queue parameters to flush quick jobs (#1220)
diff --git a/chart/env/prod.yaml b/chart/env/prod.yaml index 6acf4b33..3e98bc82 100644 --- a/chart/env/prod.yaml +++ b/chart/env/prod.yaml @@ -259 +259 @@ workers: - maxJobsPerNamespace: 5 + maxJobsPerNamespace: 10 @@ -291 +291 @@ workers: - maxJobsPerNamespace: 2 + maxJobsPerNamespace: 10
c03a68e4fb8d41ab1360f46d747b1e81cb39ff11
Sylvain Lesage
sylvain.lesage@huggingface.co
2023-05-22T07:48:52
feat: 🎸 delete metrics for /split-names-from-streaming (#1217)
diff --git a/jobs/mongodb_migration/src/mongodb_migration/collector.py b/jobs/mongodb_migration/src/mongodb_migration/collector.py index 8c4aaacb..daaf6917 100644 --- a/jobs/mongodb_migration/src/mongodb_migration/collector.py +++ b/jobs/mongodb_migration/src/mongodb_migration/collector.py @@ -211,0 +212,6 @@ class Mig...
04d40a630b39e08570a971bad59a5d9b33d54ea3
Sylvain Lesage
sylvain.lesage@huggingface.co
2023-05-19T16:06:16
feat: 🎸 add logs to the migrations (#1211)
diff --git a/jobs/mongodb_migration/src/mongodb_migration/deletion_migrations.py b/jobs/mongodb_migration/src/mongodb_migration/deletion_migrations.py index 90dab0e3..45cfa229 100644 --- a/jobs/mongodb_migration/src/mongodb_migration/deletion_migrations.py +++ b/jobs/mongodb_migration/src/mongodb_migration/deletion_mig...
2940ff9ddce17f9689ce0fe90625dbe990260dba
Sylvain Lesage
sylvain.lesage@huggingface.co
2023-05-19T15:56:00
fix: 🐛 missing refactoring in the last merge (#1210)
diff --git a/services/worker/src/worker/executor.py b/services/worker/src/worker/executor.py index 34d2b59e..125df7e1 100644 --- a/services/worker/src/worker/executor.py +++ b/services/worker/src/worker/executor.py @@ -14 +14 @@ from libcommon.queue import Queue -from libcommon.utils import Status, get_datetime +from l...
f26e48886fe7b96d7128ecbf21f9ba3f70fe1302
Sylvain Lesage
sylvain.lesage@huggingface.co
2023-05-19T15:31:10
refactor: 💡 remove two methods (#1206)
diff --git a/libs/libcommon/src/libcommon/queue.py b/libs/libcommon/src/libcommon/queue.py index 2f0a2e4b..e88e1890 100644 --- a/libs/libcommon/src/libcommon/queue.py +++ b/libs/libcommon/src/libcommon/queue.py @@ -676,30 +675,0 @@ class Queue: - def kill_zombies(self, zombies: List[JobInfo]) -> int: - """Kil...
02686eeba497c73e55be6bc6abf9169d1069fa42
Sylvain Lesage
sylvain.lesage@huggingface.co
2023-05-19T15:28:33
refactor: 💡 only pass is_success to finish_job (#1207)
diff --git a/libs/libcommon/src/libcommon/queue.py b/libs/libcommon/src/libcommon/queue.py index 479dec54..2f0a2e4b 100644 --- a/libs/libcommon/src/libcommon/queue.py +++ b/libs/libcommon/src/libcommon/queue.py @@ -11 +11 @@ from operator import itemgetter -from typing import Generic, List, Literal, Optional, Type, Typ...
c5c8cddc1492f1e5ae016110bc87c9dd5cc1b40e
Sylvain Lesage
sylvain.lesage@huggingface.co
2023-05-19T15:10:42
chore: 🤖 ignore a vulnerability for now (#1208)
diff --git a/.github/workflows/_quality-python.yml b/.github/workflows/_quality-python.yml index 495cfa74..a4747c79 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...
e8f3d1ce7231f52b6ec85126550eadf298e3c8d0
Sylvain Lesage
sylvain.lesage@huggingface.co
2023-05-19T14:32:35
fix: 🐛 the started jobinfo always contained priority=NORMAL (#1205)
diff --git a/libs/libcommon/src/libcommon/queue.py b/libs/libcommon/src/libcommon/queue.py index 74366da8..479dec54 100644 --- a/libs/libcommon/src/libcommon/queue.py +++ b/libs/libcommon/src/libcommon/queue.py @@ -360 +360 @@ class Queue: - .only("type", "dataset", "revision", "config", "split") + ...
3cb772444a8f297ff9ef5c7b0ed1f469055f04dd
Quentin Lhoest
42851186+lhoestq@users.noreply.github.com
2023-05-19T14:00:20
Cache parquet metadata to optimize /rows (#1190)
diff --git a/chart/templates/_envParquetMetadata.tpl b/chart/templates/_envParquetMetadata.tpl new file mode 100644 index 00000000..2e58eed7 --- /dev/null +++ b/chart/templates/_envParquetMetadata.tpl @@ -0,0 +1,7 @@ +# SPDX-License-Identifier: Apache-2.0 +# Copyright 2023 The HuggingFace Authors. + +{{- define "envPar...
0101cef7a9daa8aca646d7ae7db959cab4c990ec
Polina Kazakova
polina@huggingface.co
2023-05-19T12:35:30
Rename `/split-names-from-streaming` job runner (#1168)
diff --git a/chart/env/dev.yaml b/chart/env/dev.yaml index 67a25b69..757596b4 100644 --- a/chart/env/dev.yaml +++ b/chart/env/dev.yaml @@ -220 +220 @@ workers: - workerJobTypesBlocked: "/config-names,/split-names-from-streaming,config-parquet-and-info,split-first-rows-from-parquet,split-first-rows-from-streaming,spl...
3d4f76ec7cb6cc08d787c58b322253e0eebe1cf6
Quentin Lhoest
42851186+lhoestq@users.noreply.github.com
2023-05-19T11:43:30
Set datetime types in admin ui (#1197)
diff --git a/front/admin_ui/app.py b/front/admin_ui/app.py index 289b142e..586897b8 100644 --- a/front/admin_ui/app.py +++ b/front/admin_ui/app.py @@ -139,0 +140,6 @@ with gr.Blocks() as demo: + if "started_at" in pending_jobs_df.columns: + pending_jobs_df["started_at"] = pd.to_datetime(pendin...
4f8263c2979576c431164a562245931870c1a5e9
Andrea Francis Soria Jimenez
andrea@huggingface.co
2023-05-18T19:16:43
Dedicated worker for split-opt-in-out-urls-scan (#1201)
diff --git a/chart/env/prod.yaml b/chart/env/prod.yaml index c1cb87e2..29a92632 100644 --- a/chart/env/prod.yaml +++ b/chart/env/prod.yaml @@ -293 +293 @@ workers: - workerJobTypesOnly: "config-opt-in-out-urls-count,dataset-opt-in-out-urls-count" + workerJobTypesOnly: "split-opt-in-out-urls-scan"
5e63aa6b826dbf8f5888c473c498968041cf6612
Andrea Francis Soria Jimenez
andrea@huggingface.co
2023-05-18T18:57:10
Temporaly adding a dedicated worker (#1200)
diff --git a/chart/env/prod.yaml b/chart/env/prod.yaml index fc9bd4a2..c1cb87e2 100644 --- a/chart/env/prod.yaml +++ b/chart/env/prod.yaml @@ -288,0 +289,16 @@ workers: + - + deployName: "temporal-opt-in-out" + maxJobsPerNamespace: 2 + workerJobTypesBlocked: "" + workerJobTypesOnly: "config-opt-in-out-urls...
ef3e9cc153406998946bcc2d404d43713fc4486b
Quentin Lhoest
42851186+lhoestq@users.noreply.github.com
2023-05-18T13:43:49
Revert "feat: 🎸 ignore result of job runner if job has been canceled (#1188)" (#1196)
diff --git a/libs/libcommon/src/libcommon/queue.py b/libs/libcommon/src/libcommon/queue.py index e88e1890..74366da8 100644 --- a/libs/libcommon/src/libcommon/queue.py +++ b/libs/libcommon/src/libcommon/queue.py @@ -11 +11 @@ from operator import itemgetter -from typing import Generic, List, Optional, Type, TypedDict, T...
5d49c824a83eaaef0a507513124f6af1bc49ee18
Sylvain Lesage
sylvain.lesage@huggingface.co
2023-05-17T15:57:55
feat: 🎸 return X-Revision header when possible on endpoints (#1189)
diff --git a/e2e/tests/test_11_api.py b/e2e/tests/test_11_api.py index 2be6433b..d6abeef3 100644 --- a/e2e/tests/test_11_api.py +++ b/e2e/tests/test_11_api.py @@ -43,0 +44 @@ def test_auth_e2e( + check_x_revision=False, @@ -91,0 +93 @@ def test_endpoint( + check_x_revision=input_type != "all", @@ -112,0 +...
a85b08697399a06dc2a98539dd4b9679cf6da8be
Sylvain Lesage
sylvain.lesage@huggingface.co
2023-05-17T15:27:01
feat: 🎸 ignore result of job runner if job has been canceled (#1188)
diff --git a/libs/libcommon/src/libcommon/queue.py b/libs/libcommon/src/libcommon/queue.py index 74366da8..e88e1890 100644 --- a/libs/libcommon/src/libcommon/queue.py +++ b/libs/libcommon/src/libcommon/queue.py @@ -11 +11 @@ from operator import itemgetter -from typing import Generic, List, Literal, Optional, Type, Typ...
61ae402f67b5db07514a0d1e250a3050e337e026
Sylvain Lesage
sylvain.lesage@huggingface.co
2023-05-17T14:51:06
Set git revision at job creation (#1187)
diff --git a/jobs/cache_maintenance/src/cache_maintenance/backfill.py b/jobs/cache_maintenance/src/cache_maintenance/backfill.py index 09517cb7..1ca28161 100644 --- a/jobs/cache_maintenance/src/cache_maintenance/backfill.py +++ b/jobs/cache_maintenance/src/cache_maintenance/backfill.py @@ -37,0 +38,5 @@ def backfill_ca...
ca11ddf98116e13a6772b222bfcea252a3335f97
Sylvain Lesage
sylvain.lesage@huggingface.co
2023-05-17T13:25:40
Refactor errors (#1169)
diff --git a/libs/libcommon/src/libcommon/dataset.py b/libs/libcommon/src/libcommon/dataset.py index ce8ecbdc..fdb0b2d0 100644 --- a/libs/libcommon/src/libcommon/dataset.py +++ b/libs/libcommon/src/libcommon/dataset.py @@ -4,2 +4 @@ -from http import HTTPStatus -from typing import Literal, Optional +from typing import ...
4f40efaac450b8805c1be3d948a6265aab147f4e
Quentin Lhoest
42851186+lhoestq@users.noreply.github.com
2023-05-17T12:37:43
update starlette to 0.27.0 (#1191)
diff --git a/services/admin/poetry.lock b/services/admin/poetry.lock index d413939c..dbb71bd9 100644 --- a/services/admin/poetry.lock +++ b/services/admin/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....
6831360dfb72d06c72a28c08b2477d10044723ec
Andrea Francis Soria Jimenez
andrea@huggingface.co
2023-05-15T12:42:38
Adding full_scan field in opt-in-out cache (#1177)
diff --git a/libs/libcommon/src/libcommon/constants.py b/libs/libcommon/src/libcommon/constants.py index a5debef6..cbf63be2 100644 --- a/libs/libcommon/src/libcommon/constants.py +++ b/libs/libcommon/src/libcommon/constants.py @@ -21 +21 @@ PROCESSING_STEP_CONFIG_INFO_VERSION = 2 -PROCESSING_STEP_CONFIG_OPT_IN_OUT_URLS...
c0f1747c118179c6f0002c180d4c0248bb7f7e44
Sylvain Lesage
sylvain.lesage@huggingface.co
2023-05-15T12:36:13
fix: 🐛 don't fill truncated_cells w/ unsupported cols on /rows (#1185)
diff --git a/services/api/src/api/routes/rows.py b/services/api/src/api/routes/rows.py index aded5d01..a53b83e4 100644 --- a/services/api/src/api/routes/rows.py +++ b/services/api/src/api/routes/rows.py @@ -323 +323 @@ def to_rows_list( - "truncated_cells": unsupported_columns, + "truncated_cells"...
165607e452ac1404bae70f32aba789c58335e2eb
Sylvain Lesage
sylvain.lesage@huggingface.co
2023-05-13T11:27:57
fix: 🐛 hot fix - catch exception on git revision (#1183)
diff --git a/services/worker/src/worker/job_manager.py b/services/worker/src/worker/job_manager.py index 3332417e..7fc267e9 100644 --- a/services/worker/src/worker/job_manager.py +++ b/services/worker/src/worker/job_manager.py @@ -118 +118,3 @@ class JobManager: - self.backfill() + revision = self.get_dat...
441baf94a7d6e9cfd31cc4dee7c4de338c2745b1
Sylvain Lesage
sylvain.lesage@huggingface.co
2023-05-12T15:28:39
Remove should_skip_job (#1167)
diff --git a/jobs/cache_maintenance/tests/test_collect_metrics.py b/jobs/cache_maintenance/tests/test_collect_metrics.py index cc3db561..ad4bd6d1 100644 --- a/jobs/cache_maintenance/tests/test_collect_metrics.py +++ b/jobs/cache_maintenance/tests/test_collect_metrics.py @@ -9,0 +10 @@ from libcommon.simple_cache import...
22c4d7f65ef3ea99dc81cf67436263e7063370f7
Sylvain Lesage
sylvain.lesage@huggingface.co
2023-05-12T15:14:20
Remove "force" field from the queue Jobs (#1165)
diff --git a/front/admin_ui/app.py b/front/admin_ui/app.py index 99bfe096..289b142e 100644 --- a/front/admin_ui/app.py +++ b/front/admin_ui/app.py @@ -186 +185,0 @@ with gr.Blocks() as demo: - "force": job["force"], diff --git a/jobs/mongodb_migration/src/mongodb_migration/collector.py b/jobs/mongodb...
f3a71c2f260a2d22834339624b46ed85199fa4ff
Sylvain Lesage
sylvain.lesage@huggingface.co
2023-05-12T14:59:22
feat: 🎸 upgrade tensorflow (#1166)
diff --git a/services/worker/poetry.lock b/services/worker/poetry.lock index f30d5d77..68d16371 100644 --- a/services/worker/poetry.lock +++ b/services/worker/poetry.lock @@ -1272 +1272 @@ name = "google-auth-oauthlib" -version = "0.4.6" +version = "1.0.0" @@ -1278,2 +1278,2 @@ files = [ - {file = "google-auth-oauth...
1df7d442b9e5f87ab3b1d530225979dd30991b16
Andrea Francis Soria Jimenez
andrea@huggingface.co
2023-05-12T14:55:22
Removing non necessary attributes (#1170)
diff --git a/services/worker/src/worker/job_runner.py b/services/worker/src/worker/job_runner.py index efe8e0c9..d4c9d839 100644 --- a/services/worker/src/worker/job_runner.py +++ b/services/worker/src/worker/job_runner.py @@ -37,4 +36,0 @@ class JobRunner(ABC): - self.job_type = job_info["type"] - self.j...
e70d0764bb9323c224af0955969e9cede39a7352
Polina Kazakova
polina@huggingface.co
2023-05-12T12:11:32
change color and size of nodes (#1173)
diff --git a/front/admin_ui/app.py b/front/admin_ui/app.py index c9c48115..99bfe096 100644 --- a/front/admin_ui/app.py +++ b/front/admin_ui/app.py @@ -48 +48 @@ def draw_graph(width, height): - nx.draw_networkx(graph, pos=pos) + nx.draw_networkx(graph, pos=pos, node_color="#d1b2f8", node_size=500)
798f0c8c99699eaf843f027ae9b87a1f788437cd
Polina Kazakova
polina@huggingface.co
2023-05-12T11:56:39
Plot processing graph (#1132)
diff --git a/front/admin_ui/README.md b/front/admin_ui/README.md index e4eddbb6..64118fa4 100644 --- a/front/admin_ui/README.md +++ b/front/admin_ui/README.md @@ -0,0 +1,12 @@ +--- +title: Datasets Server Admin UI +emoji: 📊 +colorFrom: gray +colorTo: purple +sdk: gradio +sdk_version: 3.28.1 +python_version: 3.9.15 +ap...
b9f4c56a85786cd7482412abdb1556b9a2f47006
Andrea Francis Soria Jimenez
andrea@huggingface.co
2023-05-11T16:04:39
Separate job runner compute logic (#1146)
diff --git a/libs/libcommon/src/libcommon/operations.py b/libs/libcommon/src/libcommon/operations.py index f3a56ec6..df6a9866 100644 --- a/libs/libcommon/src/libcommon/operations.py +++ b/libs/libcommon/src/libcommon/operations.py @@ -10 +9,0 @@ from libcommon.processing_graph import ProcessingGraph -from libcommon.que...
9d4295ba0ddf11ef01d8c2b59ba11efe6d7fc05f
Sylvain Lesage
sylvain.lesage@huggingface.co
2023-05-11T07:00:13
feat: 🎸 upgrade libcommon in all the code (#1162)
diff --git a/jobs/cache_maintenance/poetry.lock b/jobs/cache_maintenance/poetry.lock index 1527c84b..839efed0 100644 --- a/jobs/cache_maintenance/poetry.lock +++ b/jobs/cache_maintenance/poetry.lock @@ -1 +1 @@ -# This file is automatically @generated by Poetry 1.4.0 and should not be changed by hand. +# This file is a...
b13194633965413f4f47c24136251adde987bd47
Sylvain Lesage
sylvain.lesage@huggingface.co
2023-05-10T16:05:28
feat: 🎸 use the cached response dataset-is-valid (#1160)
diff --git a/services/api/src/api/app.py b/services/api/src/api/app.py index 560ce84f..0ceb71d7 100644 --- a/services/api/src/api/app.py +++ b/services/api/src/api/app.py @@ -22 +22 @@ from api.routes.rows import create_rows_endpoint -from api.routes.valid import create_is_valid_endpoint, create_valid_endpoint +from ap...
9c4d333f3f675f5204470d5cf3c1cfb86ef65498
Sylvain Lesage
sylvain.lesage@huggingface.co
2023-05-10T16:04:57
feat: 🎸 do full backfill instead of creating jobs for children (#1157)
diff --git a/e2e/tests/test_14_valid.py b/e2e/tests/test_14_valid.py index c397b22b..cead539b 100644 --- a/e2e/tests/test_14_valid.py +++ b/e2e/tests/test_14_valid.py @@ -12,5 +12,12 @@ def test_valid_after_datasets_processed(hf_dataset_repos_csv_data: DatasetRepos) - # at this moment various datasets have been proc...
1087f59caa9614f46391f0b1ffa9be64f9266be9
Albert Villanova del Moral
8515462+albertvillanova@users.noreply.github.com
2023-05-10T15:23:21
Replace legacy hffs dependency with huggingface-hub (#1158)
diff --git a/.github/workflows/_quality-python.yml b/.github/workflows/_quality-python.yml index ecd866c3..495cfa74 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...
d12a2c04b1e6bfd3a06712210b8cf1d137831ece
Sylvain Lesage
sylvain.lesage@huggingface.co
2023-05-10T14:04:48
Overcommit a bit less (#1161)
diff --git a/chart/env/prod.yaml b/chart/env/prod.yaml index b450c431..fc9bd4a2 100644 --- a/chart/env/prod.yaml +++ b/chart/env/prod.yaml @@ -264 +264 @@ workers: - replicas: 80 + replicas: 20 @@ -268 +268 @@ workers: - memory: "2Gi" + memory: "4Gi"
27a562c9470a2c92b04491904ec92c2f8956e0fb
Sylvain Lesage
sylvain.lesage@huggingface.co
2023-05-10T13:33:15
Use state for job creation (#1149)
diff --git a/e2e/tests/utils.py b/e2e/tests/utils.py index cd6669cf..4060b616 100644 --- a/e2e/tests/utils.py +++ b/e2e/tests/utils.py @@ -15,0 +16 @@ ADMIN_UVICORN_PORT = os.environ.get("ADMIN_UVICORN_PORT", "8081") +ADMIN_TOKEN = os.environ.get("PARQUET_AND_INFO_COMMITTER_HF_TOKEN", "") @@ -101,2 +102,14 @@ def get_d...
1163909212af3a936def7dcca6db260aff140493
Sylvain Lesage
sylvain.lesage@huggingface.co
2023-05-10T12:54:21
More tests on dataset state (#1094)
diff --git a/jobs/cache_maintenance/src/cache_maintenance/metrics.py b/jobs/cache_maintenance/src/cache_maintenance/metrics.py index 45ecff05..2eeb4f0b 100644 --- a/jobs/cache_maintenance/src/cache_maintenance/metrics.py +++ b/jobs/cache_maintenance/src/cache_maintenance/metrics.py @@ -15 +15 @@ def collect_metrics(pro...
11fc1ca82413512948264d6272856677bec58b7a
Albert Villanova del Moral
8515462+albertvillanova@users.noreply.github.com
2023-05-10T07:40:20
Update datasets dependency to 2.12.0 version (#1147)
diff --git a/libs/libcommon/poetry.lock b/libs/libcommon/poetry.lock index f82da90e..5172ad47 100644 --- a/libs/libcommon/poetry.lock +++ b/libs/libcommon/poetry.lock @@ -1 +1 @@ -# This file is automatically @generated by Poetry 1.4.0 and should not be changed by hand. +# This file is automatically @generated by Poetr...
2d3a980c7fe5d0e5eb46f74ec86288bf84ab0bd0
Polina Kazakova
polina@huggingface.co
2023-05-05T17:04:21
Delete `dataset-split-names-from-dataset-info` job runner (#1141)
diff --git a/jobs/mongodb_migration/src/mongodb_migration/collector.py b/jobs/mongodb_migration/src/mongodb_migration/collector.py index aebdd394..b707890b 100644 --- a/jobs/mongodb_migration/src/mongodb_migration/collector.py +++ b/jobs/mongodb_migration/src/mongodb_migration/collector.py @@ -5,0 +6,5 @@ from typing i...