microsoft / hummingbird

Hummingbird compiles trained ML models into tensor computation for faster inference.
MIT License
3.32k stars 274 forks source link

Add Python 3.12 #781

Open mshr-h opened 1 week ago

mshr-h commented 1 week ago

https://github.com/microsoft/hummingbird/actions/runs/9695338444/job/26754887915?pr=781 The above CI error occurs because PySpark removed its dependency on the distutils package, which was removed in Python 3.12. But the latest PySpark (3.5.1) doesn't include it. Seems like 4.0.0 will have it. The preview was released on June 3, so I guess the stable version will be released within a few weeks. https://issues.apache.org/jira/browse/SPARK-45390