Skip to content

Commit a7c6bf0

Browse files
authored
Make compatible with older PyTorch versions (#443)
* Add workaround for pytorch issue with serializing dtype * Add some dtype aliases * Add all dtypes * Make compatible with earlier torch versions
1 parent bf66d59 commit a7c6bf0

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

Diff for: src/schnetpack/utils/__init__.py

-2
Original file line numberDiff line numberDiff line change
@@ -27,8 +27,6 @@
2727
"qint8": torch.qint8,
2828
"qint32": torch.qint32,
2929
"bool": torch.bool,
30-
"quint4x2": torch.quint4x2,
31-
"quint2x4": torch.quint2x4,
3230
}
3331

3432
TORCH_DTYPES.update({"torch." + k: v for k, v in TORCH_DTYPES.items()})

0 commit comments

Comments
 (0)