vllm.models.beam.nvidia.activation
¶
Functions:
-
beam_silu_mul–Compute SiLU and multiplication in FP32, rounding only the product.
-
beam_softcap_logits–Softcap in FP32 and round back into the original logits buffer.
beam_silu_mul(x)
¶
Compute SiLU and multiplication in FP32, rounding only the product.
Source code in vllm/models/beam/nvidia/activation.py
beam_softcap_logits(logits, cap)
¶
Softcap in FP32 and round back into the original logits buffer.