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

Method PyCheckpointedFun

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

Source from the content-addressed store, hash-verified

590class PyCheckpointedFun {
591 public:
592 PyCheckpointedFun(nb::callable fun) : fun_(std::move(fun)) {}
593 ~PyCheckpointedFun() {
594 nb::gil_scoped_acquire gil;
595

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected