MCPcopy Create free account
hub / github.com/EverMind-AI/MSA / BlockModelInput

Class BlockModelInput

src/prefill.py:23–29  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

21
22@dataclass
23class BlockModelInput:
24 doc_input_ids: torch.Tensor
25 doc_attention_mask: torch.Tensor
26 doc_ids: torch.Tensor
27 position_ids: torch.Tensor
28 num_chunks: int
29 chunk_sizes: List[int]
30
31PREFILL_WORKER_READY = "PREFILL_WORKER_READY"
32PREFILL_WORKER_CLOSE = "PREFILL_WORKER_CLOSE"

Callers 1

_prepare_block_inputsMethod · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected