Format-agnostic schedule state, linear discovery, and dispatch.
PrecisionPath module-attribute
PrecisionPath = Literal['reasoner', 'generation']
Cosmos3MixedPrecisionLinearMethod
Bases: LinearMethodBase
Dispatch between a checkpoint-native method and dense A16.
base_method instance-attribute
base_method = base_method
module_name instance-attribute
module_name = module_name
runtime instance-attribute
strategy instance-attribute
apply
apply(
layer: Module, x: Tensor, bias: Tensor | None = None
) -> Tensor
create_weights
create_weights(*args, **kwargs) -> None
process_weights_after_loading
process_weights_after_loading(layer: Module) -> None
Cosmos3MixedPrecisionRuntime
Own one transformer's schedule state and wrapped linear inventory.
config instance-attribute
install
install(transformer: Module) -> None
set_step
set_step(step_index: int, num_steps: int) -> None