You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
|`--compile [MODE]`|`str`| Enable `torch.compile` mode. Valid values: `default`, `reduce-overhead`, `max-autotune`, `max-autotune-no-cudagraphs`. If flag is passed without a value, mode is `default`. |`None`|
85
+
|`--bfloat16`|`flag`| Cast model to `torch.bfloat16` (`model.to(torch.bfloat16)`). |`False`|
86
+
|`--tf32`|`flag`| Enable TF32 on Ampere+ GPUs via `torch.set_float32_matmul_precision("high")`. |`False`|
87
+
|`--dataset_wrapper`|`str`| Registered dataset wrapper name (see `DATASET_WRAPPER_REGISTRY`), e.g. `SharedMemoryCacheDataset`. |`None`|
88
+
|`--plugins`|`list[str]`| Python packages to import for plugin registration, e.g. `gridfm_graphkit_ee`. |`[]`|
89
+
|`--num_workers`|`int`| Override `data.workers` from YAML. Use `0` to debug worker crashes. |`None`|
90
+
|`--dataset_wrapper_cache_dir`|`str`| Disk cache directory for dataset wrapper; cache is loaded from here when present and saved after first population. |`None`|
|`--compile [MODE]`|`str`| Enable `torch.compile` mode. Valid values: `default`, `reduce-overhead`, `max-autotune`, `max-autotune-no-cudagraphs`. If flag is passed without a value, mode is `default`. |`None`|
121
+
|`--bfloat16`|`flag`| Cast model to `torch.bfloat16` (`model.to(torch.bfloat16)`). |`False`|
122
+
|`--tf32`|`flag`| Enable TF32 on Ampere+ GPUs via `torch.set_float32_matmul_precision("high")`. |`False`|
123
+
|`--dataset_wrapper`|`str`| Registered dataset wrapper name (see `DATASET_WRAPPER_REGISTRY`), e.g. `SharedMemoryCacheDataset`. |`None`|
124
+
|`--plugins`|`list[str]`| Python packages to import for plugin registration, e.g. `gridfm_graphkit_ee`. |`[]`|
125
+
|`--num_workers`|`int`| Override `data.workers` from YAML. Use `0` to debug worker crashes. |`None`|
126
+
|`--dataset_wrapper_cache_dir`|`str`| Disk cache directory for dataset wrapper; cache is loaded from here when present and saved after first population. |`None`|
|`--config`|`str`|**Required**. Path to evaluation config. |`None`|
126
-
|`--model_path`|`str`| Path to the trained model state dict. |`None`|
127
-
|`--normalizer_stats`|`str`| Path to `normalizer_stats.pt` from a training run. Restores `fit_on_train` normalizers from saved statistics instead of re-fitting on the current data split. |`None`|
|`--compute_dc_ac_metrics`|`flag`| Compute ground-truth AC/DC power balance metrics on the test split. |`False`|
133
-
|`--save_output`|`flag`| Save predictions as `<grid_name>_predictions.parquet` under MLflow artifacts (`.../artifacts/test`). |`False`|
141
+
| Argument | Type | Description | Default |
142
+
| -------- | ---- | ----------- | ------- |
143
+
|`--config`|`str`|**Required**. Path to evaluation config. |`None`|
144
+
|`--model_path`|`str`| Path to the trained model state dict. |`None`|
145
+
|`--normalizer_stats`|`str`| Path to `normalizer_stats.pt` from a training run. Restores `fit_on_train` normalizers from saved statistics instead of re-fitting on current split. |`None`|
|`--compile [MODE]`|`str`| Enable `torch.compile` mode. Valid values: `default`, `reduce-overhead`, `max-autotune`, `max-autotune-no-cudagraphs`. If flag is passed without a value, mode is `default`. |`None`|
151
+
|`--bfloat16`|`flag`| Cast model to `torch.bfloat16` (`model.to(torch.bfloat16)`). |`False`|
152
+
|`--tf32`|`flag`| Enable TF32 on Ampere+ GPUs via `torch.set_float32_matmul_precision("high")`. |`False`|
153
+
|`--dataset_wrapper`|`str`| Registered dataset wrapper name (see `DATASET_WRAPPER_REGISTRY`), e.g. `SharedMemoryCacheDataset`. |`None`|
154
+
|`--plugins`|`list[str]`| Python packages to import for plugin registration, e.g. `gridfm_graphkit_ee`. |`[]`|
155
+
|`--num_workers`|`int`| Override `data.workers` from YAML. Use `0` to debug worker crashes. |`None`|
156
+
|`--dataset_wrapper_cache_dir`|`str`| Disk cache directory for dataset wrapper; cache is loaded from here when present and saved after first population. |`None`|
|`--dataset_wrapper`|`str`| Registered dataset wrapper name (see `DATASET_WRAPPER_REGISTRY`), e.g. `SharedMemoryCacheDataset`. |`None`|
195
+
|`--plugins`|`list[str]`| Python packages to import for plugin registration, e.g. `gridfm_graphkit_ee`. |`[]`|
196
+
|`--num_workers`|`int`| Override `data.workers` from YAML. Use `0` to debug worker crashes. |`None`|
197
+
|`--dataset_wrapper_cache_dir`|`str`| Disk cache directory for dataset wrapper; cache is loaded from here when present and saved after first population. |`None`|
198
+
|`--output_path`|`str`| Directory where predictions are saved as `<grid_name>_predictions.parquet`. |`data`|
199
+
|`--compile [MODE]`|`str`| Enable `torch.compile` mode. Valid values: `default`, `reduce-overhead`, `max-autotune`, `max-autotune-no-cudagraphs`. If flag is passed without a value, mode is `default`. |`None`|
200
+
|`--bfloat16`|`flag`| Cast model to `torch.bfloat16` (`model.to(torch.bfloat16)`). |`False`|
201
+
|`--tf32`|`flag`| Enable TF32 on Ampere+ GPUs via `torch.set_float32_matmul_precision("high")`. |`False`|
Copy file name to clipboardExpand all lines: docs/install/installation.md
+14-28Lines changed: 14 additions & 28 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1,46 +1,32 @@
1
1
# Installation
2
2
3
-
You can install `gridfm-graphkit` directly from PyPI:
3
+
The steps below mirror the [README](https://github.com/gridfm/gridfm-graphkit/blob/main/README.md#installation). Run them from the root of a local clone or source checkout of the repository.
4
4
5
-
```bash
6
-
pip install gridfm-graphkit
7
-
```
8
-
9
-
For GPU support and compatibility with PyTorch Geometric's scatter operations, install PyTorch (and optionally CUDA) first, then install the matching `torch-scatter` wheel. See [PyTorch and torch-scatter](#pytorch-and-torch-scatter-optional) below.
10
-
11
-
---
12
-
13
-
## Development Setup
14
-
15
-
To contribute or develop locally, clone the repository and install in editable mode. Use Python 3.10, 3.11, or 3.12 (3.12 is recommended).
5
+
Create and activate a virtual environment (make sure you use the right python version = 3.10, 3.11 or 3.12. I highly recommend 3.12)
0 commit comments