google / ml-compiler-opt

Infrastructure for Machine Learning Guided Optimization (MLGO) in LLVM.
Apache License 2.0
612 stars 92 forks source link

Fix np.Inf for numpy 2 #347

Closed boomanaiden154 closed 1 month ago

boomanaiden154 commented 1 month ago

This patch replaces instances of np.Inf with np.inf, which is needed for numpy 2 compatibility.