mirror of
https://github.com/ROCm/jax.git
synced 2025-04-19 05:16:06 +00:00
Merge pull request #23143 from vfdev-5:more-nogil-mlir-dialects
PiperOrigin-RevId: 665464355
This commit is contained in:
commit
607ee3eea1
@ -314,7 +314,7 @@ MlirContext getDefaultContext() {
|
||||
|
||||
} // namespace
|
||||
|
||||
PYBIND11_MODULE(_tpu_ext, m) {
|
||||
PYBIND11_MODULE(_tpu_ext, m, py::mod_gil_not_used()) {
|
||||
mlirRegisterTPUPasses(); // Register all passes on load.
|
||||
|
||||
py::class_<MlirTpuApplyVectorLayoutContext>(m, "ApplyVectorLayoutCtx",
|
||||
|
@ -22,7 +22,7 @@ limitations under the License.
|
||||
|
||||
namespace py = pybind11;
|
||||
|
||||
PYBIND11_MODULE(_triton_ext, m) {
|
||||
PYBIND11_MODULE(_triton_ext, m, py::mod_gil_not_used()) {
|
||||
//
|
||||
// Dialects.
|
||||
//
|
||||
|
Loading…
x
Reference in New Issue
Block a user