↓ 9 callersClassTextGenerationControllerThe text generation controller (the main sampling loop) This class tokenizes the input, runs inference, samples from logits, and detokenizes the
Megatron-LM/megatron/core/inference/text_generation_controllers/text_generation_controller.py:50