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
Replace ${TORCH} (e.g., 2.3.1) and ${CUDA} (e.g., cu121 or cpu) with your environment.
58
+
Replace ${TORCH} (for example, 2.9.0) and ${CUDA} (for example, cu124 or
59
+
cpu) with your environment.
42
60
43
61
Behavior without PyTorch extras:
44
-
- aenet.torch_featurize and aenet.torch_training can be imported, but accessing symbols raises a clear ImportError suggesting: pip install 'aenet[torch]'.
62
+
- aenet.torch_featurize and PyG-backed training workflows can be imported, but
63
+
accessing symbols raises a clear ImportError with guidance to install core
64
+
torch plus matching `torch-scatter` / `torch-cluster` wheels.
45
65
- AtomicStructure.get_neighbors() automatically falls back to a NumPy neighbor list with a RuntimeWarning.
46
66
47
67
To use the featurization capabilities, the main ænet package needs to be installed separately as described [elsewhere](http://ann.atomistic.net/documentation/). And `aenet-python` needs to be made aware of the ænet installation path, for example, using its interactive configuration tool
Copy file name to clipboardExpand all lines: notebooks/example-04-torch-featurization.ipynb
+1-1Lines changed: 1 addition & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -6,7 +6,7 @@
6
6
"source": [
7
7
"# PyTorch Featurization\n",
8
8
"\n",
9
-
"**Note: `aenet-python` needs to be installed with the `[torch]` requirements (`pip install aenet[torch]`) for this notebook to work.**\n",
9
+
"**Note: `aenet-python` needs core torch support (`pip install aenet[torch]`) plus matching `torch-scatter` and `torch-cluster` wheels from `https://data.pyg.org/whl/torch-${TORCH}+${CUDA}.html` for this notebook to work.**\n",
10
10
"\n",
11
11
"This notebook demonstrates the longer PyTorch featurization workflows that complement the compact CPU-only examples in `docs/source/usage/torch_featurization.rst`, including file-based input, batch processing, optional GPU execution, and gradient computation."
Copy file name to clipboardExpand all lines: notebooks/example-05-torch-training.ipynb
+1-1Lines changed: 1 addition & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -7,7 +7,7 @@
7
7
"source": [
8
8
"# Training with PyTorch\n",
9
9
"\n",
10
-
"**Note:** `aenet-python` needs to be installed with the `[torch]` requirements (`pip install aenet[torch]`) for this notebook to work.\n",
10
+
"**Note:** `aenet-python` needs core torch support (`pip install aenet[torch]`) plus matching `torch-scatter` and `torch-cluster` wheels from `https://data.pyg.org/whl/torch-${TORCH}+${CUDA}.html` for this notebook to work.\n",
11
11
"\n",
12
12
"This notebook demonstrates end-to-end PyTorch training on the TiO2 example set.\n",
Copy file name to clipboardExpand all lines: notebooks/example-06-torch-inference.ipynb
+1-1Lines changed: 1 addition & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -7,7 +7,7 @@
7
7
"source": [
8
8
"# Inference with the PyTorch implementation\n",
9
9
"\n",
10
-
"**Note: `aenet-python` needs to be installed with the `[torch]` requirements (`pip install aenet[torch]`) for this notebook to work.**\n",
10
+
"**Note: `aenet-python` needs core torch support (`pip install aenet[torch]`) plus matching `torch-scatter` and `torch-cluster` wheels from `https://data.pyg.org/whl/torch-${TORCH}+${CUDA}.html` for this notebook to work.**\n",
11
11
"\n",
12
12
"Predicting energies and forces with the PyTorch API is nearly identical to the Fortran/Python API."
0 commit comments