Most python sci/ml libs use C underneath for tensor and gpu stuff, python is just used as the ergonomic layer when coding.