Skip to content

Commit a90f090

Browse files
Merge remote-tracking branch 'upstream/main' into praateek/ray_data_max_workers_per_node
Signed-off-by: Praateek <praateekm@gmail.com>
2 parents fc50118 + 15cc645 commit a90f090

5 files changed

Lines changed: 10 additions & 8 deletions

File tree

.github/workflows/config/.secrets.baseline

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -518,7 +518,7 @@
518518
"filename": "tutorials/text/deduplication/semantic/semantic_e2e.ipynb",
519519
"hashed_secret": "00ad2e1afc84d1b7c3c139b68f00edd67998232c",
520520
"is_verified": false,
521-
"line_number": 652
521+
"line_number": 653
522522
}
523523
],
524524
"tutorials/text/deduplication/semantic/semantic_step_by_step.ipynb": [
@@ -527,7 +527,7 @@
527527
"filename": "tutorials/text/deduplication/semantic/semantic_step_by_step.ipynb",
528528
"hashed_secret": "00ad2e1afc84d1b7c3c139b68f00edd67998232c",
529529
"is_verified": false,
530-
"line_number": 670
530+
"line_number": 671
531531
}
532532
]
533533
},

tutorials/text/deduplication/fuzzy/fuzzy_e2e.ipynb

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1123,7 +1123,7 @@
11231123
" def process(self, batch: DocumentBatch) -> DocumentBatch:\n",
11241124
" df = batch.to_pandas().merge(cc_df, how=\"inner\", on=[CURATOR_DEDUP_ID_STR])\n",
11251125
" return DocumentBatch(\n",
1126-
" task_id=batch.task_id, dataset_name=batch.dataset_name, data=df, _stage_perf=batch._stage_perf\n",
1126+
" dataset_name=batch.dataset_name, data=df, _stage_perf=batch._stage_perf\n",
11271127
" )\n",
11281128
"\n",
11291129
"\n",
@@ -1509,7 +1509,7 @@
15091509
"name": "python",
15101510
"nbconvert_exporter": "python",
15111511
"pygments_lexer": "ipython3",
1512-
"version": "3.12.11"
1512+
"version": "3.12.12"
15131513
}
15141514
},
15151515
"nbformat": 4,

tutorials/text/deduplication/semantic/semantic_e2e.ipynb

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -110,7 +110,7 @@
110110
},
111111
{
112112
"cell_type": "code",
113-
"execution_count": 3,
113+
"execution_count": null,
114114
"id": "11448dfb",
115115
"metadata": {},
116116
"outputs": [],
@@ -128,6 +128,7 @@
128128
" model_identifier=\"google/embeddinggemma-300m\",\n",
129129
" embedding_max_chars=None,\n",
130130
" embedding_pretokenize=False,\n",
131+
" embedding_vllm_init_kwargs={\"gpu_memory_utilization\": 0.9}, # lower if OOM occurs\n",
131132
" # Semantic deduplication parameters\n",
132133
" n_clusters=100, # this number can be much higher when the data is large\n",
133134
" # For large scale data removal we should use CURATOR_DEDUP_ID_STR\n",

tutorials/text/deduplication/semantic/semantic_step_by_step.ipynb

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -218,6 +218,7 @@
218218
" ParquetReader(file_paths=input_path, files_per_partition=1, fields=[\"text\"], _generate_ids=True),\n",
219219
" VLLMEmbeddingModelStage(\n",
220220
" model_identifier=\"google/embeddinggemma-300m\",\n",
221+
" vllm_init_kwargs={\"gpu_memory_utilization\": 0.9}, # lower if OOM occurs\n",
221222
" text_field=\"text\",\n",
222223
" max_chars=None,\n",
223224
" pretokenize=False,\n",

uv.lock

Lines changed: 3 additions & 3 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)