When installing both torch (any version, tested with 2.5, 2.4 and 2.3) and pulsar-client==3.6.0, a crash is caused by the following code:
import pulsar
import torch
Output:
free(): invalid pointer
[1] 107824 IOT instruction (core dumped)
The same crash is not present when using pulsar-client==3.5.0. The imports work normally.