TORCH_PYTHON_API contains ABI breaking changes in same version 2.6.0a0 路 Issue #144966 路 pytorch/pytorch (original) (raw)

馃悰 Describe the bug

The function signature THPVariable_Wrap changes between versions with the same major.minor.alpha. Specifically

This causes breaking changes in any application that is linked against this API, because the name mangling for the method will change:

If externs were used, this might not be an issue. However, that is not used for this API.

Impact is that any application compiled against 2.6.0a0 may not work with other versions at 2.6.0a0.

Versions

2.6.0a0+ecf3bae40a
2.6.0a0+df5bbc09d1

cc @seemethere @malfet @osalpekar @atalman @jbschlosser