For the complete documentation index, see llms.txt. Markdown versions of all pages are available by appending .md to any URL (e.g. /get-started.md).
Python class
TensorAdapter
TensorAdapter
class max.pipelines.speculative.driver.TensorAdapter
Bases: object
Marks a proposer that runs on experimental Tensor values.
The driver hands such an adapter its batch and carries as single-device
Tensor values, one per device where it holds a list, and accepts
Tensor results back. A ModuleV3 adapter therefore builds its
distributed inputs with from_shard_values()
rather than converting graph values itself.