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 |
|---|---|---|---|---|---|
5df82c77180cc10eeaf6b5e7f3cc7c1b2fc9d091 | Quentin Lhoest | 42851186+lhoestq@users.noreply.github.com | 2023-09-05T17:33:35 | Set maximum allowed arrow data for /rows to avoid OOM (#1773) | diff --git a/chart/env/prod.yaml b/chart/env/prod.yaml
index a1355113..8cd9272a 100644
--- a/chart/env/prod.yaml
+++ b/chart/env/prod.yaml
@@ -145,0 +146,3 @@ duckDBIndex:
+rowsIndex:
+ maxArrowDataInMemory: "300_000_000"
+
diff --git a/chart/templates/services/rows/_container.tpl b/chart/templates/services/rows/_cont... |
fb0903b4274b5edca8e98459b4a322fe78d917d3 | Steven Liu | 59462357+stevhliu@users.noreply.github.com | 2023-09-05T15:51:37 | [docs] ClickHouse integration (#1720) | diff --git a/docs/source/_toctree.yml b/docs/source/_toctree.yml
index bd3bb312..3bc16679 100644
--- a/docs/source/_toctree.yml
+++ b/docs/source/_toctree.yml
@@ -28,0 +29,2 @@
+ - local: clickhouse
+ title: ClickHouse
diff --git a/docs/source/clickhouse.md b/docs/source/clickhouse.md
new file mode 100644
index... |
5be07b08061f4044c74e54c28bdf4ddba9f51888 | Sylvain Lesage | sylvain.lesage@huggingface.co | 2023-09-05T15:45:48 | Add endpoint /hub-cache (#1739) | diff --git a/.github/workflows/_e2e_tests.yml b/.github/workflows/_e2e_tests.yml
index 94be4ede..ae2b3c01 100644
--- a/.github/workflows/_e2e_tests.yml
+++ b/.github/workflows/_e2e_tests.yml
@@ -48,0 +49,2 @@ jobs:
+ # hub-cache
+ HUB_CACHE_NUM_RESULTS_PER_PAGE: "2"
@@ -89,0 +92,2 @@ jobs:
+ ... |
6f2572b5767ca18307a14e888002f29d31f21589 | Quentin Lhoest | 42851186+lhoestq@users.noreply.github.com | 2023-09-05T10:30:19 | less rows workers and less uvicorn workers (#1770) | diff --git a/chart/env/prod.yaml b/chart/env/prod.yaml
index 044ee460..a1355113 100644
--- a/chart/env/prod.yaml
+++ b/chart/env/prod.yaml
@@ -310 +310,2 @@ rows:
- uvicornNumWorkers: "9"
+ # but we only set to 2 to avoid OOM
+ uvicornNumWorkers: "2"
@@ -313 +314 @@ rows:
- replicas: 20
+ replicas: 12 |
405109dd7e083c2c1efc84b46b058661c5dafa94 | Quentin Lhoest | 42851186+lhoestq@users.noreply.github.com | 2023-09-05T10:20:46 | reduce other workers (#1769) | diff --git a/chart/env/prod.yaml b/chart/env/prod.yaml
index 4d628397..044ee460 100644
--- a/chart/env/prod.yaml
+++ b/chart/env/prod.yaml
@@ -344 +344 @@ workers:
- workerDifficultyMax: 100
+ workerDifficultyMax: 70 |
f44ee2aa76c8ba8dc9862152bcc7f7b4479889fb | Quentin Lhoest | 42851186+lhoestq@users.noreply.github.com | 2023-09-05T09:52:10 | more rows (#1768) | diff --git a/chart/env/prod.yaml b/chart/env/prod.yaml
index 7552e6a9..4d628397 100644
--- a/chart/env/prod.yaml
+++ b/chart/env/prod.yaml
@@ -313 +313 @@ rows:
- replicas: 12
+ replicas: 20
@@ -331 +331 @@ search:
- replicas: 12
+ replicas: 4 |
53475cb1c7833e7b83a7e10de300c7eccea82e16 | Sylvain Lesage | sylvain.lesage@huggingface.co | 2023-09-04T21:33:41 | feat: πΈ add resources (#1765) | diff --git a/chart/env/prod.yaml b/chart/env/prod.yaml
index 919550ce..7552e6a9 100644
--- a/chart/env/prod.yaml
+++ b/chart/env/prod.yaml
@@ -279 +279 @@ admin:
- memory: "1Gi"
+ memory: "8Gi"
@@ -350 +350 @@ workers:
- replicas: 20
+ replicas: 60
@@ -366 +366 @@ workers:
- replicas: 8
+ replicas... |
75ade8572c3578ba4b6b4bc1ff361c3c0509a0eb | Andrea Francis Soria Jimenez | andrea@huggingface.co | 2023-09-04T18:51:33 | Queue metrics every 2 minutes (#1764) | diff --git a/chart/env/prod.yaml b/chart/env/prod.yaml
index 6f59cd66..919550ce 100644
--- a/chart/env/prod.yaml
+++ b/chart/env/prod.yaml
@@ -198,2 +198,2 @@ queueMetricsCollector:
- schedule: "0 */2 * * *"
- # every two hours
+ schedule: "*/2 * * * *"
+ # every two minutes |
f199ce70c9cd1e91ff592f0383ed2ffa440ec096 | Sylvain Lesage | sylvain.lesage@huggingface.co | 2023-09-04T18:23:23 | feat: πΈ reduce the number of workers (/4) (#1763) | diff --git a/chart/env/prod.yaml b/chart/env/prod.yaml
index f132dad6..6f59cd66 100644
--- a/chart/env/prod.yaml
+++ b/chart/env/prod.yaml
@@ -350 +350 @@ workers:
- replicas: 80
+ replicas: 20
@@ -366 +366 @@ workers:
- replicas: 32
+ replicas: 8 |
c5149d08a9bbe28b5a8051b19e10c02bdddd1f60 | Sylvain Lesage | sylvain.lesage@huggingface.co | 2023-09-04T16:44:23 | feat: πΈ reduce the max ram (#1762) | diff --git a/chart/env/prod.yaml b/chart/env/prod.yaml
index 6933adb4..f132dad6 100644
--- a/chart/env/prod.yaml
+++ b/chart/env/prod.yaml
@@ -350 +350 @@ workers:
- replicas: 64
+ replicas: 80
@@ -354 +354 @@ workers:
- memory: "16Gi"
+ memory: "14Gi"
@@ -357 +357 @@ workers:
- memory: "16Gi... |
61d2e2533b6e54caaf2c624ffb1c33ffb059267e | Sylvain Lesage | sylvain.lesage@huggingface.co | 2023-09-04T16:38:47 | fix: π upgrade gitpython (#1761) | diff --git a/e2e/poetry.lock b/e2e/poetry.lock
index f7db8814..78d8b6a5 100644
--- a/e2e/poetry.lock
+++ b/e2e/poetry.lock
@@ -420 +420 @@ name = "gitpython"
-version = "3.1.32"
+version = "3.1.34"
@@ -426,2 +426,2 @@ files = [
- {file = "GitPython-3.1.32-py3-none-any.whl", hash = "sha256:e3d59b1c2c6ebb9dfa7a184daf3... |
56cc59bf49678916804449753fb499cdaad6d65d | Quentin Lhoest | 42851186+lhoestq@users.noreply.github.com | 2023-09-04T16:31:45 | More memory for workers (#1759) | diff --git a/chart/env/prod.yaml b/chart/env/prod.yaml
index 31c92569..6933adb4 100644
--- a/chart/env/prod.yaml
+++ b/chart/env/prod.yaml
@@ -350 +350 @@ workers:
- replicas: 100
+ replicas: 64
@@ -354 +354 @@ workers:
- memory: "8Gi"
+ memory: "16Gi"
@@ -357 +357 @@ workers:
- memory: "8Gi"... |
0430d6d12a25da7b4ca4a05fde73dd8fff0e2d44 | Sylvain Lesage | sylvain.lesage@huggingface.co | 2023-09-04T16:29:51 | feat: πΈ increase resources for admin service (#1760) | diff --git a/chart/env/prod.yaml b/chart/env/prod.yaml
index 2511bf9f..31c92569 100644
--- a/chart/env/prod.yaml
+++ b/chart/env/prod.yaml
@@ -245 +245 @@ ingress:
- - "datasets-server.huggingface.co"
+ - "datasets-server.huggingface.co"
@@ -273 +273 @@ admin:
- replicas: 1
+ replicas: 2
@@ -279 +279 @@ a... |
6befc0b5928effd2a1df108ce9df41ab18cf965e | Sylvain Lesage | sylvain.lesage@huggingface.co | 2023-09-04T14:09:54 | ci: π‘ upgrade github action (#1757) | diff --git a/.github/workflows/_e2e_tests.yml b/.github/workflows/_e2e_tests.yml
index 7819cfeb..94be4ede 100644
--- a/.github/workflows/_e2e_tests.yml
+++ b/.github/workflows/_e2e_tests.yml
@@ -22 +22 @@ jobs:
- uses: actions/checkout@v3
+ uses: actions/checkout@v4
diff --git a/.github/workflows/_quality... |
823aa9171eb47b01c53b9518fba060f5f2bb9e3d | Quentin Lhoest | 42851186+lhoestq@users.noreply.github.com | 2023-09-04T13:32:06 | Add blockedDatasets variable (#1751) | diff --git a/chart/templates/_env/_envWorker.tpl b/chart/templates/_env/_envWorker.tpl
index d5401ff7..087b2647 100644
--- a/chart/templates/_env/_envWorker.tpl
+++ b/chart/templates/_env/_envWorker.tpl
@@ -4,0 +5,2 @@
+- name: WORKER_BLOCKED_DATASETS
+ value: {{ .Values.worker.blockedDatasets | quote}}
diff --git a/c... |
6f7b726c7bcc500c5d6547ae59139fe04420a5cd | Quentin Lhoest | 42851186+lhoestq@users.noreply.github.com | 2023-09-04T12:54:57 | Index partial parquet (#1750) | diff --git a/services/search/src/search/routes/search.py b/services/search/src/search/routes/search.py
index a391ef1e..df453c43 100644
--- a/services/search/src/search/routes/search.py
+++ b/services/search/src/search/routes/search.py
@@ -248 +248,5 @@ def create_search_endpoint(
- repo_file_location... |
9e0d3c4a0ce901d71043d8b50141bb7515c8a6b8 | Andrea Francis Soria Jimenez | andrea@huggingface.co | 2023-09-04T12:52:26 | fix: Error response in rows when cache is failed (#1747) | diff --git a/libs/libapi/src/libapi/utils.py b/libs/libapi/src/libapi/utils.py
index e39833b6..158f51d7 100644
--- a/libs/libapi/src/libapi/utils.py
+++ b/libs/libapi/src/libapi/utils.py
@@ -17,0 +18,5 @@ from libcommon.rows_utils import transform_rows
+from libcommon.simple_cache import (
+ CACHED_RESPONSE_NOT_FOUN... |
2c5dc44d2469db88babebde777c590f78c4fcbea | Polina Kazakova | polina@huggingface.co | 2023-09-01T12:53:08 | improve error messages in statistics worker (#1745) | 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 01de5099..ceb9c9ac 100644
--- a/services/worker/src/worker/job_runners/split/descriptive_statistics.py
+++ b/services/worker/src/worker/job_runners/split/des... |
560d72910c103c68e1838573bb360459e4a2b857 | Quentin Lhoest | 42851186+lhoestq@users.noreply.github.com | 2023-09-01T10:24:24 | Support audio in rows and search (#1743) | diff --git a/libs/libcommon/src/libcommon/rows_utils.py b/libs/libcommon/src/libcommon/rows_utils.py
index af05f1a7..8031e329 100644
--- a/libs/libcommon/src/libcommon/rows_utils.py
+++ b/libs/libcommon/src/libcommon/rows_utils.py
@@ -4 +4,2 @@
-from typing import List, Optional
+from functools import partial
+from typ... |
92d6676e91df92e643b76dd86971667bbdabf520 | Quentin Lhoest | 42851186+lhoestq@users.noreply.github.com | 2023-08-31T22:57:01 | Search for nested data (#1735) | diff --git a/services/worker/src/worker/job_runners/split/duckdb_index.py b/services/worker/src/worker/job_runners/split/duckdb_index.py
index 33061ae4..b037b8ec 100644
--- a/services/worker/src/worker/job_runners/split/duckdb_index.py
+++ b/services/worker/src/worker/job_runners/split/duckdb_index.py
@@ -3,0 +4 @@
+im... |
fdba2ab8a460977a4a57b9de393ec7bec7bc1f9e | Quentin Lhoest | 42851186+lhoestq@users.noreply.github.com | 2023-08-31T10:18:19 | ignore vuln (#1746) | diff --git a/.github/workflows/_quality-python.yml b/.github/workflows/_quality-python.yml
index 74f10fca..c00daf88 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-wfm5-v35h-vwf4 -r <(poetry... |
fed4257b88b0491af32a60889b1cb83d6c10e9f2 | Quentin Lhoest | 42851186+lhoestq@users.noreply.github.com | 2023-08-31T10:03:39 | ignore gitpython vuln (#1744) | diff --git a/.github/workflows/_quality-python.yml b/.github/workflows/_quality-python.yml
index 39c3fb2b..74f10fca 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... |
19f6480e0df33dd60f831ae2683ce56c36401993 | Quentin Lhoest | 42851186+lhoestq@users.noreply.github.com | 2023-08-29T14:16:43 | add error msg (#1741) | diff --git a/front/admin_ui/app.py b/front/admin_ui/app.py
index c63bdb55..83f863f6 100644
--- a/front/admin_ui/app.py
+++ b/front/admin_ui/app.py
@@ -212,2 +212,2 @@ with gr.Blocks() as demo:
- cached_responses_table: gr.update(value=None),
- jobs_table: gr.update(value=None)
+ ... |
060a008dacd9bbfd783d9476908aec51e73313a6 | Polina Kazakova | polina@huggingface.co | 2023-08-29T09:23:14 | Raise custom disk error in job runners with cache when `PermissionError` is raised (#1738) | diff --git a/libs/libcommon/src/libcommon/exceptions.py b/libs/libcommon/src/libcommon/exceptions.py
index fd4c17e9..d7032deb 100644
--- a/libs/libcommon/src/libcommon/exceptions.py
+++ b/libs/libcommon/src/libcommon/exceptions.py
@@ -89,0 +90 @@ CacheableErrorCode = Literal[
+ "DiskError",
@@ -256,0 +258,13 @@ clas... |
a6a92fa0219a1fa4bdd12d85b5337c34ca03f532 | Sylvain Lesage | sylvain.lesage@huggingface.co | 2023-08-28T16:16:38 | feat: πΈ create step dataset-hub-cache (#1732) | diff --git a/libs/libcommon/src/libcommon/config.py b/libs/libcommon/src/libcommon/config.py
index f4341e09..35f76992 100644
--- a/libs/libcommon/src/libcommon/config.py
+++ b/libs/libcommon/src/libcommon/config.py
@@ -21,0 +22 @@ from libcommon.constants import (
+ PROCESSING_STEP_DATASET_HUB_CACHE_VERSION,
@@ -370... |
f78f0ff5e29593658bc4c1f18fdaaf42866b93d8 | Quentin Lhoest | 42851186+lhoestq@users.noreply.github.com | 2023-08-28T16:14:56 | block open-llm-leaderboard (#1734) | diff --git a/chart/env/prod.yaml b/chart/env/prod.yaml
index abb4f17b..2511bf9f 100644
--- a/chart/env/prod.yaml
+++ b/chart/env/prod.yaml
@@ -132 +132 @@ parquetAndInfo:
- blockedDatasets: "Graphcore/gqa,Graphcore/gqa-lxmert,Graphcore/vqa,Graphcore/vqa-lxmert,echarlaix/gqa-lxmert,echarlaix/vqa,echarlaix/vqa-lxmert,Ka... |
44ab0bc336ddc99380e0b783277f47d92cadda79 | Sylvain Lesage | sylvain.lesage@huggingface.co | 2023-08-28T14:54:39 | feat: πΈ increase the number of pods for /search (#1736) | diff --git a/chart/env/prod.yaml b/chart/env/prod.yaml
index 915c7bfe..abb4f17b 100644
--- a/chart/env/prod.yaml
+++ b/chart/env/prod.yaml
@@ -331 +331 @@ search:
- replicas: 2
+ replicas: 12 |
adcd2932f1576ef7995c01e232867c491de15b88 | Guillaume LEGENDRE | glegendre01@gmail.com | 2023-08-28T14:49:33 | fix tailscale (#1737) | diff --git a/.github/workflows/chart-pr.yml b/.github/workflows/chart-pr.yml
index 93880b23..3946060d 100644
--- a/.github/workflows/chart-pr.yml
+++ b/.github/workflows/chart-pr.yml
@@ -38 +38 @@ jobs:
- uses: tailscale/github-action@v1
+ uses: tailscale/github-action@main
@@ -40,0 +41 @@ jobs:
+ ... |
008c0c8bc7d6cc6d21927b2759cef96b05970edc | Quentin Lhoest | 42851186+lhoestq@users.noreply.github.com | 2023-08-27T16:11:20 | Add TTL for unicity_id locks (#1728) | diff --git a/jobs/mongodb_migration/src/mongodb_migration/migrations/_20230825170200_lock_add_ttl.py b/jobs/mongodb_migration/src/mongodb_migration/migrations/_20230825170200_lock_add_ttl.py
new file mode 100644
index 00000000..258624ee
--- /dev/null
+++ b/jobs/mongodb_migration/src/mongodb_migration/migrations/_202308... |
7f2ab512aab2c710869a386f43b8e898c32ff173 | Andrea Francis Soria Jimenez | andrea@huggingface.co | 2023-08-25T19:38:33 | fix: Change score alias name in FST query (#1730) | diff --git a/services/search/src/search/routes/search.py b/services/search/src/search/routes/search.py
index 5e7a5960..be4310a9 100644
--- a/services/search/src/search/routes/search.py
+++ b/services/search/src/search/routes/search.py
@@ -59,2 +59,2 @@ FTS_COMMAND_COUNT = (
- "SELECT COUNT(*) FROM (SELECT __hf_index... |
9443cf55c19e312688a33e9dbb6d4a9e13972e19 | Polina Kazakova | polina@huggingface.co | 2023-08-25T14:45:27 | Download parquet files with huggingface_hub instead of duckdb in `split-descriptive-statistics` (#1719) | diff --git a/e2e/tests/test_11_api.py b/e2e/tests/test_11_api.py
index d380be47..fcdac99a 100644
--- a/e2e/tests/test_11_api.py
+++ b/e2e/tests/test_11_api.py
@@ -61,0 +62 @@ def test_auth_e2e(
+ ("/statistics", "split"),
diff --git a/services/worker/src/worker/config.py b/services/worker/src/worker/config.py
in... |
1847b40e7fe51dfef1c24c2330e801a1e4a6d4a5 | Quentin Lhoest | 42851186+lhoestq@users.noreply.github.com | 2023-08-25T10:20:04 | Use features in search (#1725) | diff --git a/jobs/mongodb_migration/src/mongodb_migration/migrations/_20230824154900_cache_add_features_field_in_split_duckdb_index.py b/jobs/mongodb_migration/src/mongodb_migration/migrations/_20230824154900_cache_add_features_field_in_split_duckdb_index.py
new file mode 100644
index 00000000..bd3f09db
--- /dev/null
+... |
201142fc3a95be0e2ccd8f577e3e3d8b596bd092 | Quentin Lhoest | 42851186+lhoestq@users.noreply.github.com | 2023-08-24T15:16:43 | block KakologArchives/KakologArchives (#1724) | diff --git a/chart/env/prod.yaml b/chart/env/prod.yaml
index 72fc224b..915c7bfe 100644
--- a/chart/env/prod.yaml
+++ b/chart/env/prod.yaml
@@ -132 +132 @@ parquetAndInfo:
- blockedDatasets: "Graphcore/gqa,Graphcore/gqa-lxmert,Graphcore/vqa,Graphcore/vqa-lxmert,echarlaix/gqa-lxmert,echarlaix/vqa,echarlaix/vqa-lxmert"
+... |
07a290a9eaaa71f2597b9e1376294a1aa8461eac | Sylvain Lesage | sylvain.lesage@huggingface.co | 2023-08-23T21:41:57 | fix: π expose X-Error-Code and X-Revision headers to browser (#1723) | diff --git a/libs/libapi/src/libapi/utils.py b/libs/libapi/src/libapi/utils.py
index 68053db4..e39833b6 100644
--- a/libs/libapi/src/libapi/utils.py
+++ b/libs/libapi/src/libapi/utils.py
@@ -55,0 +56,7 @@ def get_json_response(
+# these headers are exposed to the client (browser)
+EXPOSED_HEADERS = [
+ "X-Error-Code... |
34c8a31f1c81994323d785f143421fe4c43849b4 | Andrea Francis Soria Jimenez | andrea@huggingface.co | 2023-08-23T20:00:12 | Increase resources and change queue metrics time (#1721) | diff --git a/chart/env/prod.yaml b/chart/env/prod.yaml
index b888d79a..72fc224b 100644
--- a/chart/env/prod.yaml
+++ b/chart/env/prod.yaml
@@ -198,2 +198,2 @@ queueMetricsCollector:
- schedule: "*/2 * * * *"
- # every two minutes
+ schedule: "0 */2 * * *"
+ # every two hours
@@ -351 +351 @@ workers:
- replicas: ... |
64455374b42782e8f78cf72d5ab239ab6541c1c2 | Andrea Francis Soria Jimenez | andrea@huggingface.co | 2023-08-23T13:52:40 | Download parquet in split-duckdb-index (#1717) | diff --git a/services/worker/src/worker/job_runners/split/duckdb_index.py b/services/worker/src/worker/job_runners/split/duckdb_index.py
index 5c9921d1..ba42e53a 100644
--- a/services/worker/src/worker/job_runners/split/duckdb_index.py
+++ b/services/worker/src/worker/job_runners/split/duckdb_index.py
@@ -4,0 +5 @@ imp... |
2f827a6674e7696b1bdcb286e2a9a01f3a857dd1 | Quentin Lhoest | 42851186+lhoestq@users.noreply.github.com | 2023-08-22T19:50:52 | start job only if waiting (#1716) | diff --git a/libs/libcommon/src/libcommon/queue.py b/libs/libcommon/src/libcommon/queue.py
index a0db6ba1..c77ec220 100644
--- a/libs/libcommon/src/libcommon/queue.py
+++ b/libs/libcommon/src/libcommon/queue.py
@@ -683 +683 @@ class Queue:
- first_job.update(
+ if not JobDocument.objects(p... |
87162a157df8559d700e9d18e229182d2e197076 | Andrea Francis Soria Jimenez | andrea@huggingface.co | 2023-08-21T15:47:04 | Reduce resources (#1715) | diff --git a/chart/env/prod.yaml b/chart/env/prod.yaml
index 7e6f7eb7..b888d79a 100644
--- a/chart/env/prod.yaml
+++ b/chart/env/prod.yaml
@@ -351 +351 @@ workers:
- replicas: 96
+ replicas: 50
@@ -368 +368 @@ workers:
- replicas: 32
+ replicas: 20 |
3baae47d68d7e1c34d7fb4e78f2deaf15a2d10ea | Quentin Lhoest | 42851186+lhoestq@users.noreply.github.com | 2023-08-21T10:43:35 | Update requirements.txt (#1714) | diff --git a/front/admin_ui/requirements.txt b/front/admin_ui/requirements.txt
index 3f903ace..72b506fd 100644
--- a/front/admin_ui/requirements.txt
+++ b/front/admin_ui/requirements.txt
@@ -6 +6 @@ requests>=2.28.1
-huggingface-hub~=0.15.1
+huggingface-hub~=0.16.4 |
020420ec8339ef2e7f5a53d8f3ad9ac301089aba | Sylvain Lesage | sylvain.lesage@huggingface.co | 2023-08-18T21:23:10 | New attempt jwt array (#1711) | diff --git a/chart/Chart.yaml b/chart/Chart.yaml
index 84f404b9..483a7337 100644
--- a/chart/Chart.yaml
+++ b/chart/Chart.yaml
@@ -21 +21 @@ type: application
-version: 1.16.3
+version: 1.17.0
diff --git a/chart/env/prod.yaml b/chart/env/prod.yaml
index efe374e1..7e6f7eb7 100644
--- a/chart/env/prod.yaml
+++ b/chart/en... |
213f28b1f4e699b246439ade86fd77e26197dcf3 | Sylvain Lesage | sylvain.lesage@huggingface.co | 2023-08-18T15:58:38 | Revert "Create jwt array again (#1708)" (#1709) | diff --git a/chart/Chart.yaml b/chart/Chart.yaml
index 483a7337..84f404b9 100644
--- a/chart/Chart.yaml
+++ b/chart/Chart.yaml
@@ -21 +21 @@ type: application
-version: 1.17.0
+version: 1.16.3
diff --git a/chart/env/prod.yaml b/chart/env/prod.yaml
index 7e6f7eb7..efe374e1 100644
--- a/chart/env/prod.yaml
+++ b/chart/en... |
45cd1298b62f8f923eb6bb7763ef8824a397e242 | Sylvain Lesage | sylvain.lesage@huggingface.co | 2023-08-18T15:03:53 | Create jwt array again (#1708) | diff --git a/chart/Chart.yaml b/chart/Chart.yaml
index 84f404b9..483a7337 100644
--- a/chart/Chart.yaml
+++ b/chart/Chart.yaml
@@ -21 +21 @@ type: application
-version: 1.16.3
+version: 1.17.0
diff --git a/chart/env/prod.yaml b/chart/env/prod.yaml
index efe374e1..7e6f7eb7 100644
--- a/chart/env/prod.yaml
+++ b/chart/en... |
59c59e801d8dc4648a0bbd7708202448c1f2d6ae | Sylvain Lesage | sylvain.lesage@huggingface.co | 2023-08-18T14:50:34 | Revert both (#1707) | diff --git a/chart/env/prod.yaml b/chart/env/prod.yaml
index 7e6f7eb7..efe374e1 100644
--- a/chart/env/prod.yaml
+++ b/chart/env/prod.yaml
@@ -79 +78,0 @@ secrets:
- API_HF_JWT_ADDITIONAL_PUBLIC_KEYS: "hub-prod-datasets-server-jwt-additional-public-keys"
@@ -92,3 +90,0 @@ secrets:
- hfJwtAdditionalPublicKeys:
- ... |
f1ca820bbdf9c9a22de46b81e802bab11c7f633d | Sylvain Lesage | sylvain.lesage@huggingface.co | 2023-08-18T14:48:25 | Revert "Add unique compound index to cache metric (#1703)" (#1706) | diff --git a/libs/libcommon/src/libcommon/simple_cache.py b/libs/libcommon/src/libcommon/simple_cache.py
index 59cb63ae..3efed875 100644
--- a/libs/libcommon/src/libcommon/simple_cache.py
+++ b/libs/libcommon/src/libcommon/simple_cache.py
@@ -147,6 +146,0 @@ class CacheTotalMetricDocument(Document):
- "indexes":... |
1837ce7077d6972360580b761cfabee0cac229a7 | Sylvain Lesage | sylvain.lesage@huggingface.co | 2023-08-18T13:58:15 | Use multiple keys for jwt decoding (#1704) | diff --git a/chart/env/prod.yaml b/chart/env/prod.yaml
index efe374e1..7e6f7eb7 100644
--- a/chart/env/prod.yaml
+++ b/chart/env/prod.yaml
@@ -78,0 +79 @@ secrets:
+ API_HF_JWT_ADDITIONAL_PUBLIC_KEYS: "hub-prod-datasets-server-jwt-additional-public-keys"
@@ -90,0 +92,3 @@ secrets:
+ hfJwtAdditionalPublicKeys:
+ ... |
ab99a259cbf9f961a5286a583239db8d50677e8e | Andrea Francis Soria Jimenez | andrea@huggingface.co | 2023-08-17T21:13:58 | Add unique compound index to cache metric (#1703) | diff --git a/libs/libcommon/src/libcommon/simple_cache.py b/libs/libcommon/src/libcommon/simple_cache.py
index 3efed875..59cb63ae 100644
--- a/libs/libcommon/src/libcommon/simple_cache.py
+++ b/libs/libcommon/src/libcommon/simple_cache.py
@@ -146,0 +147,6 @@ class CacheTotalMetricDocument(Document):
+ "indexes":... |
3bef3f91f9d508fc67ecdc93720f952a9724bf5b | Andrea Francis Soria Jimenez | andrea@huggingface.co | 2023-08-17T20:32:18 | Temporarily delete index (#1702) | diff --git a/libs/libcommon/src/libcommon/simple_cache.py b/libs/libcommon/src/libcommon/simple_cache.py
index aad7c819..3efed875 100644
--- a/libs/libcommon/src/libcommon/simple_cache.py
+++ b/libs/libcommon/src/libcommon/simple_cache.py
@@ -147 +146,0 @@ class CacheTotalMetricDocument(Document):
- "indexes": [... |
641bfb9981e9268be7cc2193d28909d82a42d46e | Andrea Francis Soria Jimenez | andrea@huggingface.co | 2023-08-17T19:15:46 | Set collect cache metrics as default schedule (#1701) | diff --git a/chart/env/prod.yaml b/chart/env/prod.yaml
index 90eb793d..efe374e1 100644
--- a/chart/env/prod.yaml
+++ b/chart/env/prod.yaml
@@ -192,4 +191,0 @@ backfill:
-cacheMetricsCollector:
- action: "collect-cache-metrics"
- schedule: "*/10 * * * *"
- |
65ba08c5a65ad47cc238f4f0a3c1ffbfcb369b52 | Quentin Lhoest | 42851186+lhoestq@users.noreply.github.com | 2023-08-17T18:41:30 | Parquet renames docs (#1691) | diff --git a/docs/source/analyze_data.mdx b/docs/source/analyze_data.mdx
index e6c1a673..1c7231f1 100644
--- a/docs/source/analyze_data.mdx
+++ b/docs/source/analyze_data.mdx
@@ -27 +27 @@ print(data)
- {'dataset': 'codeparrot/codecomplex', 'config': 'codeparrot--codecomplex', 'split': 'train', 'url': 'https://h... |
320d1a510eb7902c2dd123284e160af0a2b623f0 | Quentin Lhoest | 42851186+lhoestq@users.noreply.github.com | 2023-08-17T18:05:10 | Fix start job lock owner (#1699) | diff --git a/libs/libcommon/src/libcommon/queue.py b/libs/libcommon/src/libcommon/queue.py
index 6973705c..a0db6ba1 100644
--- a/libs/libcommon/src/libcommon/queue.py
+++ b/libs/libcommon/src/libcommon/queue.py
@@ -14,0 +15 @@ from typing import Generic, List, Literal, Optional, Sequence, Type, TypedDict,
+from uuid im... |
657b4a3b41eae0a9a52cda8b242b425aed8b895d | Andrea Francis Soria Jimenez | andrea@huggingface.co | 2023-08-17T17:20:20 | Remove unique index (#1700) | diff --git a/chart/env/prod.yaml b/chart/env/prod.yaml
index efe374e1..90eb793d 100644
--- a/chart/env/prod.yaml
+++ b/chart/env/prod.yaml
@@ -191,0 +192,4 @@ backfill:
+cacheMetricsCollector:
+ action: "collect-cache-metrics"
+ schedule: "*/10 * * * *"
+
diff --git a/libs/libcommon/src/libcommon/simple_cache.py b/li... |
b2a5d1c079c74b4e3dc5a980314e009fe64725a2 | Andrea Francis Soria Jimenez | andrea@huggingface.co | 2023-08-17T16:31:50 | Rollback queue incremental metrics (#1698) | diff --git a/chart/env/prod.yaml b/chart/env/prod.yaml
index a6ad32ac..efe374e1 100644
--- a/chart/env/prod.yaml
+++ b/chart/env/prod.yaml
@@ -194,2 +194,2 @@ queueMetricsCollector:
- schedule: "*/10 * * * *"
- # every ten minutes, then it will be changed to default
+ schedule: "*/2 * * * *"
+ # every two minutes
d... |
f8af3ca5fa9b1161eca1e368cb7ae46ad3fe4591 | Sylvain Lesage | sylvain.lesage@huggingface.co | 2023-08-17T16:08:48 | feat: πΈ allow passing JWT on authorization header + raise error is invalid (#1693) | diff --git a/docs/source/openapi.json b/docs/source/openapi.json
index d02f031e..ae4cd5f4 100644
--- a/docs/source/openapi.json
+++ b/docs/source/openapi.json
@@ -1269 +1269 @@
- "HuggingFaceCookie": {
+ "CookieHuggingFace": {
@@ -1275 +1275 @@
- "HuggingFaceToken": {
+ "AuthorizationHuggingFaceApiT... |
5af6fc35828e8e5990726f9cccc419a7aee1745b | Andrea Francis Soria Jimenez | andrea@huggingface.co | 2023-08-17T15:10:32 | Add unique constraint (#1697) | diff --git a/libs/libcommon/src/libcommon/simple_cache.py b/libs/libcommon/src/libcommon/simple_cache.py
index aad7c819..7d89142d 100644
--- a/libs/libcommon/src/libcommon/simple_cache.py
+++ b/libs/libcommon/src/libcommon/simple_cache.py
@@ -138 +138 @@ class CacheTotalMetricDocument(Document):
- kind = StringField... |
7ea0171705354f7c3c6a4d47340d6c77429b0618 | Andrea Francis Soria Jimenez | andrea@huggingface.co | 2023-08-17T13:56:33 | Lock queue metrics while update (#1695) | diff --git a/libs/libcommon/src/libcommon/queue.py b/libs/libcommon/src/libcommon/queue.py
index 4cb0fe79..2aeacba4 100644
--- a/libs/libcommon/src/libcommon/queue.py
+++ b/libs/libcommon/src/libcommon/queue.py
@@ -399 +399,6 @@ def _update_metrics(job_type: str, status: str, increase_by: int) -> None:
- JobTotalMet... |
13630f275b8eb45db0f7e4cff67b75bebdb65d5a | Quentin Lhoest | 42851186+lhoestq@users.noreply.github.com | 2023-08-16T15:55:51 | Increase config-parquet-and-info version (#1692) | diff --git a/chart/env/prod.yaml b/chart/env/prod.yaml
index e880b161..a6ad32ac 100644
--- a/chart/env/prod.yaml
+++ b/chart/env/prod.yaml
@@ -347 +347 @@ workers:
- replicas: 24
+ replicas: 96
@@ -364 +364 @@ workers:
- replicas: 8
+ replicas: 32
diff --git a/libs/libcommon/src/libcommon/constants.py b/lib... |
9b07e466422af7f5f59c2718b4c88603476883cf | Quentin Lhoest | 42851186+lhoestq@users.noreply.github.com | 2023-08-16T15:35:21 | Rename parquet files (#1685) | diff --git a/services/rows/tests/routes/test_rows.py b/services/rows/tests/routes/test_rows.py
index 68bfec92..666c2355 100644
--- a/services/rows/tests/routes/test_rows.py
+++ b/services/rows/tests/routes/test_rows.py
@@ -46 +46 @@ def ds_fs(ds: Dataset, tmpfs: AbstractFileSystem) -> Generator[AbstractFileSyste
- w... |
9ef82d0b6e6eeabd18fafac8ee4a9bd38a5915c5 | Sylvain Lesage | sylvain.lesage@huggingface.co | 2023-08-16T15:20:56 | feat: πΈ add num_rows_per_page in /rows and /search responses (#1688) | diff --git a/docs/source/openapi.json b/docs/source/openapi.json
index 8841032c..d02f031e 100644
--- a/docs/source/openapi.json
+++ b/docs/source/openapi.json
@@ -314 +314 @@
- "required": ["features", "rows", "num_total_rows"],
+ "required": ["features", "rows", "num_rows_total", "num_rows_per_page"],
@@... |
839dd7d0e097550c661c230a664d12db8f0caee3 | Andrea Francis Soria Jimenez | andrea@huggingface.co | 2023-08-15T20:14:17 | Incremental queue metrics (#1684) | diff --git a/chart/env/prod.yaml b/chart/env/prod.yaml
index 724b7059..e880b161 100644
--- a/chart/env/prod.yaml
+++ b/chart/env/prod.yaml
@@ -194,2 +194,2 @@ queueMetricsCollector:
- schedule: "*/2 * * * *"
- # every two minutes
+ schedule: "*/10 * * * *"
+ # every ten minutes, then it will be changed to default
d... |
6c0d89ae9b2eb6f091589e01b56880a91dcf252e | Quentin Lhoest | 42851186+lhoestq@users.noreply.github.com | 2023-08-14T22:31:46 | fix legacy_filename_pattern (#1680) | diff --git a/services/worker/src/worker/job_runners/config/parquet_and_info.py b/services/worker/src/worker/job_runners/config/parquet_and_info.py
index 2bcb2b9b..18fc4e84 100644
--- a/services/worker/src/worker/job_runners/config/parquet_and_info.py
+++ b/services/worker/src/worker/job_runners/config/parquet_and_info.... |
2fd9a6d27ccb1c6d64518901190bb064b37e4ba6 | Sylvain Lesage | sylvain.lesage@huggingface.co | 2023-08-14T18:51:00 | feat: πΈ be more specific in OpenAPI type (#1682) | diff --git a/docs/source/openapi.json b/docs/source/openapi.json
index 3d01e658..8841032c 100644
--- a/docs/source/openapi.json
+++ b/docs/source/openapi.json
@@ -221 +221 @@
- "type": "object"
+ "$ref": "#/components/schemas/CustomError"
@@ -1763,0 +1764,93 @@
+ },
+ ... |
4e6c05dd1b03276b8117469c5b1ac82a4d8429df | Sylvain Lesage | sylvain.lesage@huggingface.co | 2023-08-14T16:56:32 | Some refactors (#1679) | diff --git a/chart/templates/services/admin/_container.tpl b/chart/templates/services/admin/_container.tpl
index 85919f20..5e9d9042 100644
--- a/chart/templates/services/admin/_container.tpl
+++ b/chart/templates/services/admin/_container.tpl
@@ -9 +8,0 @@
- {{ include "envAssets" . | nindent 2 }}
@@ -14,0 +14,2 @@
+ ... |
66a69725deda4d1c3f929125b90ffbbc5fcbe196 | Sylvain Lesage | sylvain.lesage@huggingface.co | 2023-08-14T16:56:17 | fix: π fix the optional types in OpenAPI (#1681) | diff --git a/docs/source/openapi.json b/docs/source/openapi.json
index c426cc06..3d01e658 100644
--- a/docs/source/openapi.json
+++ b/docs/source/openapi.json
@@ -809,3 +809 @@
- "split": {
- "type": ["string", "null"]
- }
+ "split": { "anyOf": [{ "type": "string" }, { "type": "nul... |
aad4704e68ced5a44f7f7c2e1efeb3793ff94a00 | Andrea Francis Soria Jimenez | andrea@huggingface.co | 2023-08-14T13:56:16 | Fix disk metrics (#1678) | diff --git a/libs/libcommon/src/libcommon/prometheus.py b/libs/libcommon/src/libcommon/prometheus.py
index bb348721..26c29e3b 100644
--- a/libs/libcommon/src/libcommon/prometheus.py
+++ b/libs/libcommon/src/libcommon/prometheus.py
@@ -106,4 +106,4 @@ def update_disk_gauge(gauge: Gauge, directory: StrPath) -> None:
- ... |
6ba8c958bce89cfc071e51da2ae97b9b7a286e47 | Sylvain Lesage | sylvain.lesage@huggingface.co | 2023-08-11T20:51:44 | feat: πΈ add metrics for all the volumes (#1674) | diff --git a/chart/Chart.yaml b/chart/Chart.yaml
index d6f9eb5c..84f404b9 100644
--- a/chart/Chart.yaml
+++ b/chart/Chart.yaml
@@ -21 +21 @@ type: application
-version: 1.16.2
+version: 1.16.3
diff --git a/chart/templates/_volumeMounts/_volumeMountDescriptiveStatistics.tpl b/chart/templates/_volumeMounts/_volumeMountDe... |
0e3476541d1a4ebe6862e924e3661d92c2e0635e | Sylvain Lesage | sylvain.lesage@huggingface.co | 2023-08-11T20:42:26 | fix: π fix vulnerability in gitpython (#1677) | diff --git a/e2e/poetry.lock b/e2e/poetry.lock
index 8631d58d..f7db8814 100644
--- a/e2e/poetry.lock
+++ b/e2e/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.
@@ -420... |
602bbde0f263129638569010d910a3465f43cf6f | Andrea Francis Soria Jimenez | andrea@huggingface.co | 2023-08-11T19:33:38 | Set cron schedule to default value (#1673) | diff --git a/chart/env/prod.yaml b/chart/env/prod.yaml
index 9cc593d0..724b7059 100644
--- a/chart/env/prod.yaml
+++ b/chart/env/prod.yaml
@@ -205,13 +204,0 @@ queueMetricsCollector:
-cacheMetricsCollector:
- action: "collect-cache-metrics"
- schedule: "*/10 * * * *"
- # every ten minutes first time, then it will be... |
7e53189b5ac538bdfb7018a536d1dca93b927872 | Sylvain Lesage | sylvain.lesage@huggingface.co | 2023-08-11T19:29:58 | fix: π update the OpenAPI spec (#1667) | diff --git a/.spectral.yml b/.spectral.yml
new file mode 100644
index 00000000..1f74425c
--- /dev/null
+++ b/.spectral.yml
@@ -0,0 +1,3 @@
+extends: spectral:oas
+rules:
+ operation-tags: off
diff --git a/.vscode/monorepo.code-workspace b/.vscode/monorepo.code-workspace
index 6fe77b3d..d76454eb 100644
--- a/.vscode/mo... |
cf8042da9a2325a1d5706dbecded9b187d5cc8db | Sylvain Lesage | sylvain.lesage@huggingface.co | 2023-08-11T18:18:04 | feat: πΈ move openapi.json to the docs (#1672) | diff --git a/.github/workflows/e2e.yml b/.github/workflows/e2e.yml
index 3fbd1662..dc7b787e 100644
--- a/.github/workflows/e2e.yml
+++ b/.github/workflows/e2e.yml
@@ -14 +14 @@ on:
- - "chart/static-files/openapi.json"
+ - "docs/source/openapi.json"
@@ -25 +25 @@ on:
- - "chart/static-files/openapi.json"... |
7b51acfce7005839a50a113d561f526eeef043ad | Andrea Francis Soria Jimenez | andrea@huggingface.co | 2023-08-11T16:59:03 | Incremental cache metrics (#1658) | diff --git a/chart/env/prod.yaml b/chart/env/prod.yaml
index 85f8182d..9cc593d0 100644
--- a/chart/env/prod.yaml
+++ b/chart/env/prod.yaml
@@ -160 +160 @@ cacheMaintenance:
- # ^ allowed values are {backfill, collect-metrics,skip}
+ # ^ allowed values are {backfill, collect-queue-metrics, collect-cache-metrics,skip}
... |
8cf67846ac6a54d8e903b70af34d4f0b7d7c7a6f | Andrea Francis Soria Jimenez | andrea@huggingface.co | 2023-08-11T16:38:57 | Adding temporaly StreamingRowsError to backfill (#1669) | diff --git a/libs/libcommon/src/libcommon/constants.py b/libs/libcommon/src/libcommon/constants.py
index 5add9c73..a06be35d 100644
--- a/libs/libcommon/src/libcommon/constants.py
+++ b/libs/libcommon/src/libcommon/constants.py
@@ -55 +55 @@ PARQUET_REVISION = "refs/convert/parquet"
-ERROR_CODES_TO_RETRY = "CreateCommit... |
4c189b1cfb51dd19d7c448478d51d0dcf2db86d1 | Albert Villanova del Moral | 8515462+albertvillanova@users.noreply.github.com | 2023-08-10T14:51:04 | Revert fix authentication with DownloadConfig (#1660) | diff --git a/services/worker/src/worker/job_runners/config/parquet_and_info.py b/services/worker/src/worker/job_runners/config/parquet_and_info.py
index d1f9713d..2bcb2b9b 100644
--- a/services/worker/src/worker/job_runners/config/parquet_and_info.py
+++ b/services/worker/src/worker/job_runners/config/parquet_and_info.... |
5a938cbed2f63b1e5a3be3014cfea6e1816a19ce | Albert Villanova del Moral | 8515462+albertvillanova@users.noreply.github.com | 2023-08-09T15:56:26 | Update datasets to 2.14.4 (#1653) | diff --git a/front/admin_ui/poetry.lock b/front/admin_ui/poetry.lock
index 67c60823..8175cc67 100644
--- a/front/admin_ui/poetry.lock
+++ b/front/admin_ui/poetry.lock
@@ -529 +529 @@ name = "datasets"
-version = "2.14.3"
+version = "2.14.4"
@@ -535,2 +535,2 @@ files = [
- {file = "datasets-2.14.3-py3-none-any.whl", ... |
4a70eba13cc7c17be613aad88450c713c51c059f | Sylvain Lesage | sylvain.lesage@huggingface.co | 2023-08-08T18:45:45 | fix: π TypeError: can't subtract offset-naive and offset-aware (#1651) | diff --git a/tools/stale.py b/tools/stale.py
index 50fb7b52..3dc5c7ff 100644
--- a/tools/stale.py
+++ b/tools/stale.py
@@ -10 +10 @@ Copied from https://github.com/huggingface/transformers
-from datetime import datetime as dt, timezone
+from datetime import datetime as dt
@@ -30 +30 @@ def main():
- now = dt.now... |
4c0d3609ca2263ee5640b04602709f31b421f931 | Albert Villanova del Moral | 8515462+albertvillanova@users.noreply.github.com | 2023-08-08T15:20:31 | Replace deprecated use_auth_token with token (#1578) | diff --git a/chart/static-files/openapi.json b/chart/static-files/openapi.json
index 378ae7c9..a6c7c14b 100644
--- a/chart/static-files/openapi.json
+++ b/chart/static-files/openapi.json
@@ -1248 +1248 @@
- " File \"/src/services/worker/src/worker/responses/splits.py\", line 38, in <listcomp>\n ... |
aeae747b89e596abab2e65250e78940cebf1c3e9 | Andrea Francis Soria Jimenez | andrea@huggingface.co | 2023-08-08T13:57:02 | feat: add search field to /is-valid (#1618) | diff --git a/e2e/tests/test_15_is_valid.py b/e2e/tests/test_15_is_valid.py
index 712b0cb4..007d9f0c 100644
--- a/e2e/tests/test_15_is_valid.py
+++ b/e2e/tests/test_15_is_valid.py
@@ -5 +5 @@ from .fixtures.hub import DatasetRepos
-from .utils import get
+from .utils import get, get_default_config_split
@@ -13,0 +14,8 @... |
08c0a9ea165b272e5f98b15be35f6410dda9bbce | Sylvain Lesage | sylvain.lesage@huggingface.co | 2023-08-08T03:31:11 | fix: π add missing volume declaration (#1650) | diff --git a/chart/templates/worker/_deployment.yaml b/chart/templates/worker/_deployment.yaml
index e51a9852..2e95d9ca 100644
--- a/chart/templates/worker/_deployment.yaml
+++ b/chart/templates/worker/_deployment.yaml
@@ -39,0 +40 @@ spec:
+ {{ include "volumeParquetMetadata" . | nindent 8 }} |
24611277c0c214025958f2682a65af42f18b4da9 | Sylvain Lesage | sylvain.lesage@huggingface.co | 2023-08-08T03:25:45 | feat: πΈ use EFS instead of NFS for parquet-metadata files (#1649) | diff --git a/chart/templates/_initContainers/_initContainerParquetMetadata.tpl b/chart/templates/_initContainers/_initContainerParquetMetadata.tpl
index 2473cff7..c7f218ad 100644
--- a/chart/templates/_initContainers/_initContainerParquetMetadata.tpl
+++ b/chart/templates/_initContainers/_initContainerParquetMetadata.t... |
b31f64f438235993bce9a063ded64fabced8f8bc | Sylvain Lesage | sylvain.lesage@huggingface.co | 2023-08-07T21:35:39 | feat: πΈ install latest version of rclone (#1648) | diff --git a/services/storage-admin/Dockerfile b/services/storage-admin/Dockerfile
index 5ef91acf..8b6892e4 100644
--- a/services/storage-admin/Dockerfile
+++ b/services/storage-admin/Dockerfile
@@ -7 +7 @@ RUN apt-get update \
- && DEBIAN_FRONTEND=noninteractive apt-get install -y rsync unzip wget curl rclone glanc... |
824667a5d46f57133201049040977a8ab0c90318 | Sylvain Lesage | sylvain.lesage@huggingface.co | 2023-08-07T21:23:35 | feat: πΈ reduce the number of cpus for storage admin (#1647) | diff --git a/chart/env/prod.yaml b/chart/env/prod.yaml
index ff56b467..85f8182d 100644
--- a/chart/env/prod.yaml
+++ b/chart/env/prod.yaml
@@ -213 +213 @@ storageAdmin:
- cpu: 8
+ cpu: 4
@@ -216 +216 @@ storageAdmin:
- cpu: 8
+ cpu: 4 |
cb6833d8f535a99322460b873b0febebca0c34e6 | Sylvain Lesage | sylvain.lesage@huggingface.co | 2023-08-07T21:11:08 | fix: π fix the dockerfile (#1645) | diff --git a/services/storage-admin/Dockerfile b/services/storage-admin/Dockerfile
index 6057307b..5ef91acf 100644
--- a/services/storage-admin/Dockerfile
+++ b/services/storage-admin/Dockerfile
@@ -7 +7 @@ RUN apt-get update \
- && apt-get install -y rsync unzip wget curl rclone glances \
+ && DEBIAN_FRONTEND=no... |
4d0a0ec6a250236828b51b02fb56cf6ff257f6f4 | Sylvain Lesage | sylvain.lesage@huggingface.co | 2023-08-07T20:53:03 | feat: πΈ use rclone on storage admin with multiple cores (#1644) | diff --git a/chart/env/prod.yaml b/chart/env/prod.yaml
index 8fc0cabe..ff56b467 100644
--- a/chart/env/prod.yaml
+++ b/chart/env/prod.yaml
@@ -213 +213 @@ storageAdmin:
- cpu: 1
+ cpu: 8
@@ -216 +216 @@ storageAdmin:
- cpu: 1
+ cpu: 8
diff --git a/services/storage-admin/Dockerfile b/services/storage... |
434ab85f13836b16ac370b00e80e03b46a532a52 | Sylvain Lesage | sylvain.lesage@huggingface.co | 2023-08-07T20:45:05 | feat: πΈ remove /admin/cancel-jobs/{job_type} (#1643) | diff --git a/libs/libcommon/src/libcommon/queue.py b/libs/libcommon/src/libcommon/queue.py
index a6512c63..25c1f43a 100644
--- a/libs/libcommon/src/libcommon/queue.py
+++ b/libs/libcommon/src/libcommon/queue.py
@@ -830,13 +829,0 @@ class Queue:
- def cancel_started_jobs(self, job_type: str) -> None:
- """Canc... |
e3110d0bda9cd308b16dbd3b12e0472f4738de31 | Sylvain Lesage | sylvain.lesage@huggingface.co | 2023-08-07T20:16:24 | feat: πΈ add RAM to the storage admin machine (#1642) | diff --git a/chart/env/prod.yaml b/chart/env/prod.yaml
index 1ce6961d..8fc0cabe 100644
--- a/chart/env/prod.yaml
+++ b/chart/env/prod.yaml
@@ -213,2 +213,2 @@ storageAdmin:
- cpu: 50m
- memory: "64Mi"
+ cpu: 1
+ memory: "4Gi"
@@ -217 +217 @@ storageAdmin:
- memory: "256Mi"
+ memory: "4Gi" |
ceae9848e675b8bf9e79915af12eeac137cb7f8a | Sylvain Lesage | sylvain.lesage@huggingface.co | 2023-08-07T20:10:14 | Reduce ram for rows and search (#1641) | diff --git a/chart/env/prod.yaml b/chart/env/prod.yaml
index 50615012..1ce6961d 100644
--- a/chart/env/prod.yaml
+++ b/chart/env/prod.yaml
@@ -315 +315 @@ rows:
- memory: "7Gi"
+ memory: "6500Mi"
@@ -318 +318 @@ rows:
- memory: "7Gi"
+ memory: "6500Mi"
@@ -327 +327 @@ search:
- replicas: 12
+ repl... |
46de6aca64ee8b825915805fbf33eba196954227 | Sylvain Lesage | sylvain.lesage@huggingface.co | 2023-08-07T19:54:18 | feat: πΈ reduce RAM from 8 to 7GiB for rows and search services (#1640) | diff --git a/chart/env/prod.yaml b/chart/env/prod.yaml
index c27fb119..50615012 100644
--- a/chart/env/prod.yaml
+++ b/chart/env/prod.yaml
@@ -315 +315 @@ rows:
- memory: "8Gi"
+ memory: "7Gi"
@@ -318 +318 @@ rows:
- memory: "8Gi"
+ memory: "7Gi"
@@ -333 +333 @@ search:
- memory: "8Gi"
+ m... |
2e147ee8e5d4bad397073abfe985274fee37b097 | Sylvain Lesage | sylvain.lesage@huggingface.co | 2023-08-07T19:48:10 | refactor: π‘ change labels to lowercase programmatically (#1639) | diff --git a/tools/stale.py b/tools/stale.py
index 4071353b..50fb7b52 100644
--- a/tools/stale.py
+++ b/tools/stale.py
@@ -17,5 +17,5 @@ from github import Github
-LABELS_TO_EXEMPT_IN_LOWERCASE = [
- "p0",
- "p1",
- "p2"
-]
+LABELS_TO_EXEMPT_IN_LOWERCASE = [label.lower() for label in [
+ "P0",
+ "P1",
+ ... |
82ab1f918422c1a7b76c2796265f78dc1f300d42 | Sylvain Lesage | sylvain.lesage@huggingface.co | 2023-08-07T19:31:44 | feat: πΈ reduce workers, and assign more RAM to /rows (#1638) | diff --git a/chart/env/prod.yaml b/chart/env/prod.yaml
index dfb51464..c27fb119 100644
--- a/chart/env/prod.yaml
+++ b/chart/env/prod.yaml
@@ -315 +315 @@ rows:
- memory: "6Gi"
+ memory: "8Gi"
@@ -333 +333 @@ search:
- memory: "4Gi"
+ memory: "8Gi"
@@ -347 +347 @@ workers:
- replicas: 100
+ re... |
664692d9022ba4083c3cb1e19e252d6fef072fd8 | Sylvain Lesage | sylvain.lesage@huggingface.co | 2023-08-07T19:17:50 | remove locks when finishing a job (#1637) | diff --git a/chart/templates/_env/_envWorker.tpl b/chart/templates/_env/_envWorker.tpl
index 1a3a08c6..d5401ff7 100644
--- a/chart/templates/_env/_envWorker.tpl
+++ b/chart/templates/_env/_envWorker.tpl
@@ -10,0 +11,2 @@
+- name: WORKER_KILL_LONG_JOB_INTERVAL_SECONDS
+ value: {{ .Values.worker.killLongJobIntervalSecon... |
f07c09159d3304951c10062ddc485e315fb4c850 | Sylvain Lesage | sylvain.lesage@huggingface.co | 2023-08-07T16:32:29 | ci: π‘ fix the stale bot (#1635) | diff --git a/tools/stale.py b/tools/stale.py
index 9a2a0d04..4071353b 100644
--- a/tools/stale.py
+++ b/tools/stale.py
@@ -10 +10 @@ Copied from https://github.com/huggingface/transformers
-from datetime import datetime as dt
+from datetime import datetime as dt, timezone
@@ -13,0 +14 @@ from github import Github
+# ^ ... |
e3f1371876d621cd9551b1ce693bfda2f6439373 | Andrea Francis Soria Jimenez | andrea@huggingface.co | 2023-08-04T20:08:38 | Set default values for staging and prod (#1634) | diff --git a/chart/env/prod.yaml b/chart/env/prod.yaml
index b9418f23..dfb51464 100644
--- a/chart/env/prod.yaml
+++ b/chart/env/prod.yaml
@@ -140 +140 @@ duckDBIndex:
- expiredTimeIntervalSeconds: 600
+ expiredTimeIntervalSeconds: 259_200 # 3 days
@@ -192,4 +191,0 @@ backfill:
-deleteIndexes:
- schedule: "*/10 * * ... |
f94b48642a4aaad608807db49697743b03112d91 | Andrea Francis Soria Jimenez | andrea@huggingface.co | 2023-08-04T19:53:17 | Test reducing index interval time (#1633) | diff --git a/chart/env/prod.yaml b/chart/env/prod.yaml
index 9aa9038c..b9418f23 100644
--- a/chart/env/prod.yaml
+++ b/chart/env/prod.yaml
@@ -140 +140 @@ duckDBIndex:
- expiredTimeIntervalSeconds: 259_200 # 3 days
+ expiredTimeIntervalSeconds: 600 |
310a27de55a2543d5590c44bdbb82bf60023b676 | Andrea Francis Soria Jimenez | andrea@huggingface.co | 2023-08-04T17:45:28 | Init only for delete-indexes action (#1632) | diff --git a/jobs/cache_maintenance/src/cache_maintenance/main.py b/jobs/cache_maintenance/src/cache_maintenance/main.py
index 29673e9c..b06fb7f7 100644
--- a/jobs/cache_maintenance/src/cache_maintenance/main.py
+++ b/jobs/cache_maintenance/src/cache_maintenance/main.py
@@ -36 +35,0 @@ def run_job() -> None:
- duckd... |
4f269086657c481622d7e6bf056dfa8cf197f8e8 | Andrea Francis Soria Jimenez | andrea@huggingface.co | 2023-08-04T17:37:38 | Fix delete indexes volume (#1631) | diff --git a/chart/templates/cron-jobs/delete-indexes/job.yaml b/chart/templates/cron-jobs/delete-indexes/job.yaml
index fc876dba..91b2adbd 100644
--- a/chart/templates/cron-jobs/delete-indexes/job.yaml
+++ b/chart/templates/cron-jobs/delete-indexes/job.yaml
@@ -25,4 +25,2 @@ spec:
- initContainers:
- {{ include "i... |
a52f6ec59b3e2edde3f779ef706770a6af665792 | Andrea Francis Soria Jimenez | andrea@huggingface.co | 2023-08-04T17:29:54 | Fix container definition (#1630) | diff --git a/chart/templates/cron-jobs/backfill/job.yaml b/chart/templates/cron-jobs/backfill/job.yaml
index f04b3791..3e5595cc 100644
--- a/chart/templates/cron-jobs/backfill/job.yaml
+++ b/chart/templates/cron-jobs/backfill/job.yaml
@@ -25,4 +24,0 @@ spec:
- initContainers:
- {{ include "initContainerDuckDBIndex"... |
7e82822a069835f7bcf2122b5ed495ba936ee5a4 | Andrea Francis Soria Jimenez | andrea@huggingface.co | 2023-08-04T17:24:08 | Add duckdb volume (#1629) | diff --git a/chart/templates/cron-jobs/backfill/job.yaml b/chart/templates/cron-jobs/backfill/job.yaml
index 3e5595cc..f04b3791 100644
--- a/chart/templates/cron-jobs/backfill/job.yaml
+++ b/chart/templates/cron-jobs/backfill/job.yaml
@@ -24,0 +25,4 @@ spec:
+ initContainers:
+ {{ include "initContainerDuckDBIndex"... |
f03e3ba57a709fab0caeb5d2b3d6449e7c506dc3 | RΓ©my | remy.trompier@gmail.com | 2023-08-04T17:15:50 | fix: unquoted env vars (#1628) | diff --git a/chart/templates/cron-jobs/delete-indexes/_container.tpl b/chart/templates/cron-jobs/delete-indexes/_container.tpl
index 801ad7a0..547bd1da 100644
--- a/chart/templates/cron-jobs/delete-indexes/_container.tpl
+++ b/chart/templates/cron-jobs/delete-indexes/_container.tpl
@@ -23 +23 @@
- value: {{ .Values.... |
dde94aa51a56fe79874a2b5b3e79da5a7064d7e1 | Andrea Francis Soria Jimenez | andrea@huggingface.co | 2023-08-04T17:00:26 | Fix delete indexes job - fix cron (#1627) | diff --git a/chart/env/prod.yaml b/chart/env/prod.yaml
index e84fd7ed..9aa9038c 100644
--- a/chart/env/prod.yaml
+++ b/chart/env/prod.yaml
@@ -193 +193 @@ deleteIndexes:
- schedule: "*/10 * * * *"
+ schedule: "*/10 * * * *"
diff --git a/chart/env/staging.yaml b/chart/env/staging.yaml
index f27ea90b..dc26a476 100644
... |
58f81ae8ff63782e6bf1bfd33fd5bde3be2029b2 | Andrea Francis Soria Jimenez | andrea@huggingface.co | 2023-08-04T16:52:56 | Try to fix delete indexes job (#1626) | diff --git a/chart/Chart.yaml b/chart/Chart.yaml
index c0705ae7..e9a715a4 100644
--- a/chart/Chart.yaml
+++ b/chart/Chart.yaml
@@ -21 +21 @@ type: application
-version: 1.16.0
+version: 1.16.1
diff --git a/chart/env/staging.yaml b/chart/env/staging.yaml
index e1cf0e12..f27ea90b 100644
--- a/chart/env/staging.yaml
+++ b... |
1217176a40c3f292afa0a6cb5b541c0a69aeea41 | Andrea Francis Soria Jimenez | andrea@huggingface.co | 2023-08-04T16:31:29 | Try to fix delete indexes job (#1625) | diff --git a/chart/templates/_common/_helpers.tpl b/chart/templates/_common/_helpers.tpl
index f710be22..b71d65da 100644
--- a/chart/templates/_common/_helpers.tpl
+++ b/chart/templates/_common/_helpers.tpl
@@ -105 +105 @@ app.kubernetes.io/component: "{{ include "name" . }}-backfill"
-app.kubernetes.io/component: "{{ ... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.