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
48ccb07f6ce08a512189a0f8db8f0d5b1040e8ff
Sylvain Lesage
sylvain.lesage@huggingface.co
2023-11-06T17:17:56
fix: 🐛 hide the error to avoid disclosing a token (#2055)
diff --git a/libs/libcommon/src/libcommon/exceptions.py b/libs/libcommon/src/libcommon/exceptions.py index b0a50618..5eb104fd 100644 --- a/libs/libcommon/src/libcommon/exceptions.py +++ b/libs/libcommon/src/libcommon/exceptions.py @@ -304 +304 @@ class ExternalFilesSizeRequestConnectionError(CacheableError): - s...
f3bf8230e2f82a3050b8a59f6b5ecb64cd36c490
Andrea Francis Soria Jimenez
andrea@huggingface.co
2023-11-06T16:59:23
fix reverse proxy (#2063)
diff --git a/chart/nginx-templates/default.conf.template b/chart/nginx-templates/default.conf.template index f261e257..7e395701 100644 --- a/chart/nginx-templates/default.conf.template +++ b/chart/nginx-templates/default.conf.template @@ -32,8 +31,0 @@ server { - location /assets/ { - alias ${ASSETS_DIRECTORY}/; - ...
7d1213c05598e2cb4aabbb829b3df7e4a9cbca6f
Andrea Francis Soria Jimenez
andrea@huggingface.co
2023-11-06T14:13:23
remove assets and cached assets (#2040)
diff --git a/chart/Chart.yaml b/chart/Chart.yaml index ccff15eb..9005bb01 100644 --- a/chart/Chart.yaml +++ b/chart/Chart.yaml @@ -21 +21 @@ type: application -version: 1.21.0 +version: 2.0.0 diff --git a/chart/env/prod.yaml b/chart/env/prod.yaml index 975da53a..d8a39ac7 100644 --- a/chart/env/prod.yaml +++ b/chart/env...
28e028cb7bfa370d49f70f1ab4c9be523a171e94
Sylvain Lesage
sylvain.lesage@huggingface.co
2023-11-06T10:46:31
invalidate the datasets cache after 3 years instead of 3 months (#2060)
diff --git a/chart/values.yaml b/chart/values.yaml index f168ae3f..06b84379 100644 --- a/chart/values.yaml +++ b/chart/values.yaml @@ -170 +170 @@ cache: - maxDays: 90 + maxDays: 1000
54a1fdbfcfa0c0568995640bb67af071ca63a596
Sylvain Lesage
sylvain.lesage@huggingface.co
2023-11-04T09:30:38
feat: 🎸 upgrade nginx image to 1.25.3 (#2056)
diff --git a/chart/env/staging.yaml b/chart/env/staging.yaml index a54cd724..86ea8ae7 100644 --- a/chart/env/staging.yaml +++ b/chart/env/staging.yaml @@ -20 +20 @@ images: - tag: "1.20" + tag: "1.25.3" diff --git a/chart/values.yaml b/chart/values.yaml index ad57a112..f168ae3f 100644 --- a/chart/values.yaml +++ ...
da65da9c982c1b0675e77e00ac0e6ed008c91cf4
Sylvain Lesage
sylvain.lesage@huggingface.co
2023-11-03T21:16:30
Use ruff in vscode (#2054)
diff --git a/.vscode/monorepo.code-workspace b/.vscode/monorepo.code-workspace index 99ee8b78..a89acac9 100644 --- a/.vscode/monorepo.code-workspace +++ b/.vscode/monorepo.code-workspace @@ -5 +5,2 @@ - "path": ".." + "path": "..", + "python.defaultInterpreterPath": "${workspaceFolder}/e2e/.venv/bin/pyth...
add0cf2b8a14d9ba80ec7a58c000230c7691c500
Sylvain Lesage
sylvain.lesage@huggingface.co
2023-11-03T13:51:09
Update index.mdx (#2051)
diff --git a/docs/source/index.mdx b/docs/source/index.mdx index 72212cd0..1bc3afbf 100644 --- a/docs/source/index.mdx +++ b/docs/source/index.mdx @@ -3,0 +4,3 @@ Datasets Server is a lightweight web API for visualizing and exploring all types + +The main feature of the Datasets Server is to auto-convert all the [Hub d...
f311a9212aaa91dd0373e5c2d4f5da9b6bdabcb5
Albert Villanova del Moral
8515462+albertvillanova@users.noreply.github.com
2023-11-02T14:01:48
Use ruff for CI quality (#2031)
diff --git a/.github/workflows/_quality-python.yml b/.github/workflows/_quality-python.yml index 76e978a0..1eaf54b5 100644 --- a/.github/workflows/_quality-python.yml +++ b/.github/workflows/_quality-python.yml @@ -43,8 +43,6 @@ jobs: - - name: Run black - run: poetry run black --check tests src - - na...
65359c856fac2e103e22a02e37f0eee1af8f9d16
Albert Villanova del Moral
8515462+albertvillanova@users.noreply.github.com
2023-11-02T13:52:33
Explain single quote string SQL syntax in filter docs (#2043)
diff --git a/docs/source/filter.mdx b/docs/source/filter.mdx index 3aa9e1a3..98dbe3b9 100644 --- a/docs/source/filter.mdx +++ b/docs/source/filter.mdx @@ -33,0 +34,7 @@ either the string "name" column is equal to 'Simone' or the integer "children" c + +<Tip> + Note that, following SQL syntax, string values in comparis...
a351c69a2cbffd96d19101afaf82a5f2fe5ef637
Albert Villanova del Moral
8515462+albertvillanova@users.noreply.github.com
2023-11-02T12:49:35
Use hf-doc-builder version from GitHub to build docs locally (#2042)
diff --git a/docs/poetry.lock b/docs/poetry.lock index 1625865a..27a27fe7 100644 --- a/docs/poetry.lock +++ b/docs/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.2 and should not be changed by hand. @@ ...
7281b0eae583f29fb2c78fe0d7e606d3509ba4f7
Albert Villanova del Moral
8515462+albertvillanova@users.noreply.github.com
2023-10-31T16:03:23
Make create_response async and run _transform_row map async in separate thread (#2025)
diff --git a/libs/libapi/src/libapi/response.py b/libs/libapi/src/libapi/response.py index a22c5137..ce3c6c04 100644 --- a/libs/libapi/src/libapi/response.py +++ b/libs/libapi/src/libapi/response.py @@ -15 +15 @@ ROW_IDX_COLUMN = "__hf_index_id" -def create_response( +async def create_response( @@ -41 +41 @@ def create...
7b48de5e2d5ed4b37e0dfea0df8d6b4b74f226af
Polina Kazakova
polina@huggingface.co
2023-10-31T15:33:12
Install `ps` and `htop` in workers to monitor processes inside pods (#2034)
diff --git a/services/admin/Dockerfile b/services/admin/Dockerfile index ac157b57..6d01e2d9 100644 --- a/services/admin/Dockerfile +++ b/services/admin/Dockerfile @@ -19,0 +20 @@ RUN apt-get update \ + procps htop \ diff --git a/services/admin/dev.Dockerfile b/services/admin/dev.Dockerfile index c2fcfd05..4abb3cb9 1...
ea3f20d437a34d18f82f88b03b1f2ae502edb6d5
Andrea Francis Soria Jimenez
andrea@huggingface.co
2023-10-31T12:13:57
Revert "Revert assets fsspec (#2036)" (#2039)
diff --git a/.github/workflows/_unit-tests-python.yml b/.github/workflows/_unit-tests-python.yml index 504590ab..7e401a46 100644 --- a/.github/workflows/_unit-tests-python.yml +++ b/.github/workflows/_unit-tests-python.yml @@ -56,0 +57,2 @@ jobs: + ASSETS_STORAGE_ROOT: /tmp + CACHED_ASSETS_STORAGE_ROO...
204e3815f9e047904fdbf2d3b282a81226e8adec
Albert Villanova del Moral
8515462+albertvillanova@users.noreply.github.com
2023-10-31T08:05:43
Use get_request_parameter in endpoint (#2017)
diff --git a/docs/source/openapi.json b/docs/source/openapi.json index de8cdbb8..83a15c62 100644 --- a/docs/source/openapi.json +++ b/docs/source/openapi.json @@ -1333,0 +1334,14 @@ + "MissingDatasetConfigParameterError": { + "summary": "One of the dataset or config parameters is missing.", + "descri...
b22957f9c2457e24e389fc138d9e0486d686a860
Sylvain Lesage
sylvain.lesage@huggingface.co
2023-10-30T20:57:10
2023 reduce number comments (#2024)
diff --git a/jobs/cache_maintenance/src/cache_maintenance/discussions.py b/jobs/cache_maintenance/src/cache_maintenance/discussions.py index 8884303a..7be65871 100644 --- a/jobs/cache_maintenance/src/cache_maintenance/discussions.py +++ b/jobs/cache_maintenance/src/cache_maintenance/discussions.py @@ -11,4 +11 @@ from ...
3267ee6e2ea05d1e7a9bf274b1c99bb20a059018
Sylvain Lesage
sylvain.lesage@huggingface.co
2023-10-30T20:36:22
feat: 🎸 allow dataset script on togethercomputer/RedPajama-Data (#2037)
diff --git a/chart/values.yaml b/chart/values.yaml index 2147155b..3698fa9a 100644 --- a/chart/values.yaml +++ b/chart/values.yaml @@ -87 +87 @@ common: - datasetScriptsAllowList: "{{ALL_DATASETS_WITH_NO_NAMESPACE}}" + datasetScriptsAllowList: "{{ALL_DATASETS_WITH_NO_NAMESPACE}},togethercomputer/RedPajama-Data-V2"
5716638a683d83652da672f0f59bf68935d0a93e
Andrea Francis Soria Jimenez
andrea@huggingface.co
2023-10-30T20:09:40
Revert assets fsspec (#2036)
diff --git a/.github/workflows/_unit-tests-python.yml b/.github/workflows/_unit-tests-python.yml index 7e401a46..504590ab 100644 --- a/.github/workflows/_unit-tests-python.yml +++ b/.github/workflows/_unit-tests-python.yml @@ -57,2 +56,0 @@ jobs: - ASSETS_STORAGE_ROOT: /tmp - CACHED_ASSETS_STORAGE_ROO...
c9f598a59c5e193ad1185dae70867001298c53fe
Albert Villanova del Moral
8515462+albertvillanova@users.noreply.github.com
2023-10-30T19:45:03
Update pip to 23.3.1 to fix vulnerability (#2035)
diff --git a/e2e/poetry.lock b/e2e/poetry.lock index 569d8015..56d09699 100644 --- a/e2e/poetry.lock +++ b/e2e/poetry.lock @@ -976 +976 @@ name = "pip" -version = "23.1.2" +version = "23.3.1" @@ -982,2 +982,2 @@ files = [ - {file = "pip-23.1.2-py3-none-any.whl", hash = "sha256:3ef6ac33239e4027d9a5598a381b9d30880a147...
c37a1e3fd79308193767a1670a518e7e6444516d
Andrea Francis Soria Jimenez
andrea@huggingface.co
2023-10-30T15:34:18
Add S3 configs to admin (#2033)
diff --git a/chart/templates/services/admin/_container.tpl b/chart/templates/services/admin/_container.tpl index 25414d1d..0c5f3647 100644 --- a/chart/templates/services/admin/_container.tpl +++ b/chart/templates/services/admin/_container.tpl @@ -9,0 +10 @@ + {{ include "envS3" . | nindent 2 }}
56afebe91febc0e8dc4bca9f2976ca6adac2cdbd
Andrea Francis Soria Jimenez
andrea@huggingface.co
2023-10-30T15:14:37
Fix assets volumes (#2032)
diff --git a/chart/values.yaml b/chart/values.yaml index 62e95e97..4f1be192 100644 --- a/chart/values.yaml +++ b/chart/values.yaml @@ -259,0 +260,2 @@ assets: + # TODO: remove + storageDirectory: "/storage/assets" @@ -267,0 +270,2 @@ cachedAssets: + # TODO: remove + storageDirectory: "/storage/cached-assets"
2c837b29273ce84d6dcba581df47751aff6d2c00
Andrea Francis Soria Jimenez
andrea@huggingface.co
2023-10-30T14:34:43
fsspec storage instead of boto3 (#1976)
diff --git a/.github/workflows/_unit-tests-python.yml b/.github/workflows/_unit-tests-python.yml index 504590ab..7e401a46 100644 --- a/.github/workflows/_unit-tests-python.yml +++ b/.github/workflows/_unit-tests-python.yml @@ -56,0 +57,2 @@ jobs: + ASSETS_STORAGE_ROOT: /tmp + CACHED_ASSETS_STORAGE_ROO...
31d87f06aac2c77a5d2a17e6d4336a5372163887
Albert Villanova del Moral
8515462+albertvillanova@users.noreply.github.com
2023-10-30T12:34:08
Use async path to get index file (#2030)
diff --git a/libs/libapi/src/libapi/duckdb.py b/libs/libapi/src/libapi/duckdb.py index 4cca9942..049fd468 100644 --- a/libs/libapi/src/libapi/duckdb.py +++ b/libs/libapi/src/libapi/duckdb.py @@ -9 +8,0 @@ from hashlib import sha1 -from pathlib import Path @@ -12,0 +12 @@ import anyio +from anyio import Path @@ -46 +46 ...
b071069e8bc44387d76e9ef0b84b4879f92ab5dc
Andrea Francis Soria Jimenez
andrea@huggingface.co
2023-10-30T11:30:19
adding tests for recreate dataset (#2028)
diff --git a/libs/libcommon/src/libcommon/queue.py b/libs/libcommon/src/libcommon/queue.py index 7c6d6856..30cfeabd 100644 --- a/libs/libcommon/src/libcommon/queue.py +++ b/libs/libcommon/src/libcommon/queue.py @@ -918,0 +919 @@ class Queue: + jobs_to_cancel = len(previous_status) @@ -923 +924 @@ class Queue: - ...
374508609d951557951c17f89479be3ca09ac06b
Albert Villanova del Moral
8515462+albertvillanova@users.noreply.github.com
2023-10-30T10:02:18
Update pandas dependency to 2.0.3 (#2029)
diff --git a/front/admin_ui/poetry.lock b/front/admin_ui/poetry.lock index c0090fce..03d4dd17 100644 --- a/front/admin_ui/poetry.lock +++ b/front/admin_ui/poetry.lock @@ -1314 +1314 @@ orjson = "^3.8.6" -pandas = "^2.0.1" +pandas = "~2.0.3" @@ -2001 +2001 @@ name = "pandas" -version = "2.0.2" +version = "2.0.3" @@ -200...
c7a609e5e595b4322c0be436c946f7adaa997d9d
Andrea Francis Soria Jimenez
andrea@huggingface.co
2023-10-27T16:59:54
fix duckdb circular import (#2027)
diff --git a/services/search/src/search/duckdb.py b/services/search/src/search/duckdb_connection.py similarity index 100% rename from services/search/src/search/duckdb.py rename to services/search/src/search/duckdb_connection.py diff --git a/services/search/src/search/routes/filter.py b/services/search/src/search/route...
1da74a056351d49c1ed801e73bec8adbf6a2cb87
Sylvain Lesage
sylvain.lesage@huggingface.co
2023-10-27T11:28:05
fix: 🐛 do not set the JWT public key URL by default (#2022)
diff --git a/tools/docker-compose-base.yml b/tools/docker-compose-base.yml index cd150423..e8abd22a 100644 --- a/tools/docker-compose-base.yml +++ b/tools/docker-compose-base.yml @@ -40,2 +40,2 @@ services: - API_HF_JWT_PUBLIC_KEY_URL: ${API_HF_JWT_PUBLIC_KEY_URL-https://huggingface.co/api/keys/jwt} - API_HF_...
f5b24db6428a1ba7d9cf899c9e07e11848f9377a
Albert Villanova del Moral
8515462+albertvillanova@users.noreply.github.com
2023-10-27T11:19:14
Remove duckdb as libapi dependency (#2021)
diff --git a/libs/libapi/poetry.lock b/libs/libapi/poetry.lock index 8385e8eb..befa2176 100644 --- a/libs/libapi/poetry.lock +++ b/libs/libapi/poetry.lock @@ -779,62 +778,0 @@ wmi = ["wmi (>=1.5.1,<2.0.0)"] -[[package]] -name = "duckdb" -version = "0.8.1" -description = "DuckDB embedded database" -category = "main" -op...
cf51a0cfaa7dcff32c01c19044287809de3005c3
Albert Villanova del Moral
8515462+albertvillanova@users.noreply.github.com
2023-10-27T09:20:50
Update duckdb minor version to 0.8.1 in admin_ui (#2020)
diff --git a/front/admin_ui/poetry.lock b/front/admin_ui/poetry.lock index 557c23a1..c0090fce 100644 --- a/front/admin_ui/poetry.lock +++ b/front/admin_ui/poetry.lock @@ -658 +658 @@ name = "duckdb" -version = "0.8.0" +version = "0.8.1" @@ -664,47 +664,52 @@ files = [ - {file = "duckdb-0.8.0-cp310-cp310-macosx_10_9_...
bdf79518ad125fa4ddb3528d80f9dbdc4a826d73
Albert Villanova del Moral
8515462+albertvillanova@users.noreply.github.com
2023-10-27T09:10:42
Download duckdb index async in separate thread (#2018)
diff --git a/libs/libapi/src/libapi/duckdb.py b/libs/libapi/src/libapi/duckdb.py index 45fb83b8..b613c8f0 100644 --- a/libs/libapi/src/libapi/duckdb.py +++ b/libs/libapi/src/libapi/duckdb.py @@ -0,0 +1,3 @@ +# SPDX-License-Identifier: Apache-2.0 +# Copyright 2023 The HuggingFace Authors. + @@ -8,0 +12 @@ from typing im...
f1ccb72ceca2a09c574bc08207593ab36aa6df95
Andrea Francis Soria Jimenez
andrea@huggingface.co
2023-10-26T18:47:19
add cron job to clean duckdb index cache (#2016)
diff --git a/chart/Chart.yaml b/chart/Chart.yaml index fdaec79d..ccff15eb 100644 --- a/chart/Chart.yaml +++ b/chart/Chart.yaml @@ -21 +21 @@ type: application -version: 1.20.0 +version: 1.21.0 diff --git a/chart/env/prod.yaml b/chart/env/prod.yaml index b34b15a5..a0ca5ee4 100644 --- a/chart/env/prod.yaml +++ b/chart/en...
58bd71db1913b80e092c823e8158c833c624f093
Albert Villanova del Moral
8515462+albertvillanova@users.noreply.github.com
2023-10-26T17:35:21
Factorize getting request parameters (#2013)
diff --git a/libs/libapi/src/libapi/request.py b/libs/libapi/src/libapi/request.py index 512dbe9b..b8c62c87 100644 --- a/libs/libapi/src/libapi/request.py +++ b/libs/libapi/src/libapi/request.py @@ -7 +7 @@ from libapi.exceptions import InvalidParameterError, MissingRequiredParameterErr -from libapi.utils import are_va...
4a6d423228895418945e8cc01e9c5c9c942e2a2d
Sylvain Lesage
sylvain.lesage@huggingface.co
2023-10-26T16:37:48
increase number of replicas (#2015)
diff --git a/chart/env/prod.yaml b/chart/env/prod.yaml index 8d8ebf26..b34b15a5 100644 --- a/chart/env/prod.yaml +++ b/chart/env/prod.yaml @@ -223 +222,0 @@ cleanDuckdbIndexDownloads: - @@ -336 +335 @@ api: - replicas: 4 + replicas: 8 @@ -411 +410 @@ workers: - replicas: 4 + replicas: 6 @@ -427 +426 @@ workers:...
ef8a1cb34ba661b859962ac8d6c138374a0b0190
Quentin Lhoest
42851186+lhoestq@users.noreply.github.com
2023-10-25T17:18:22
update werkzeug (#2014)
diff --git a/libs/libapi/poetry.lock b/libs/libapi/poetry.lock index 22d5f92f..8385e8eb 100644 --- a/libs/libapi/poetry.lock +++ b/libs/libapi/poetry.lock @@ -2714 +2713,0 @@ files = [ - {file = "PyYAML-6.0.1-cp310-cp310-musllinux_1_1_x86_64.whl", hash = "sha256:326c013efe8048858a6d312ddd31d56e468118ad4cdeda36c719bf...
144a1dfd1f4f2b875b53d2a01beff06f59e03f49
Mishig
mishig.davaadorj@coloradocollege.edu
2023-10-25T12:57:41
Update doc-build.yml - add missing token (#2012)
diff --git a/.github/workflows/doc-build.yml b/.github/workflows/doc-build.yml index bf1d6eb2..6238f7c7 100644 --- a/.github/workflows/doc-build.yml +++ b/.github/workflows/doc-build.yml @@ -22,0 +23 @@ jobs: + token: ${{ secrets.HUGGINGFACE_PUSH }}
5f23be2b6e5ddf2932f51f53d9058d12ffdd71f4
Quentin Lhoest
42851186+lhoestq@users.noreply.github.com
2023-10-25T12:28:47
Remove no_max_size_limit_datasets (no more full parquet conversion for Open-Orca/OpenOrca to fix the viewer) (#2011)
diff --git a/chart/env/prod.yaml b/chart/env/prod.yaml index c33db12e..8d8ebf26 100644 --- a/chart/env/prod.yaml +++ b/chart/env/prod.yaml @@ -148 +147,0 @@ parquetAndInfo: - noMaxSizeLimitDatasets: "Open-Orca/OpenOrca" diff --git a/chart/templates/_env/_envWorker.tpl b/chart/templates/_env/_envWorker.tpl index 37e54e...
9c16bda58a12d2024f63bb95fb6e38d9c33f5120
Albert Villanova del Moral
8515462+albertvillanova@users.noreply.github.com
2023-10-25T06:02:00
Update datasets to 2.14.6 (#2007)
diff --git a/front/admin_ui/poetry.lock b/front/admin_ui/poetry.lock index 34a715c3..557c23a1 100644 --- a/front/admin_ui/poetry.lock +++ b/front/admin_ui/poetry.lock @@ -569 +569 @@ name = "datasets" -version = "2.14.5" +version = "2.14.6" @@ -575,2 +575,2 @@ files = [ - {file = "datasets-2.14.5-py3-none-any.whl", ...
d1c7806bfb3e1ae6f9188f290e50e70534ba6ce1
Quentin Lhoest
42851186+lhoestq@users.noreply.github.com
2023-10-24T16:09:08
fix trending datasets dashboard (#2008)
diff --git a/front/admin_ui/app.py b/front/admin_ui/app.py index 7e24ff95..55aec54b 100644 --- a/front/admin_ui/app.py +++ b/front/admin_ui/app.py @@ -230 +230,2 @@ with gr.Blocks() as demo: - trending_datasets_coverage = {"All trending dataset": []} + trending_datasets_coverage = {"All trending d...
6b2b25a7d37b371bebbf14a920ad658482b90bd2
Albert Villanova del Moral
8515462+albertvillanova@users.noreply.github.com
2023-10-20T07:59:59
Run duckdb queries async in separate thread (#1984)
diff --git a/services/search/src/search/routes/filter.py b/services/search/src/search/routes/filter.py index 58507f06..2c1b14a2 100644 --- a/services/search/src/search/routes/filter.py +++ b/services/search/src/search/routes/filter.py @@ -8,0 +9 @@ from typing import Optional +import anyio @@ -153,6 +154,2 @@ def creat...
f37c3d74183db9296709ac3bf8127ed6905ff0f0
Albert Villanova del Moral
8515462+albertvillanova@users.noreply.github.com
2023-10-20T07:28:43
Add missing filter errors in openapi.json (#1987)
diff --git a/docs/source/openapi.json b/docs/source/openapi.json index 816cd159..de8cdbb8 100644 --- a/docs/source/openapi.json +++ b/docs/source/openapi.json @@ -3837 +3837 @@ - "missing-query": { + "missing-where": { @@ -3861 +3861 @@ - "empty-query": { + ...
15e448959a1a7af5a38f8bf93640e0d883919cd5
Quentin Lhoest
42851186+lhoestq@users.noreply.github.com
2023-10-19T17:53:50
fix another test (#2004)
diff --git a/services/worker/tests/job_runners/config/test_parquet_and_info.py b/services/worker/tests/job_runners/config/test_parquet_and_info.py index 4f3a01f2..6e7fe9cd 100644 --- a/services/worker/tests/job_runners/config/test_parquet_and_info.py +++ b/services/worker/tests/job_runners/config/test_parquet_and_info....
c8f45f858ca71c2e66782c672bfbaa8d965eab02
Quentin Lhoest
42851186+lhoestq@users.noreply.github.com
2023-10-19T17:32:22
more disable_dataset_scripts_support (#2003)
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 2055453d..e64dfaac 100644 --- a/services/worker/src/worker/job_runners/config/split_names_from_streaming.py +++ b/services/worker/src/worker/job_ru...
5efd7580b05be5837eb3109707a33d2dc5448efd
Quentin Lhoest
42851186+lhoestq@users.noreply.github.com
2023-10-19T16:44:33
fix test (#2002)
diff --git a/services/worker/tests/job_runners/config/test_parquet_and_info.py b/services/worker/tests/job_runners/config/test_parquet_and_info.py index ba4a4b7d..4f3a01f2 100644 --- a/services/worker/tests/job_runners/config/test_parquet_and_info.py +++ b/services/worker/tests/job_runners/config/test_parquet_and_info....
90d649572b91a3992fe1a4a71e3ffba9d807de0d
Quentin Lhoest
42851186+lhoestq@users.noreply.github.com
2023-10-19T16:33:46
Disable dataset scripts (#2001)
diff --git a/chart/templates/_env/_envCommon.tpl b/chart/templates/_env/_envCommon.tpl index 2164574e..6b90f665 100644 --- a/chart/templates/_env/_envCommon.tpl +++ b/chart/templates/_env/_envCommon.tpl @@ -6,0 +7,2 @@ +- name: COMMON_DATASET_SCRIPTS_ALLOW_LIST + value: {{ .Values.common.datasetScriptsAllowList | quot...
2a16448f2e5ff1518ec945a762a4852afc2a8547
Andrea Francis Soria Jimenez
andrea@huggingface.co
2023-10-19T15:23:04
adding revision for assets creation path (#1988)
diff --git a/chart/templates/_env/_envCachedAssets.tpl b/chart/templates/_env/_envCachedAssets.tpl index 43dc53a6..0cededa3 100644 --- a/chart/templates/_env/_envCachedAssets.tpl +++ b/chart/templates/_env/_envCachedAssets.tpl @@ -9,8 +8,0 @@ -- name: CACHED_ASSETS_CLEAN_CACHE_PROBA - value: {{ .Values.cachedAssets.cl...
fe7ceb76a16b5b54ea789d98cd91b39aa67d867d
Remy
remy@huggingface.co
2023-10-19T12:42:36
fix: remove useless token (#2000)
diff --git a/.github/workflows/doc-build.yml b/.github/workflows/doc-build.yml index 6238f7c7..bf1d6eb2 100644 --- a/.github/workflows/doc-build.yml +++ b/.github/workflows/doc-build.yml @@ -23 +22,0 @@ jobs: - token: ${{ secrets.HUGGINGFACE_PUSH }}
3070258dc4bceb209aa3f33bf50c0624eeedc919
Quentin Lhoest
42851186+lhoestq@users.noreply.github.com
2023-10-19T09:23:08
Fix admin service in dev docker compose (#1972)
diff --git a/services/admin/dev.Dockerfile b/services/admin/dev.Dockerfile index ee663fa5..c2fcfd05 100644 --- a/services/admin/dev.Dockerfile +++ b/services/admin/dev.Dockerfile @@ -19 +19,2 @@ RUN apt-get update \ - && apt-get install -y build-essential make \ + && apt-get install -y build-essential unzip wget ...
9443125b854fb4722d0b279bdceba4f18de85001
Albert Villanova del Moral
8515462+albertvillanova@users.noreply.github.com
2023-10-19T06:35:19
Remove requests as dependency of libapi (#1979)
diff --git a/libs/libapi/poetry.lock b/libs/libapi/poetry.lock index d5da5689..622fa7fb 100644 --- a/libs/libapi/poetry.lock +++ b/libs/libapi/poetry.lock @@ -3144,27 +3143,0 @@ telegram = ["requests"] -[[package]] -name = "types-requests" -version = "2.31.0.6" -description = "Typing stubs for requests" -category = "de...
aff2e0bf384fbfe55cb224afd6fdb3d982fc133d
Andrea Francis Soria Jimenez
andrea@huggingface.co
2023-10-18T16:47:20
making dataset_git_revision field mandatory (#1993)
diff --git a/jobs/cache_maintenance/tests/test_collect_cache_metrics.py b/jobs/cache_maintenance/tests/test_collect_cache_metrics.py index 238a035f..5b16a711 100644 --- a/jobs/cache_maintenance/tests/test_collect_cache_metrics.py +++ b/jobs/cache_maintenance/tests/test_collect_cache_metrics.py @@ -9,0 +10,2 @@ from cac...
53a035239fca3d93760c5fa85ae0b1ea7286280f
Albert Villanova del Moral
8515462+albertvillanova@users.noreply.github.com
2023-10-18T15:39:09
Update urllib3 from 1.26.17 to fix vulnerability (#1996)
diff --git a/e2e/poetry.lock b/e2e/poetry.lock index 32d6dec5..569d8015 100644 --- a/e2e/poetry.lock +++ b/e2e/poetry.lock @@ -81,0 +82,12 @@ uvloop = ["uvloop (>=0.15.2)"] +[[package]] +name = "boolean-py" +version = "4.0" +description = "Define boolean algebras, create and parse boolean expressions and create custom ...
7e2547afc4599ae80c8caa362514b3a2c295afda
Polina Kazakova
polina@huggingface.co
2023-10-18T14:11:31
Store data in a local database file for stats instead of in-memory (#1998)
diff --git a/services/worker/src/worker/job_runners/split/descriptive_statistics.py b/services/worker/src/worker/job_runners/split/descriptive_statistics.py index 7489e75f..21bd7167 100644 --- a/services/worker/src/worker/job_runners/split/descriptive_statistics.py +++ b/services/worker/src/worker/job_runners/split/des...
b9fe167bae66797741e0f946ffc43607fd0cccde
Albert Villanova del Moral
8515462+albertvillanova@users.noreply.github.com
2023-10-18T07:07:42
Fix quality in search by removing unused import (#1997)
diff --git a/services/search/src/search/routes/search.py b/services/search/src/search/routes/search.py index d802b254..a274bc44 100644 --- a/services/search/src/search/routes/search.py +++ b/services/search/src/search/routes/search.py @@ -6 +5,0 @@ from http import HTTPStatus -from pathlib import Path
3160cdd913a075047b4c5d3d475a3912c26e2da7
Polina Kazakova
polina@huggingface.co
2023-10-17T16:22:14
Limit max RAM that duckdb can use (#1991)
diff --git a/services/worker/src/worker/job_runners/split/descriptive_statistics.py b/services/worker/src/worker/job_runners/split/descriptive_statistics.py index 61529ed9..7489e75f 100644 --- a/services/worker/src/worker/job_runners/split/descriptive_statistics.py +++ b/services/worker/src/worker/job_runners/split/des...
30f58b58ef29215e895b9f9dacb3d000d7e8ea10
Polina Kazakova
polina@huggingface.co
2023-10-17T12:13:31
Remove unused httpfs duckdb extension (#1982)
diff --git a/services/worker/src/worker/job_runners/split/descriptive_statistics.py b/services/worker/src/worker/job_runners/split/descriptive_statistics.py index 5051a9b6..61529ed9 100644 --- a/services/worker/src/worker/job_runners/split/descriptive_statistics.py +++ b/services/worker/src/worker/job_runners/split/des...
ab6a3d15df1cee0b9db8c33a728cf7acf44da71f
Quentin Lhoest
42851186+lhoestq@users.noreply.github.com
2023-10-17T10:36:36
more search and filter pods (#1989)
diff --git a/chart/env/prod.yaml b/chart/env/prod.yaml index 7f151bd1..c33db12e 100644 --- a/chart/env/prod.yaml +++ b/chart/env/prod.yaml @@ -371 +371,2 @@ search: - uvicornNumWorkers: "9" + # but we only set to 2 to avoid OOM + uvicornNumWorkers: "2" @@ -374 +375 @@ search: - replicas: 12 + replicas: 24
520157ce82a12870182978e14e0f10aa23c3b427
Andrea Francis Soria Jimenez
andrea@huggingface.co
2023-10-16T16:51:25
adding clean stats cache cron job (#1986)
diff --git a/chart/Chart.yaml b/chart/Chart.yaml index a4d856c9..fdaec79d 100644 --- a/chart/Chart.yaml +++ b/chart/Chart.yaml @@ -21 +21 @@ type: application -version: 1.19.0 +version: 1.20.0 diff --git a/chart/env/prod.yaml b/chart/env/prod.yaml index 4c81bb18..7f151bd1 100644 --- a/chart/env/prod.yaml +++ b/chart/en...
47171d72b69bc3e73fb46498818c8fd0d5fb527a
Albert Villanova del Moral
8515462+albertvillanova@users.noreply.github.com
2023-10-16T15:48:43
Move modification time update of duckdb index file to libapi (#1983)
diff --git a/libs/libapi/src/libapi/duckdb.py b/libs/libapi/src/libapi/duckdb.py index cb4f0507..ce69b1f4 100644 --- a/libs/libapi/src/libapi/duckdb.py +++ b/libs/libapi/src/libapi/duckdb.py @@ -52,0 +53,2 @@ def get_index_file_location_and_download_if_missing( + # Update its modification time + index_pat...
d73fafbeb2a0a8848a30c038110820319e6a531f
Quentin Lhoest
42851186+lhoestq@users.noreply.github.com
2023-10-16T15:40:42
Add date type support in cache responses (#1971)
diff --git a/libs/libcommon/src/libcommon/resources.py b/libs/libcommon/src/libcommon/resources.py index 5108228d..ce80e1f1 100644 --- a/libs/libcommon/src/libcommon/resources.py +++ b/libs/libcommon/src/libcommon/resources.py @@ -83 +83 @@ class MongoResource(Resource): - _client: MongoClient = field(init=False) + ...
b84c8210ec023664c4780ab348b0232468afe116
Andrea Francis Soria Jimenez
andrea@huggingface.co
2023-10-13T13:50:31
increase ttl time for clean cron jobs (#1980)
diff --git a/chart/templates/cron-jobs/clean-duckdb-index-downloads/job.yaml b/chart/templates/cron-jobs/clean-duckdb-index-downloads/job.yaml index dda56e75..73a9c564 100644 --- a/chart/templates/cron-jobs/clean-duckdb-index-downloads/job.yaml +++ b/chart/templates/cron-jobs/clean-duckdb-index-downloads/job.yaml @@ -1...
0c8fb49c0a2b7deca632c3cebbdcc5ab670ab68d
Albert Villanova del Moral
8515462+albertvillanova@users.noreply.github.com
2023-10-13T12:37:22
Make admin authentication asynchronous (#1978)
diff --git a/services/admin/poetry.lock b/services/admin/poetry.lock index 305fec98..b09a7b5b 100644 --- a/services/admin/poetry.lock +++ b/services/admin/poetry.lock @@ -2528,0 +2529,19 @@ testing = ["fields", "hunter", "process-tests", "pytest-xdist", "six", "virtuale +[[package]] +name = "pytest-httpx" +version = "0...
d27a6b3f1aa4091690e680e1891b1e30e37e633c
Albert Villanova del Moral
8515462+albertvillanova@users.noreply.github.com
2023-10-13T08:09:54
Remove requests as dependency of libcommon (#1977)
diff --git a/front/admin_ui/poetry.lock b/front/admin_ui/poetry.lock index 25151d1f..a18d22b5 100644 --- a/front/admin_ui/poetry.lock +++ b/front/admin_ui/poetry.lock @@ -1314 +1313,0 @@ pytz = "^2020.1" -requests = "^2.31.0" diff --git a/jobs/cache_maintenance/poetry.lock b/jobs/cache_maintenance/poetry.lock index ad1...
612a52d8fbbcfb321285c9f469a0802c809d343c
Albert Villanova del Moral
8515462+albertvillanova@users.noreply.github.com
2023-10-13T08:04:20
Make authentication asynchronous (#1975)
diff --git a/libs/libapi/poetry.lock b/libs/libapi/poetry.lock index 049ad9f9..83ea288b 100644 --- a/libs/libapi/poetry.lock +++ b/libs/libapi/poetry.lock @@ -1101,0 +1102,12 @@ test = ["black", "coverage[toml]", "ddt (>=1.1.1,!=1.4.3)", "mypy", "pre-commit" +[[package]] +name = "h11" +version = "0.14.0" +description =...
4168af5f490a8f2c515f44bd305a296fdddeb45b
Polina Kazakova
polina@huggingface.co
2023-10-12T21:55:35
increase the number of cpus from 2 to 8 in heavy workers (#1974)
diff --git a/chart/env/prod.yaml b/chart/env/prod.yaml index 518d97fe..4c81bb18 100644 --- a/chart/env/prod.yaml +++ b/chart/env/prod.yaml @@ -409 +409 @@ workers: - cpu: 2 + cpu: 8 @@ -412 +412 @@ workers: - cpu: 2 + cpu: 8
65811d571142f13d14e6028fc7f272a090ce7563
Andrea Francis Soria Jimenez
andrea@huggingface.co
2023-10-12T16:16:44
fix cron metadata name lenght (#1973)
diff --git a/chart/templates/_common/_helpers.tpl b/chart/templates/_common/_helpers.tpl index 328100a3..b77b992a 100644 --- a/chart/templates/_common/_helpers.tpl +++ b/chart/templates/_common/_helpers.tpl @@ -114 +114 @@ app.kubernetes.io/component: "{{ include "name" . }}-backfill" -app.kubernetes.io/component: "{{ ...
05289a9829dbcc1bbaa95a497e0147310909ee88
Andrea Francis Soria Jimenez
andrea@huggingface.co
2023-10-12T15:36:22
clean duckdb index files (#1968)
diff --git a/chart/Chart.yaml b/chart/Chart.yaml index 17bea0f4..a4d856c9 100644 --- a/chart/Chart.yaml +++ b/chart/Chart.yaml @@ -21 +21 @@ type: application -version: 1.18.0 +version: 1.19.0 diff --git a/chart/env/prod.yaml b/chart/env/prod.yaml index 87d41992..518d97fe 100644 --- a/chart/env/prod.yaml +++ b/chart/en...
0e5c20dc39cc5a90cfb421205e650c66c87691b7
Quentin Lhoest
42851186+lhoestq@users.noreply.github.com
2023-10-12T12:53:56
minor logging improvement (#1969)
diff --git a/jobs/cache_maintenance/src/cache_maintenance/clean_hf_datasets_cache.py b/jobs/cache_maintenance/src/cache_maintenance/clean_hf_datasets_cache.py index 23dc5550..5ef485d3 100644 --- a/jobs/cache_maintenance/src/cache_maintenance/clean_hf_datasets_cache.py +++ b/jobs/cache_maintenance/src/cache_maintenance/...
a4a2d792262e26020d353896d25acff069ca3124
Albert Villanova del Moral
8515462+albertvillanova@users.noreply.github.com
2023-10-12T09:27:43
Remove duplicate admin utils (#1970)
diff --git a/services/admin/src/admin/app.py b/services/admin/src/admin/app.py index d5401784..86957092 100644 --- a/services/admin/src/admin/app.py +++ b/services/admin/src/admin/app.py @@ -4,0 +5 @@ import uvicorn +from libapi.utils import EXPOSED_HEADERS @@ -44 +44,0 @@ from admin.routes.recreate_dataset import crea...
d24fc6c25f9771591855822ba22115a71e92a3a9
Albert Villanova del Moral
8515462+albertvillanova@users.noreply.github.com
2023-10-12T05:58:14
Factorize getting required request parameters (#1965)
diff --git a/docs/source/openapi.json b/docs/source/openapi.json index 3d3b0641..6d8553d4 100644 --- a/docs/source/openapi.json +++ b/docs/source/openapi.json @@ -2835 +2835 @@ - "error": "Parameters 'split', 'config' and 'dataset' are required" + "error": "Parameter 'dataset' ...
bf425e766899881fc2e24b6a7ee871e09e9e9f74
Quentin Lhoest
42851186+lhoestq@users.noreply.github.com
2023-10-11T15:02:06
Fix clean hf datasets cache pattern (#1966)
diff --git a/jobs/cache_maintenance/src/cache_maintenance/clean_hf_datasets_cache.py b/jobs/cache_maintenance/src/cache_maintenance/clean_hf_datasets_cache.py index 36277680..23dc5550 100644 --- a/jobs/cache_maintenance/src/cache_maintenance/clean_hf_datasets_cache.py +++ b/jobs/cache_maintenance/src/cache_maintenance/...
68f8abf35959cb32a42780ee9822a5a8ff3313ab
Polina Kazakova
polina@huggingface.co
2023-10-11T14:59:51
Add bonus difficulty to split-descriptive-statistics for big datasets (#1967)
diff --git a/libs/libcommon/src/libcommon/config.py b/libs/libcommon/src/libcommon/config.py index 6b30fcd3..d2bf1880 100644 --- a/libs/libcommon/src/libcommon/config.py +++ b/libs/libcommon/src/libcommon/config.py @@ -350,0 +351 @@ class ProcessingGraphConfig: + "bonus_difficulty_if_dataset_is_big": 20,
d4291910deda1a50e78ec527fae798669c8ca7ad
Sylvain Lesage
sylvain.lesage@huggingface.co
2023-10-11T11:42:39
fix: 🐛 ensure the order of discussion comments (#1964)
diff --git a/jobs/cache_maintenance/src/cache_maintenance/discussions.py b/jobs/cache_maintenance/src/cache_maintenance/discussions.py index dabc501d..8884303a 100644 --- a/jobs/cache_maintenance/src/cache_maintenance/discussions.py +++ b/jobs/cache_maintenance/src/cache_maintenance/discussions.py @@ -4,0 +5 @@ import ...
d7c263fb801160f215f3ef5f863e2eaa78519a6e
Sylvain Lesage
sylvain.lesage@huggingface.co
2023-10-11T11:34:57
docs: ✏️ add two details to the Parquet docs (#1960)
diff --git a/docs/source/parquet.mdx b/docs/source/parquet.mdx index ed63d307..9913fc47 100644 --- a/docs/source/parquet.mdx +++ b/docs/source/parquet.mdx @@ -3 +3 @@ -Datasets can be published in any format (CSV, JSONL, directories of images, etc.) to the Hub, and they are easily accessed with the 🤗 [Datasets](https:...
dc1b7d95dfa9495b4e7bc0e33692b22f7cc2bfc1
Albert Villanova del Moral
8515462+albertvillanova@users.noreply.github.com
2023-10-11T10:47:08
Update gitpython to 3.1.37 to fix vulnerability (#1963)
diff --git a/e2e/poetry.lock b/e2e/poetry.lock index 58d77bec..32d6dec5 100644 --- a/e2e/poetry.lock +++ b/e2e/poetry.lock @@ -447 +447 @@ name = "gitpython" -version = "3.1.36" +version = "3.1.37" @@ -453,2 +453,2 @@ files = [ - {file = "GitPython-3.1.36-py3-none-any.whl", hash = "sha256:8d22b5cfefd17c79914226982bb...
84d048b277f8995304e746ee6c9162d23e57d932
Albert Villanova del Moral
8515462+albertvillanova@users.noreply.github.com
2023-10-10T15:06:21
Remove duplicate error types in admin service (#1946)
diff --git a/services/admin/Dockerfile b/services/admin/Dockerfile index a1e41610..ac157b57 100644 --- a/services/admin/Dockerfile +++ b/services/admin/Dockerfile @@ -27,0 +28 @@ COPY libs/libcommon ./libs/libcommon +COPY libs/libapi ./libs/libapi diff --git a/services/admin/dev.Dockerfile b/services/admin/dev.Dockerfi...
bf194c6f1787dacf5692b219f7083add5c564779
Albert Villanova del Moral
8515462+albertvillanova@users.noreply.github.com
2023-10-10T14:07:40
Make CI quality verify consistency of poetry.lock (#1949)
diff --git a/.github/workflows/_quality-python.yml b/.github/workflows/_quality-python.yml index 2ce4f1c8..76e978a0 100644 --- a/.github/workflows/_quality-python.yml +++ b/.github/workflows/_quality-python.yml @@ -35,0 +36,2 @@ jobs: + - name: Verify consistency of poetry.lock with pyproject.toml + run: po...
c42a63bfbf90deb9fbe38c3bc2e8c83aa4a3c33d
Albert Villanova del Moral
8515462+albertvillanova@users.noreply.github.com
2023-10-10T13:17:53
Fix UnexpectedError for non-integer length/offset (#1954)
diff --git a/docs/source/openapi.json b/docs/source/openapi.json index a3a07b73..3d3b0641 100644 --- a/docs/source/openapi.json +++ b/docs/source/openapi.json @@ -2867,0 +2868,6 @@ + "non-integer-offset": { + "summary": "The offset must be integer.", + "value": { +...
c85be565eedffdb8f277d1f38f81c9d4dd93c346
Albert Villanova del Moral
8515462+albertvillanova@users.noreply.github.com
2023-10-10T13:15:45
Update fastapi to 0.103.2 (#1955)
diff --git a/front/admin_ui/poetry.lock b/front/admin_ui/poetry.lock index 5a58596b..25151d1f 100644 --- a/front/admin_ui/poetry.lock +++ b/front/admin_ui/poetry.lock @@ -165 +165 @@ name = "anyio" -version = "3.7.0" +version = "3.7.1" @@ -171,2 +171,2 @@ files = [ - {file = "anyio-3.7.0-py3-none-any.whl", hash = "s...
27ce7dc8e491e4db85816ea794532735fb01e32c
Polina Kazakova
polina@huggingface.co
2023-10-10T09:53:54
Update statistics documentation (#1936)
diff --git a/docs/source/_toctree.yml b/docs/source/_toctree.yml index b155dee8..d9287afe 100644 --- a/docs/source/_toctree.yml +++ b/docs/source/_toctree.yml @@ -28,0 +29,2 @@ + - local: statistics + title: Explore dataset statistics diff --git a/docs/source/index.mdx b/docs/source/index.mdx index 41ba877b..72...
df29f058a3c1d14b0577b5d00cad82fa02980440
Albert Villanova del Moral
8515462+albertvillanova@users.noreply.github.com
2023-10-10T08:36:56
Unblock alexandrainst/nota dataset (#1950)
diff --git a/chart/values.yaml b/chart/values.yaml index 071158ce..a8e147f4 100644 --- a/chart/values.yaml +++ b/chart/values.yaml @@ -83 +83 @@ common: - blockedDatasets: "alexandrainst/nota,Graphcore/gqa,Graphcore/gqa-lxmert,Graphcore/vqa,Graphcore/vqa-lxmert,echarlaix/gqa-lxmert,echarlaix/vqa,echarlaix/vqa-lxmert,K...
17d682730397aec59228b00fc196ee489fc685c6
Quentin Lhoest
42851186+lhoestq@users.noreply.github.com
2023-10-09T13:17:43
fix cronjob resources (#1951)
diff --git a/jobs/cache_maintenance/src/cache_maintenance/main.py b/jobs/cache_maintenance/src/cache_maintenance/main.py index 344f9996..16b45264 100644 --- a/jobs/cache_maintenance/src/cache_maintenance/main.py +++ b/jobs/cache_maintenance/src/cache_maintenance/main.py @@ -39,7 +38,0 @@ def run_job() -> None: - ...
a0ef4cdbdbecb535888ce7d56b88e29989bbe0b6
Albert Villanova del Moral
8515462+albertvillanova@users.noreply.github.com
2023-10-09T12:48:36
Align starlette to 0.28.0 in all subpackages (#1945)
diff --git a/front/admin_ui/poetry.lock b/front/admin_ui/poetry.lock index 2a92faff..5a58596b 100644 --- a/front/admin_ui/poetry.lock +++ b/front/admin_ui/poetry.lock @@ -752 +752 @@ name = "fastapi" -version = "0.96.0" +version = "0.1.17" @@ -756 +756 @@ optional = false -python-versions = ">=3.7" +python-versions = "...
487b578677295a7742926121293aff35b8840ebc
Albert Villanova del Moral
8515462+albertvillanova@users.noreply.github.com
2023-10-09T12:43:07
Factorize getting the request parameters length and offset (#1934)
diff --git a/docs/source/openapi.json b/docs/source/openapi.json index 3c7bda35..a3a07b73 100644 --- a/docs/source/openapi.json +++ b/docs/source/openapi.json @@ -2871 +2871 @@ - "error": "Offset must be positive" + "error": "Parameter 'offset' must be positive" @@ -2877 +2877,...
54ebe02f76a0aac6a56eefbb4f2b35aa836fd6ca
Andrea Francis Soria Jimenez
andrea@huggingface.co
2023-10-09T12:33:31
force download when previous file is obsolete (#1939)
diff --git a/services/worker/src/worker/job_runners/split/descriptive_statistics.py b/services/worker/src/worker/job_runners/split/descriptive_statistics.py index baf8fb4a..5051a9b6 100644 --- a/services/worker/src/worker/job_runners/split/descriptive_statistics.py +++ b/services/worker/src/worker/job_runners/split/des...
8a33dd3aa2ddcf4bf060e66eef352982804987ee
Andrea Francis Soria Jimenez
andrea@huggingface.co
2023-10-09T12:15:20
add ExternalServerError in error codes to retry (#1948)
diff --git a/chart/env/prod.yaml b/chart/env/prod.yaml index 4c9cf0e5..87d41992 100644 --- a/chart/env/prod.yaml +++ b/chart/env/prod.yaml @@ -205 +205 @@ backfill: - error_codes_to_retry: "CreateCommitError,LockedDatasetTimeoutError,NoIndexableColumnsError" + error_codes_to_retry: "CreateCommitError,LockedDatasetTim...
0f8e0a28c7484844dd4926fda235a387ec3a98e8
Albert Villanova del Moral
8515462+albertvillanova@users.noreply.github.com
2023-10-09T10:26:23
Update libapi duckdb dependency in all services (#1943)
diff --git a/services/api/poetry.lock b/services/api/poetry.lock index d5fba815..e0bdc1e8 100644 --- a/services/api/poetry.lock +++ b/services/api/poetry.lock @@ -751,0 +752,62 @@ idna = ["idna (>=2.1)"] +[[package]] +name = "duckdb" +version = "0.8.1" +description = "DuckDB embedded database" +category = "main" +optio...
a55d31b3c1be11a114772c4ba7d3a464dc93bfc7
Andrea Francis Soria Jimenez
andrea@huggingface.co
2023-10-06T18:34:39
fix: adding support for other data types in orjson_dumps (#1938)
diff --git a/libs/libcommon/src/libcommon/utils.py b/libs/libcommon/src/libcommon/utils.py index 86edc8a5..8f9297ef 100644 --- a/libs/libcommon/src/libcommon/utils.py +++ b/libs/libcommon/src/libcommon/utils.py @@ -13,0 +14 @@ import orjson +import pandas as pd @@ -116 +117,3 @@ def orjson_default(obj: Any) -> Any: - ...
8c5a3a251abef55314bb530a26003e81941cc99d
Quentin Lhoest
42851186+lhoestq@users.noreply.github.com
2023-10-06T16:57:27
fix clean datasets cache action name (#1947)
diff --git a/jobs/cache_maintenance/src/cache_maintenance/main.py b/jobs/cache_maintenance/src/cache_maintenance/main.py index e663e6e0..344f9996 100644 --- a/jobs/cache_maintenance/src/cache_maintenance/main.py +++ b/jobs/cache_maintenance/src/cache_maintenance/main.py @@ -57 +57 @@ def run_job() -> None: - eli...
c48e71ecdad0af9985f85b02fba38528b74bf929
Andrea Francis Soria Jimenez
andrea@huggingface.co
2023-10-06T13:31:36
fix staging bucket config (#1944)
diff --git a/chart/env/staging.yaml b/chart/env/staging.yaml index 6b49d055..10552e00 100644 --- a/chart/env/staging.yaml +++ b/chart/env/staging.yaml @@ -143 +143 @@ parquetAndInfo: -cachedAssetsS3: +s3: @@ -145,2 +144,0 @@ cachedAssetsS3: - region: "us-east-1" - folderName: "cached-assets"
a9612acfde565d6f35139550df317a7dafdff154
Andrea Francis Soria Jimenez
andrea@huggingface.co
2023-10-06T12:59:58
assets to s3 (#1928)
diff --git a/chart/templates/_env/_envAssets.tpl b/chart/templates/_env/_envAssets.tpl index 07b4c7fd..55c4c77a 100644 --- a/chart/templates/_env/_envAssets.tpl +++ b/chart/templates/_env/_envAssets.tpl @@ -8,0 +9,2 @@ +- name: ASSETS_S3_FOLDER_NAME + value: {{ .Values.assets.s3FolderName | quote }} diff --git a/chart...
6c5e7efdbbb82efac267678425015332450f1230
Albert Villanova del Moral
8515462+albertvillanova@users.noreply.github.com
2023-10-06T12:25:35
Remove boto3 as dev dependency (#1942)
diff --git a/jobs/cache_maintenance/poetry.lock b/jobs/cache_maintenance/poetry.lock index 1a4a32ec..4aa11b07 100644 --- a/jobs/cache_maintenance/poetry.lock +++ b/jobs/cache_maintenance/poetry.lock @@ -1 +1 @@ -# This file is automatically @generated by Poetry and should not be changed by hand. +# This file is automat...
215d92957c10bfe730e142584d4bb34905e55dda
Remy
remy@huggingface.co
2023-10-06T11:28:33
fix(chart): remove nodeSelector in staging & prepare prod (#1941)
diff --git a/chart/env/prod.yaml b/chart/env/prod.yaml index 3bdb6578..4c9cf0e5 100644 --- a/chart/env/prod.yaml +++ b/chart/env/prod.yaml @@ -188,0 +189,2 @@ cacheMaintenance: + nodeSelector: + role-datasets-server: "true" @@ -206 +208,2 @@ backfill: - nodeSelector: {} + nodeSelector: + role-datasets-server: ...
760cd9c7d33cc80f768c7636de133d24b817fbf8
Albert Villanova del Moral
8515462+albertvillanova@users.noreply.github.com
2023-10-06T09:30:16
Replace UnexpectedError with UnexpectedApiError in filter (#1940)
diff --git a/services/search/src/search/routes/filter.py b/services/search/src/search/routes/filter.py index dc4298da..614526f2 100644 --- a/services/search/src/search/routes/filter.py +++ b/services/search/src/search/routes/filter.py @@ -21,0 +22 @@ from libapi.exceptions import ( + UnexpectedApiError, @@ -32 +32,0...
51afce34db4c89636d19df9ab047c4497b1ee0a8
Albert Villanova del Moral
8515462+albertvillanova@users.noreply.github.com
2023-10-06T09:28:28
Do not pass None headers in e2e tests (#1937)
diff --git a/e2e/tests/test_11_api.py b/e2e/tests/test_11_api.py index 5823b8f9..6a7a8a47 100644 --- a/e2e/tests/test_11_api.py +++ b/e2e/tests/test_11_api.py @@ -65 +64,0 @@ def test_endpoint( - auth_headers: AuthHeaders, @@ -70 +68,0 @@ def test_endpoint( - auth: AuthType = "none" @@ -74 +71,0 @@ def test_endpo...
6e1923127802e877f2f4c40acb764cb1fc9fbffc
Albert Villanova del Moral
8515462+albertvillanova@users.noreply.github.com
2023-10-05T14:57:31
Fix missing index column in /filter (#1935)
diff --git a/e2e/tests/test_53_filter.py b/e2e/tests/test_53_filter.py index 8c7503f8..7130ce58 100644 --- a/e2e/tests/test_53_filter.py +++ b/e2e/tests/test_53_filter.py @@ -18 +18 @@ def test_filter_endpoint( - where = "col_4 = 'B'" + where = "col_4='B'" @@ -50 +50 @@ def test_filter_endpoint( - "row_idx...
41ea211396ba230541bca692d8051494f69a78b9
Sylvain Lesage
sylvain.lesage@huggingface.co
2023-10-05T11:20:55
feat: 🎸 rename the discussion title to be clearer (#1933)
diff --git a/jobs/cache_maintenance/src/cache_maintenance/discussions.py b/jobs/cache_maintenance/src/cache_maintenance/discussions.py index a4f8b173..dabc501d 100644 --- a/jobs/cache_maintenance/src/cache_maintenance/discussions.py +++ b/jobs/cache_maintenance/src/cache_maintenance/discussions.py @@ -107 +107 @@ def p...
37de9d79a008541ac635e7666e748849157a634c
Albert Villanova del Moral
8515462+albertvillanova@users.noreply.github.com
2023-10-05T11:17:34
Fix e2e test_statistics_endpoint (#1932)
diff --git a/e2e/tests/test_14_statistics.py b/e2e/tests/test_14_statistics.py index f02328a6..9ad87d8e 100644 --- a/e2e/tests/test_14_statistics.py +++ b/e2e/tests/test_14_statistics.py @@ -102,0 +103,2 @@ def test_statistics_endpoint( + "no_label_count": 0, + "no_label_proportion": 0.0,
e7298ccf18d74c933b01f8440bb8c89f60e84f17
Albert Villanova del Moral
8515462+albertvillanova@users.noreply.github.com
2023-10-05T06:49:09
Create /filter endpoint (#1418)
diff --git a/chart/env/prod.yaml b/chart/env/prod.yaml index 54688560..3bdb6578 100644 --- a/chart/env/prod.yaml +++ b/chart/env/prod.yaml @@ -352 +352 @@ search: - replicas: 8 + replicas: 12 diff --git a/chart/nginx-templates/default.conf.template b/chart/nginx-templates/default.conf.template index 6e60813c..f261e25...
f638b2f2aab86e20f4248e313c9201378efe001c
Remy
remy@huggingface.co
2023-10-04T20:49:44
fix(chart): add missing job tolerations for karpenter (#1927)
diff --git a/chart/env/staging.yaml b/chart/env/staging.yaml index 521b64e6..dfb90a20 100644 --- a/chart/env/staging.yaml +++ b/chart/env/staging.yaml @@ -185,0 +186,51 @@ backfill: + nodeSelector: + project: "datasets-server" + tolerations: + - key: huggingface.co/project + operator: Equal + value: d...
8d1d0940c4cbfc9763f92c6855771b029c2f4abe
Sylvain Lesage
sylvain.lesage@huggingface.co
2023-10-04T14:22:44
feat: 🎸 update openapi.json spec after #1900 (#1925)
diff --git a/docs/source/openapi.json b/docs/source/openapi.json index cacdb830..724693bd 100644 --- a/docs/source/openapi.json +++ b/docs/source/openapi.json @@ -278 +278,8 @@ - "required": ["dataset", "config", "split", "features", "rows", "truncated"], + "required": [ + "dataset", + "...
e210d42c443b163e1f909a8afb7a678a416e588e
Remy
remy@huggingface.co
2023-10-04T14:15:41
feat(chart): use spot instance in staging env (#1926)
diff --git a/chart/env/staging.yaml b/chart/env/staging.yaml index 3000fb1e..521b64e6 100644 --- a/chart/env/staging.yaml +++ b/chart/env/staging.yaml @@ -170,0 +171,11 @@ cacheMaintenance: + nodeSelector: + project: "datasets-server" + tolerations: + - key: huggingface.co/project + operator: Equal + ...
76452073fb18a10a5317ff2d38b82757241d001f
Quentin Lhoest
42851186+lhoestq@users.noreply.github.com
2023-10-04T12:06:09
incr heavy workers ram (#1924)
diff --git a/chart/env/prod.yaml b/chart/env/prod.yaml index 7385c632..54688560 100644 --- a/chart/env/prod.yaml +++ b/chart/env/prod.yaml @@ -394 +394 @@ workers: - memory: "29Gi" + memory: "34Gi" @@ -397 +397 @@ workers: - memory: "29Gi" + memory: "34Gi"