vllm.model_executor.warmup.jit_warmup ¶
Shared interfaces and tracing helpers for explicit JIT warmup keys.
Classes:
-
VllmJitKernel–Kernel wrapper that owns dispatch, warmup keys, and compilation.
-
WarmupIntRange–Expand integers with range semantics or a custom monotonic progression.
Functions:
-
zip_inputs–Group row-wise dispatch inputs that should be expanded in lockstep.
VllmJitKernel ¶
Bases: Generic[CompileKeyT], ABC
Kernel wrapper that owns dispatch, warmup keys, and compilation.
Methods:
-
compile–Compile one warmup key.
-
dispatch–Build one compile key from one concrete dispatch point.
-
get_warmup_keys–Return compile keys that should be warmed for this kernel.
-
warmup–Compile this kernel's warmup keys.
Source code in vllm/model_executor/warmup/jit_warmup.py
479 480 481 482 483 484 485 486 487 488 489 490 491 492 493 494 495 496 497 498 499 500 501 502 503 504 505 506 507 508 509 510 511 512 513 514 515 516 517 518 519 520 521 522 523 524 525 526 527 528 529 530 531 532 533 534 535 536 537 538 539 540 541 542 543 544 545 546 547 548 549 550 551 552 553 554 555 556 557 558 559 560 561 562 563 564 565 566 567 568 569 570 571 | |
WarmupIntRange dataclass ¶
Expand integers with range semantics or a custom monotonic progression.
Source code in vllm/model_executor/warmup/jit_warmup.py
_WarmupInputRows dataclass ¶
zip_inputs(*rows) ¶
Group row-wise dispatch inputs that should be expanded in lockstep.