MCPcopy Index your code
hub / github.com/tinygrad/tinygrad / remote_get

Function remote_get

test/null/test_disk_cache.py:5–5  ·  view source on GitHub ↗
(table,q,k)

Source from the content-addressed store, hash-verified

3from tinygrad.helpers import diskcache_get, diskcache_put, diskcache, diskcache_clear
4
5def remote_get(table,q,k): q.put(diskcache_get(table, k))
6def remote_put(table,k,v): diskcache_put(table, k, v)
7
8class DiskCache(unittest.TestCase):

Callers

nothing calls this directly

Calls 2

diskcache_getFunction · 0.90
putMethod · 0.80

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…