Release LUMINA v0.1.6 (3.8M params)
Browse files- README.md +14 -13
- config.json +110 -5
- model.pt +2 -2
- model.safetensors +1 -1
- pareto_front.png +0 -0
README.md
CHANGED
|
@@ -10,27 +10,27 @@ pipeline_tag: other
|
|
| 10 |
license: apache-2.0
|
| 11 |
---
|
| 12 |
|
| 13 |
-
# LUMINA
|
| 14 |
|
| 15 |
## Model Description
|
| 16 |
|
| 17 |
-
**LUMINA
|
| 18 |
The model encodes power system components—buses, generators, loads, and transmission lines—as distinct node and edge types, capturing structural and physical heterogeneity in electric grids.
|
| 19 |
|
| 20 |
-
Trained on ACOPF datasets spanning **multiple network topologies**, LUMINA
|
| 21 |
|
| 22 |
## Model Details
|
| 23 |
|
| 24 |
-
- **Version**: v0.1.
|
| 25 |
- **Model Architecture**: HGT
|
| 26 |
- **Total Parameters**: 3,755,642 (3.8M)
|
| 27 |
- **Trainable Parameters**: 3,755,642 (3.8M)
|
| 28 |
- **Training Case**: case14_ieee, case30_ieee, case57_ieee, case118_ieee, case500_goc, case2000_goc, case4661_sdet, case6470_rte, case10000_goc, case13659_pegase
|
| 29 |
-
- **Training Data Size**:
|
| 30 |
-
- **Training Date**: 2026-10-
|
| 31 |
-
- **Training Epochs**:
|
| 32 |
- **Loss Type**: Augmented Lagrangian
|
| 33 |
-
- **Final Validation Loss**: 0.
|
| 34 |
|
| 35 |
> **Note**: The validation loss is only comparable across releases that share the same **Loss Type**. For example, an Augmented Lagrangian loss includes constraint-violation penalties and Lagrangian terms, so its magnitude is not directly comparable to a plain MSE loss.
|
| 36 |
|
|
@@ -81,7 +81,7 @@ from lumina_inference.dataset import OPFDataset
|
|
| 81 |
from lumina_inference.loader import DataLoader
|
| 82 |
|
| 83 |
# Download model artifacts from Hugging Face
|
| 84 |
-
config_path = hf_hub_download(repo_id="argonne/LUMINA
|
| 85 |
|
| 86 |
# Load config
|
| 87 |
with open(config_path, "r") as f:
|
|
@@ -97,7 +97,7 @@ modeler = Modeler(device)
|
|
| 97 |
```python
|
| 98 |
# Load weights from SafeTensors
|
| 99 |
safetensors_path = hf_hub_download(
|
| 100 |
-
repo_id="argonne/LUMINA
|
| 101 |
)
|
| 102 |
state_dict = load_file(safetensors_path)
|
| 103 |
modeler.load_model(config_data, state_dict)
|
|
@@ -107,7 +107,7 @@ modeler.load_model(config_data, state_dict)
|
|
| 107 |
|
| 108 |
```python
|
| 109 |
# Load weights from PyTorch Checkpoint on CPU
|
| 110 |
-
model_path = hf_hub_download(repo_id="argonne/LUMINA
|
| 111 |
checkpoint = torch.load(model_path, map_location="cpu")
|
| 112 |
state_dict = checkpoint.get("model_state_dict")
|
| 113 |
modeler.load_model(config_data, state_dict)
|
|
@@ -164,6 +164,7 @@ https://doi.org/10.48550/arXiv.2406.07234.
|
|
| 164 |
|
| 165 |
| Version | Date | Epochs | Val Loss | Training Case |
|
| 166 |
|---------|------|--------|----------|---------------|
|
|
|
|
| 167 |
| [v0.1.5](https://huggingface.co/argonne/LUMINA-2M/tree/v0.1.5) | 2026-10-09 | 87 | 0.664171 | case14_ieee, case30_ieee, case57_ieee, case118_ieee, case500_goc, case2000_goc, case4661_sdet, case6470_rte, case10000_goc, case13659_pegase |
|
| 168 |
| [v0.1.5-alpha](https://huggingface.co/argonne/LUMINA-2M/tree/v0.1.5-alpha) | 2026-09-23 | 86 | 0.072916 | full-topology |
|
| 169 |
| [v0.1.4](https://huggingface.co/argonne/LUMINA-2M/tree/v0.1.4) | 2026-08-27 | 71 | 0.531175 | full-topology + N-1 + FT |
|
|
@@ -176,7 +177,7 @@ https://doi.org/10.48550/arXiv.2406.07234.
|
|
| 176 |
|
| 177 |
## Citation
|
| 178 |
|
| 179 |
-
If you use LUMINA
|
| 180 |
|
| 181 |
```bibtex
|
| 182 |
@inproceedings{li2026lumina,
|
|
@@ -200,6 +201,6 @@ This research used resources of the National Energy Research Scientific Computin
|
|
| 200 |
|
| 201 |
## License
|
| 202 |
|
| 203 |
-
Released under the Apache License, Version 2.0. See the bundled [`LICENSE`](https://huggingface.co/argonne/LUMINA
|
| 204 |
|
| 205 |
Copyright 2026 UChicago Argonne, LLC.
|
|
|
|
| 10 |
license: apache-2.0
|
| 11 |
---
|
| 12 |
|
| 13 |
+
# LUMINA
|
| 14 |
|
| 15 |
## Model Description
|
| 16 |
|
| 17 |
+
**LUMINA** is a heterogeneous graph neural network (HGT) designed for **fast, high-fidelity prediction of AC Optimal Power Flow (ACOPF) solutions**.
|
| 18 |
The model encodes power system components—buses, generators, loads, and transmission lines—as distinct node and edge types, capturing structural and physical heterogeneity in electric grids.
|
| 19 |
|
| 20 |
+
Trained on ACOPF datasets spanning **multiple network topologies**, LUMINA generalizes across diverse grid configurations and operating conditions. It provides efficient approximations of OPF variables such as voltages, power injections, and line flows, serving as a scalable surrogate for traditional optimization solvers.
|
| 21 |
|
| 22 |
## Model Details
|
| 23 |
|
| 24 |
+
- **Version**: v0.1.6
|
| 25 |
- **Model Architecture**: HGT
|
| 26 |
- **Total Parameters**: 3,755,642 (3.8M)
|
| 27 |
- **Trainable Parameters**: 3,755,642 (3.8M)
|
| 28 |
- **Training Case**: case14_ieee, case30_ieee, case57_ieee, case118_ieee, case500_goc, case2000_goc, case4661_sdet, case6470_rte, case10000_goc, case13659_pegase
|
| 29 |
+
- **Training Data Size**: 270,000 samples per case
|
| 30 |
+
- **Training Date**: 2026-10-16
|
| 31 |
+
- **Training Epochs**: 92
|
| 32 |
- **Loss Type**: Augmented Lagrangian
|
| 33 |
+
- **Final Validation Loss**: 0.013560
|
| 34 |
|
| 35 |
> **Note**: The validation loss is only comparable across releases that share the same **Loss Type**. For example, an Augmented Lagrangian loss includes constraint-violation penalties and Lagrangian terms, so its magnitude is not directly comparable to a plain MSE loss.
|
| 36 |
|
|
|
|
| 81 |
from lumina_inference.loader import DataLoader
|
| 82 |
|
| 83 |
# Download model artifacts from Hugging Face
|
| 84 |
+
config_path = hf_hub_download(repo_id="argonne/LUMINA", filename="config.json")
|
| 85 |
|
| 86 |
# Load config
|
| 87 |
with open(config_path, "r") as f:
|
|
|
|
| 97 |
```python
|
| 98 |
# Load weights from SafeTensors
|
| 99 |
safetensors_path = hf_hub_download(
|
| 100 |
+
repo_id="argonne/LUMINA", filename="model.safetensors"
|
| 101 |
)
|
| 102 |
state_dict = load_file(safetensors_path)
|
| 103 |
modeler.load_model(config_data, state_dict)
|
|
|
|
| 107 |
|
| 108 |
```python
|
| 109 |
# Load weights from PyTorch Checkpoint on CPU
|
| 110 |
+
model_path = hf_hub_download(repo_id="argonne/LUMINA", filename="model.pt")
|
| 111 |
checkpoint = torch.load(model_path, map_location="cpu")
|
| 112 |
state_dict = checkpoint.get("model_state_dict")
|
| 113 |
modeler.load_model(config_data, state_dict)
|
|
|
|
| 164 |
|
| 165 |
| Version | Date | Epochs | Val Loss | Training Case |
|
| 166 |
|---------|------|--------|----------|---------------|
|
| 167 |
+
| [v0.1.6](https://huggingface.co/argonne/LUMINA/tree/v0.1.6) | 2026-10-16 | 92 | 0.013560 | full-topology |
|
| 168 |
| [v0.1.5](https://huggingface.co/argonne/LUMINA-2M/tree/v0.1.5) | 2026-10-09 | 87 | 0.664171 | case14_ieee, case30_ieee, case57_ieee, case118_ieee, case500_goc, case2000_goc, case4661_sdet, case6470_rte, case10000_goc, case13659_pegase |
|
| 169 |
| [v0.1.5-alpha](https://huggingface.co/argonne/LUMINA-2M/tree/v0.1.5-alpha) | 2026-09-23 | 86 | 0.072916 | full-topology |
|
| 170 |
| [v0.1.4](https://huggingface.co/argonne/LUMINA-2M/tree/v0.1.4) | 2026-08-27 | 71 | 0.531175 | full-topology + N-1 + FT |
|
|
|
|
| 177 |
|
| 178 |
## Citation
|
| 179 |
|
| 180 |
+
If you use LUMINA in your research, please cite the LUMINA paper:
|
| 181 |
|
| 182 |
```bibtex
|
| 183 |
@inproceedings{li2026lumina,
|
|
|
|
| 201 |
|
| 202 |
## License
|
| 203 |
|
| 204 |
+
Released under the Apache License, Version 2.0. See the bundled [`LICENSE`](https://huggingface.co/argonne/LUMINA/blob/v0.1.6/LICENSE) and [`NOTICE`](https://huggingface.co/argonne/LUMINA/blob/v0.1.6/NOTICE) files for the full terms and attribution.
|
| 205 |
|
| 206 |
Copyright 2026 UChicago Argonne, LLC.
|
config.json
CHANGED
|
@@ -110,13 +110,118 @@
|
|
| 110 |
"config": {
|
| 111 |
"models": {
|
| 112 |
"HGT": {
|
| 113 |
-
"backend": "sage",
|
| 114 |
-
"num_layers": 6,
|
| 115 |
"hidden_channels": 128,
|
| 116 |
-
"
|
| 117 |
-
"num_heads": 2
|
|
|
|
|
|
|
| 118 |
}
|
| 119 |
}
|
| 120 |
},
|
| 121 |
-
"
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 122 |
}
|
|
|
|
| 110 |
"config": {
|
| 111 |
"models": {
|
| 112 |
"HGT": {
|
|
|
|
|
|
|
| 113 |
"hidden_channels": 128,
|
| 114 |
+
"num_layers": 6,
|
| 115 |
+
"num_heads": 2,
|
| 116 |
+
"backend": "sage",
|
| 117 |
+
"dropout": 0.0
|
| 118 |
}
|
| 119 |
}
|
| 120 |
},
|
| 121 |
+
"virtual_node": {
|
| 122 |
+
"enabled": true,
|
| 123 |
+
"variant": "allnode_demand",
|
| 124 |
+
"demand_stats": {
|
| 125 |
+
"pglib_opf_case14_ieee": [
|
| 126 |
+
[
|
| 127 |
+
2.589764,
|
| 128 |
+
0.12734
|
| 129 |
+
],
|
| 130 |
+
[
|
| 131 |
+
0.737707,
|
| 132 |
+
0.035545
|
| 133 |
+
]
|
| 134 |
+
],
|
| 135 |
+
"pglib_opf_case30_ieee": [
|
| 136 |
+
[
|
| 137 |
+
2.782232,
|
| 138 |
+
0.101306
|
| 139 |
+
],
|
| 140 |
+
[
|
| 141 |
+
1.263921,
|
| 142 |
+
0.051349
|
| 143 |
+
]
|
| 144 |
+
],
|
| 145 |
+
"pglib_opf_case57_ieee": [
|
| 146 |
+
[
|
| 147 |
+
12.4262,
|
| 148 |
+
0.498045
|
| 149 |
+
],
|
| 150 |
+
[
|
| 151 |
+
3.369442,
|
| 152 |
+
0.124536
|
| 153 |
+
]
|
| 154 |
+
],
|
| 155 |
+
"pglib_opf_case118_ieee": [
|
| 156 |
+
[
|
| 157 |
+
42.413906,
|
| 158 |
+
0.705035
|
| 159 |
+
],
|
| 160 |
+
[
|
| 161 |
+
14.384457,
|
| 162 |
+
0.233194
|
| 163 |
+
]
|
| 164 |
+
],
|
| 165 |
+
"pglib_opf_case500_goc": [
|
| 166 |
+
[
|
| 167 |
+
177.69136,
|
| 168 |
+
1.371041
|
| 169 |
+
],
|
| 170 |
+
[
|
| 171 |
+
45.868202,
|
| 172 |
+
0.419047
|
| 173 |
+
]
|
| 174 |
+
],
|
| 175 |
+
"pglib_opf_case2000_goc": [
|
| 176 |
+
[
|
| 177 |
+
329.726715,
|
| 178 |
+
1.395341
|
| 179 |
+
],
|
| 180 |
+
[
|
| 181 |
+
89.594658,
|
| 182 |
+
0.439982
|
| 183 |
+
]
|
| 184 |
+
],
|
| 185 |
+
"pglib_opf_case4661_sdet": [
|
| 186 |
+
[
|
| 187 |
+
882.069702,
|
| 188 |
+
5.377016
|
| 189 |
+
],
|
| 190 |
+
[
|
| 191 |
+
269.039642,
|
| 192 |
+
1.54373
|
| 193 |
+
]
|
| 194 |
+
],
|
| 195 |
+
"pglib_opf_case6470_rte": [
|
| 196 |
+
[
|
| 197 |
+
965.887756,
|
| 198 |
+
5.835476
|
| 199 |
+
],
|
| 200 |
+
[
|
| 201 |
+
132.021988,
|
| 202 |
+
1.443023
|
| 203 |
+
]
|
| 204 |
+
],
|
| 205 |
+
"pglib_opf_case10000_goc": [
|
| 206 |
+
[
|
| 207 |
+
736.690186,
|
| 208 |
+
1.913391
|
| 209 |
+
],
|
| 210 |
+
[
|
| 211 |
+
178.353363,
|
| 212 |
+
0.569833
|
| 213 |
+
]
|
| 214 |
+
],
|
| 215 |
+
"pglib_opf_case13659_pegase": [
|
| 216 |
+
[
|
| 217 |
+
3814.54126,
|
| 218 |
+
11.409401
|
| 219 |
+
],
|
| 220 |
+
[
|
| 221 |
+
984.983826,
|
| 222 |
+
4.547722
|
| 223 |
+
]
|
| 224 |
+
]
|
| 225 |
+
}
|
| 226 |
+
}
|
| 227 |
}
|
model.pt
CHANGED
|
@@ -1,3 +1,3 @@
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
-
oid sha256:
|
| 3 |
-
size
|
|
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:9dab23a1eb6095e1384aec3668f336fdfb20cbb9dd43a4ef0dd96d5e216104db
|
| 3 |
+
size 45043210
|
model.safetensors
CHANGED
|
@@ -1,3 +1,3 @@
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
-
oid sha256:
|
| 3 |
size 15050568
|
|
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:df6f4c98d6a23600ca109d796a90a1e2c54549ff3df60a814c9e36ee861d643c
|
| 3 |
size 15050568
|
pareto_front.png
CHANGED
|
|