MCPcopy Index your code
hub / github.com/NVIDIA/TensorRT-LLM / BufferBlock

Class BufferBlock

tensorrt_llm/_torch/memory_buffer_utils.py:16–19  ·  view source on GitHub ↗

A container for a buffer tensor and its state.

Source from the content-addressed store, hash-verified

14
15@dataclass
16class BufferBlock:
17 """A container for a buffer tensor and its state."""
18 buffer: torch.Tensor = None
19 is_reserved: bool = False
20
21
22class Buffers:

Callers 1

get_bufferMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected