[mlir][python] disable nanobind leak warnings (#121099)

This commit is contained in:
Maksim Levental
2024-12-29 09:13:10 -08:00
committed by GitHub
parent 01c8cd664a
commit 08e2c15a28

View File

@@ -2587,6 +2587,8 @@ private:
//------------------------------------------------------------------------------
void mlir::python::populateIRCore(nb::module_ &m) {
// disable leak warnings which tend to be false positives.
nb::set_leak_warnings(false);
//----------------------------------------------------------------------------
// Enums.
//----------------------------------------------------------------------------