mirror of
https://github.com/zebrajr/pytorch.git
synced 2025-12-06 00:20:18 +01:00
Co-authored-by: Aaron Gokaslan <aaronGokaslan@gmail.com> Pull Request resolved: https://github.com/pytorch/pytorch/pull/125898 Approved by: https://github.com/Skylion007
6 lines
161 B
Python
6 lines
161 B
Python
import warnings
|
|
from torch.onnx import _CAFFE2_ATEN_FALLBACK
|
|
|
|
if not _CAFFE2_ATEN_FALLBACK:
|
|
warnings.warn("Caffe2 support is no longer present in PyTorch.")
|