MCPcopy Create free account
hub / github.com/AIS-SNU/Smart-Infinity / __init__

Method __init__

DeepSpeedExample/megatron/core/utils.py:62–63  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

60 are not used concurrently."""
61
62 def __init__(self):
63 self.buffer = {}
64
65 def get_tensor(self, tensor_shape, dtype, name):
66 required_len = reduce(operator.mul, tensor_shape, 1)

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected