Api
BionemoMegatronModel
Bases: MegatronModule, Generic[DataT], ABC
Models that use Megatron must be a MegatronModule type.
The only major difference is the explicit forward pass method signature that makes this class compatible
with bionemo-core's Model structural type.
Source code in bionemo/llm/api.py
32 33 34 35 36 37 38 39 40 41 | |