vllm.lora.ops.triton_ops.utils
¶
Functions:
-
supports_pdl–Refer to: https://github.com/triton-lang/triton/blob/v3.5.0/python/tutorials/11-programmatic-dependent-launch.py.
_get_lora_a_ptr(lora_a_weights, device)
¶
_LORA_A_PTR_DICT collects the required information during profile_run,
After this, it remains constant and subsequent usage is through LUT.
Refer to:
https://github.com/triton-lang/triton/blob/release/3.1.x/python/tutorials/08-grouped-gemm.py
_get_lora_b_ptr(lora_weights, offset_start, device)
¶
_LORA_B_PTR_DICT collects the required information during profile_run,
After this, it remains constant and subsequent usage is through LUT.
Refer to:
https://github.com/triton-lang/triton/blob/release/3.1.x/python/tutorials/08-grouped-gemm.py
_normalize_lora_config_keys(config)
¶
Normalize Triton config dict keys to uppercase BLOCK_SIZE_* format.
supports_pdl(device=None)
cached
¶
Refer to: https://github.com/triton-lang/triton/blob/v3.5.0/python/tutorials/11-programmatic-dependent-launch.py.