MCPcopy Create free account
hub / github.com/ml-explore/mlx / ~PyCompiledFun

Method ~PyCompiledFun

python/src/transforms.cpp:580–587  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

578 };
579
580 ~PyCompiledFun() {
581 nb::gil_scoped_acquire gil;
582
583 mx::detail::compile_erase(fun_id);
584 fun.reset();
585 captured_inputs.reset();
586 captured_outputs.reset();
587 }
588};
589
590class PyCheckpointedFun {

Callers

nothing calls this directly

Calls 2

compile_eraseFunction · 0.85
resetMethod · 0.45

Tested by

no test coverage detected