MCPcopy Index your code
hub / github.com/apache/tvm / request

Method request

python/tvm/rpc/tracker.py:361–365  ·  view source on GitHub ↗

Request a new resource.

(self, key, user, priority, callback)

Source from the content-addressed store, hash-verified

359 self._scheduler_map[key].put(value)
360
361 def request(self, key, user, priority, callback):
362 """Request a new resource."""
363 if key not in self._scheduler_map:
364 self._scheduler_map[key] = self.create_scheduler(key)
365 self._scheduler_map[key].request(user, priority, callback)
366
367 def close(self, conn):
368 self._connections.remove(conn)

Callers

nothing calls this directly

Calls 2

create_schedulerMethod · 0.95
requestMethod · 0.45

Tested by

no test coverage detected