Skip to content

Commit f803102

Browse files
authored
Merge pull request #1144 from transformerlab/update/torch-291
Update torch to 2.9.1 and add some fixes
2 parents 632a2bb + fbdcb83 commit f803102

56 files changed

Lines changed: 160 additions & 445 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

api/pyproject.toml

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -46,9 +46,9 @@ dependencies = [
4646
[project.optional-dependencies]
4747
nvidia = [
4848
# NVIDIA-specific packages
49-
"torch==2.8.0",
50-
"torchaudio==2.8.0",
51-
"torchvision==0.23.0",
49+
"torch==2.9.1",
50+
"torchaudio==2.9.1",
51+
"torchvision==0.24.1",
5252
"nvidia-ml-py==12.575.51",
5353
# Packages with versions (using no-gpu/nvidia versions)
5454
"accelerate==1.3.0",
@@ -68,9 +68,9 @@ nvidia = [
6868
]
6969
rocm = [
7070
# ROCm-specific packages
71-
"torch==2.8.0+rocm6.4",
72-
"torchaudio==2.8.0+rocm6.4",
73-
"torchvision==0.23.0+rocm6.4",
71+
"torch==2.9.1+rocm6.4",
72+
"torchaudio==2.9.1+rocm6.4",
73+
"torchvision==0.24.1+rocm6.4",
7474
"pyrsmi==0.2.0",
7575
# Packages with ROCm-specific versions
7676
"accelerate==1.6.0",
@@ -90,9 +90,9 @@ rocm = [
9090
]
9191
cpu = [
9292
# CPU-specific packages
93-
"torch==2.8.0",
94-
"torchaudio==2.8.0",
95-
"torchvision==0.23.0",
93+
"torch==2.9.1",
94+
"torchaudio==2.9.1",
95+
"torchvision==0.24.1",
9696
# Packages with versions (using no-gpu/cpu versions)
9797
"accelerate==1.3.0",
9898
"aiosqlite==0.20.0",

api/transformerlab/plugins/airllm_mlx_server/index.json

Lines changed: 3 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
"description": "Performing inference using AirLLM on your Apple Silicon machine",
55
"plugin-format": "python",
66
"type": "loader",
7-
"version": "0.1.7",
7+
"version": "0.1.8",
88
"model_architectures": [
99
"MLX",
1010
"CohereForCausalLM",
@@ -20,13 +20,8 @@
2020
"Phi3ForCausalLM",
2121
"Qwen2ForCausalLM"
2222
],
23-
"supported_hardware_architectures": [
24-
"mlx"
25-
],
26-
"files": [
27-
"main.py",
28-
"setup.sh"
29-
],
23+
"supported_hardware_architectures": ["mlx"],
24+
"files": ["main.py", "setup.sh"],
3025
"setup-script": "setup.sh",
3126
"parameters": {}
3227
}

api/transformerlab/plugins/autotrain_sft_trainer/index.json

Lines changed: 3 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
"description": "SFT training using Huggingface autotrain",
55
"plugin-format": "python",
66
"type": "trainer",
7-
"version": "0.1.14",
7+
"version": "0.1.15",
88
"model_architectures": [
99
"LlamaForCausalLM",
1010
"MistralForCausalLM",
@@ -17,11 +17,7 @@
1717
"Phi3ForCausalLM"
1818
],
1919
"supported_hardware_architectures": [],
20-
"files": [
21-
"main.py",
22-
"info.md",
23-
"setup.sh"
24-
],
20+
"files": ["main.py", "info.md", "setup.sh"],
2521
"setup-script": "setup.sh",
2622
"parameters": {
2723
"batch_size": {
@@ -34,7 +30,7 @@
3430
"title": "Learning Rate",
3531
"type": "number",
3632
"default": 0.0002,
37-
"minimum": 1e-06
33+
"minimum": 1e-6
3834
},
3935
"num_train_epochs": {
4036
"title": "Number of Training Epochs",

api/transformerlab/plugins/basic_evals/index.json

Lines changed: 5 additions & 21 deletions
Original file line numberDiff line numberDiff line change
@@ -5,19 +5,11 @@
55
"description": "Evaluating outputs of LLMs using basic defined metrics",
66
"plugin-format": "python",
77
"type": "evaluator",
8-
"version": "0.1.8",
8+
"version": "0.1.9",
99
"git": "",
1010
"url": "",
11-
"files": [
12-
"main.py",
13-
"setup.sh"
14-
],
15-
"supported_hardware_architectures": [
16-
"cpu",
17-
"cuda",
18-
"mlx",
19-
"amd"
20-
],
11+
"files": ["main.py", "setup.sh"],
12+
"supported_hardware_architectures": ["cpu", "cuda", "mlx", "amd"],
2113
"_dataset": true,
2214
"_dataset_display_message": "Please make sure the name of the input and output columns match the ones in your dataset",
2315
"setup-script": "setup.sh",
@@ -66,22 +58,14 @@
6658
"return_type": {
6759
"type": "string",
6860
"title": "Output Type",
69-
"enum": [
70-
"boolean",
71-
"number",
72-
"contains",
73-
"isequal",
74-
"code"
75-
]
61+
"enum": ["boolean", "number", "contains", "isequal", "code"]
7662
}
7763
}
7864
}
7965
},
8066
"limit": {
8167
"title": "Fraction of samples to evaluate",
82-
"type": [
83-
"number"
84-
],
68+
"type": ["number"],
8569
"minimum": 0.0,
8670
"default": 1.0,
8771
"maximum": 1.0,

api/transformerlab/plugins/batched_generation_datasets/index.json

Lines changed: 3 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -4,18 +4,11 @@
44
"description": "Use a local or commercial LLM to generated outputs for the dataset generated.",
55
"plugin-format": "python",
66
"type": "generator",
7-
"version": "0.1.11",
7+
"version": "0.1.12",
88
"git": "",
99
"url": "",
10-
"files": [
11-
"main.py",
12-
"setup.sh"
13-
],
14-
"supported_hardware_architectures": [
15-
"cpu",
16-
"cuda",
17-
"mlx"
18-
],
10+
"files": ["main.py", "setup.sh"],
11+
"supported_hardware_architectures": ["cpu", "cuda", "mlx"],
1912
"_dataset": true,
2013
"_dataset_display_message": "Please upload a dataset file with columns: 'input', 'output', 'expected_output'. The context column is optional if using metrics which don't require it.",
2114
"setup-script": "setup.sh",

api/transformerlab/plugins/common-eleuther-ai-lm-eval-harness-mlx/index.json

Lines changed: 4 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -5,16 +5,11 @@
55
"plugin-format": "python",
66
"type": "evaluator",
77
"evalsType": "model",
8-
"version": "0.1.12",
8+
"version": "0.1.13",
99
"git": "https://github.com/chimezie/lm-evaluation-harness-mlx",
1010
"url": "https://github.com/chimezie/lm-evaluation-harness-mlx",
11-
"supported_hardware_architectures": [
12-
"mlx"
13-
],
14-
"files": [
15-
"main.py",
16-
"setup.sh"
17-
],
11+
"supported_hardware_architectures": ["mlx"],
12+
"files": ["main.py", "setup.sh"],
1813
"_dataset": false,
1914
"setup-script": "setup.sh",
2015
"parameters": {
@@ -299,9 +294,7 @@
299294
},
300295
"limit": {
301296
"title": "Fraction of Samples to use for evaluation",
302-
"type": [
303-
"number"
304-
],
297+
"type": ["number"],
305298
"minimum": 0.0,
306299
"default": 1.0,
307300
"maximum": 1.0,

api/transformerlab/plugins/common-eleuther-ai-lm-eval-harness/index.json

Lines changed: 4 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -5,17 +5,11 @@
55
"plugin-format": "python",
66
"type": "evaluator",
77
"evalsType": "model",
8-
"version": "0.1.15",
8+
"version": "0.1.16",
99
"git": "https://github.com/EleutherAI/lm-evaluation-harness",
1010
"url": "https://github.com/EleutherAI/lm-evaluation-harness",
11-
"supported_hardware_architectures": [
12-
"cuda",
13-
"amd"
14-
],
15-
"files": [
16-
"main.py",
17-
"setup.sh"
18-
],
11+
"supported_hardware_architectures": ["cuda", "amd"],
12+
"files": ["main.py", "setup.sh"],
1913
"_dataset": false,
2014
"setup-script": "setup.sh",
2115
"parameters": {
@@ -300,9 +294,7 @@
300294
},
301295
"limit": {
302296
"title": "Number of samples (Enter a floating point between 0 and 1. Set as 1 to get all samples)",
303-
"type": [
304-
"number"
305-
],
297+
"type": ["number"],
306298
"minimum": 0.0,
307299
"default": 1.0,
308300
"maximum": 1.0,

api/transformerlab/plugins/dataset_imagegen/index.json

Lines changed: 2 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -4,13 +4,10 @@
44
"description": "Generate images using a text-to-image model from a set of user-provided prompts.",
55
"plugin-format": "python",
66
"type": "generator",
7-
"version": "0.1.6",
7+
"version": "0.1.7",
88
"git": "",
99
"url": "",
10-
"files": [
11-
"main.py",
12-
"setup.sh"
13-
],
10+
"files": ["main.py", "setup.sh"],
1411
"supported_hardware_architectures": [],
1512
"_dataset": true,
1613
"setup-script": "setup.sh",

api/transformerlab/plugins/deepeval_llm_judge/index.json

Lines changed: 5 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -5,22 +5,14 @@
55
"plugin-format": "python",
66
"evalsType": "dataset",
77
"type": "evaluator",
8-
"version": "0.2.17",
8+
"version": "0.2.18",
99
"git": "https://github.com/confident-ai/deepeval",
1010
"url": "https://github.com/confident-ai/deepeval",
11-
"files": [
12-
"main.py",
13-
"setup.sh"
14-
],
11+
"files": ["main.py", "setup.sh"],
1512
"_dataset": true,
1613
"_dataset_display_message": "Please upload a dataset file with columns: 'input', 'output', 'expected_output'. The context column is optional if using metrics which don't require it.",
1714
"setup-script": "setup.sh",
18-
"supported_hardware_architectures": [
19-
"cpu",
20-
"cuda",
21-
"mlx",
22-
"amd"
23-
],
15+
"supported_hardware_architectures": ["cpu", "cuda", "mlx", "amd"],
2416
"parameters": {
2517
"generation_model": {
2618
"title": "Model which will act as Judge LLM",
@@ -64,20 +56,15 @@
6456
"include_context": {
6557
"type": "string",
6658
"title": "Include Context while evaluating?",
67-
"enum": [
68-
"Yes",
69-
"No"
70-
],
59+
"enum": ["Yes", "No"],
7160
"default": "No"
7261
}
7362
}
7463
}
7564
},
7665
"limit": {
7766
"title": "Fraction of samples",
78-
"type": [
79-
"number"
80-
],
67+
"type": ["number"],
8168
"minimum": 0.0,
8269
"default": 1.0,
8370
"maximum": 1.0,

api/transformerlab/plugins/deepeval_objective/index.json

Lines changed: 4 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -5,19 +5,11 @@
55
"plugin-format": "python",
66
"type": "evaluator",
77
"evalsType": "dataset",
8-
"version": "0.2.14",
8+
"version": "0.2.15",
99
"git": "https://github.com/confident-ai/deepeval",
1010
"url": "https://github.com/confident-ai/deepeval",
11-
"files": [
12-
"main.py",
13-
"setup.sh"
14-
],
15-
"supported_hardware_architectures": [
16-
"cpu",
17-
"cuda",
18-
"mlx",
19-
"amd"
20-
],
11+
"files": ["main.py", "setup.sh"],
12+
"supported_hardware_architectures": ["cpu", "cuda", "mlx", "amd"],
2113
"_dataset": true,
2214
"_dataset_display_message": "Please upload a dataset file with columns: 'input', 'output', 'expected_output'. The context column is optional if using metrics which don't require it.",
2315
"setup-script": "setup.sh",
@@ -36,9 +28,7 @@
3628
},
3729
"limit": {
3830
"title": "Fraction of samples to evaluate",
39-
"type": [
40-
"number"
41-
],
31+
"type": ["number"],
4232
"minimum": 0.0,
4333
"default": 1.0,
4434
"maximum": 1.0,

0 commit comments

Comments
 (0)