Skip to content

Commit 751e7e7

Browse files
Upgrade torch and h2o-wave (#965)
* 8-cores * h2o-wave = 1.8.1 * torch 2.8.0 * format (new ruff) * upd requirements.txt
1 parent d96e50c commit 751e7e7

6 files changed

Lines changed: 53 additions & 46 deletions

File tree

.github/workflows/build-and-push-release-aws.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ on:
88

99
jobs:
1010
build_mc:
11-
runs-on: ubuntu-latest
11+
runs-on: ubuntu-latest-8-cores
1212
permissions:
1313
id-token: write
1414
contents: read

llm_studio/python_configs/text_causal_language_modeling_config.py

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -100,12 +100,14 @@ def __post_init__(self):
100100
prefer_with=lambda column: column in ("system",), add_none=True
101101
)
102102
self._possible_values["prompt_column"] = possible_values.Columns(
103-
prefer_with=lambda column: column
104-
in ("instruction", "prompt", "question", "input", "user")
103+
prefer_with=lambda column: (
104+
column in ("instruction", "prompt", "question", "input", "user")
105+
)
105106
)
106107
self._possible_values["answer_column"] = possible_values.Columns(
107-
prefer_with=lambda column: column
108-
in ("answer", "output", "response", "assistant", "chosen")
108+
prefer_with=lambda column: (
109+
column in ("answer", "output", "response", "assistant", "chosen")
110+
)
109111
)
110112
self._possible_values["parent_id_column"] = possible_values.Columns(
111113
prefer_with=lambda column: column in ("parent", "parent_id"), add_none=True

llm_studio/python_configs/text_dpo_modeling_config.py

Lines changed: 15 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -37,21 +37,25 @@ class ConfigDPODataset(ConfigNLPCausalLMDataset):
3737
def __post_init__(self):
3838
super().__post_init__()
3939
self._possible_values["rejected_prompt_column"] = possible_values.Columns(
40-
prefer_with=lambda column: column
41-
in (
42-
"rejected_input",
43-
"rejected_prompt",
44-
"rejected_instruction",
45-
"rejected_question",
40+
prefer_with=lambda column: (
41+
column
42+
in (
43+
"rejected_input",
44+
"rejected_prompt",
45+
"rejected_instruction",
46+
"rejected_question",
47+
)
4648
),
4749
add_none=True,
4850
)
4951
self._possible_values["rejected_answer_column"] = possible_values.Columns(
50-
prefer_with=lambda column: column
51-
in (
52-
"rejected_answer",
53-
"rejected_response",
54-
"rejected",
52+
prefer_with=lambda column: (
53+
column
54+
in (
55+
"rejected_answer",
56+
"rejected_response",
57+
"rejected",
58+
)
5559
)
5660
)
5761

pyproject.toml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,11 @@
11
[project]
22
name = "h2o-llmstudio"
3-
version = "1.14.8"
3+
version = "1.14.9"
44
readme = "README.md"
55
license = {file = "LICENSE"}
66
requires-python = "==3.10.*"
77
dependencies = [
8-
"torch==2.7.1",
8+
"torch==2.8.0",
99
"tqdm>=4.65.0,<5.0.0",
1010
"transformers==4.56.1",
1111
"numpy>=1.26.0, <2.0.0",
@@ -36,7 +36,7 @@ dependencies = [
3636
"wandb>=0.23.1, <1.0.0",
3737
"Jinja2>=3.1.3, <4.0.0",
3838
"h2o-drive>=3.0.0, <4.0.0",
39-
"h2o-wave>=1.7.6, <2.0.0",
39+
"h2o-wave>=1.8.1, <2.0.0",
4040
"tiktoken==0.9.0",
4141
"hf-transfer==0.1.9",
4242
"peft==0.17.1",

requirements.txt

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -166,7 +166,7 @@ h2o-cloud-discovery==3.2.0
166166
# h2o-drive
167167
h2o-drive==3.0.0
168168
# via h2o-llmstudio
169-
h2o-wave==1.7.8
169+
h2o-wave==1.8.1
170170
# via h2o-llmstudio
171171
hf-transfer==0.1.9
172172
# via h2o-llmstudio
@@ -310,7 +310,7 @@ nvidia-cuda-nvrtc-cu12==12.6.77
310310
# via torch
311311
nvidia-cuda-runtime-cu12==12.6.77
312312
# via torch
313-
nvidia-cudnn-cu12==9.5.1.17
313+
nvidia-cudnn-cu12==9.10.2.21
314314
# via torch
315315
nvidia-cufft-cu12==11.3.0.4
316316
# via torch
@@ -324,9 +324,9 @@ nvidia-cusparse-cu12==12.5.4.2
324324
# via
325325
# nvidia-cusolver-cu12
326326
# torch
327-
nvidia-cusparselt-cu12==0.6.3
327+
nvidia-cusparselt-cu12==0.7.1
328328
# via torch
329-
nvidia-nccl-cu12==2.26.2
329+
nvidia-nccl-cu12==2.27.3
330330
# via torch
331331
nvidia-nvjitlink-cu12==12.6.85
332332
# via
@@ -537,7 +537,7 @@ toml==0.10.2
537537
# via h2o-llmstudio
538538
tomli==2.3.0
539539
# via h2o-cloud-discovery
540-
torch==2.7.1+cu126
540+
torch==2.8.0+cu126
541541
# via
542542
# accelerate
543543
# bitsandbytes
@@ -560,7 +560,7 @@ transformers==4.56.1
560560
# via
561561
# h2o-llmstudio
562562
# peft
563-
triton==3.3.1
563+
triton==3.4.0
564564
# via torch
565565
typing-extensions==4.15.0
566566
# via

uv.lock

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

0 commit comments

Comments
 (0)