vllm.model_executor.models.transformers.causal
¶
Transformers modeling backend mixin for causal language models.
Classes:
CausalMixin
¶
Bases: VllmModelForTextGeneration, Base
Methods:
-
compute_logits_local–Logits for this TP rank's vocab shard, for batch-sharded sampling.
-
load_weights–A thin wrapper around
Base.load_weightsto handle the lm_head bias.