Code
Hub
Trending
Following
Digest
Workspaces
Connect
Indexed
MCP
copy
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
16
class
BufferBlock:
17
""
"A container for a buffer tensor and its state."
""
18
buffer: torch.Tensor = None
19
is_reserved: bool = False
20
21
22
class
Buffers:
Callers
1
get_buffer
Method · 0.85
Calls
no outgoing calls
Tested by
no test coverage detected