Skip to content

feat: Refactor LLM model zoo and add KV cache support #3527

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 28 commits into
base: main
Choose a base branch
from
Open

Conversation

peri044
Copy link
Collaborator

@peri044 peri044 commented May 20, 2025

Description

This PR redesigns our LLM model compilation, unifies it, fixes output mismatch and performance issues. This PR also implements KV caching using native TensorRT.

Fixes # (issue)

Type of change

  • New feature (non-breaking change which adds functionality)
  • This change requires a documentation update

Checklist:

  • My code follows the style guidelines of this project (You can use the linters)
  • I have performed a self-review of my own code
  • I have commented my code, particularly in hard-to-understand areas and hacks
  • I have made corresponding changes to the documentation
  • I have added tests to verify my fix or my feature
  • New and existing unit tests pass locally with my changes
  • I have added the relevant labels to my PR in so that relevant reviewers are notified

@peri044 peri044 added the WIP Work is in progress, pull request should not be merged yet label May 20, 2025
@peri044 peri044 marked this pull request as draft May 20, 2025 23:30
@github-actions github-actions bot added component: lowering Issues re: The lowering / preprocessing passes component: conversion Issues re: Conversion stage component: api [Python] Issues re: Python API component: runtime component: dynamo Issues relating to the `torch.compile` or `torch._dynamo.export` paths labels May 20, 2025
@github-actions github-actions bot requested a review from gs-olive May 20, 2025 23:30
@peri044 peri044 changed the title feat : caching attempts feat: caching attempts May 20, 2025
@peri044 peri044 removed the request for review from gs-olive May 21, 2025 00:40
github-actions[bot]

This comment was marked as spam.

github-actions[bot]

This comment was marked as outdated.

github-actions[bot]

This comment was marked as outdated.

github-actions[bot]

This comment was marked as spam.

github-actions[bot]

This comment was marked as spam.

github-actions[bot]

This comment was marked as spam.

github-actions[bot]

This comment was marked as spam.

github-actions[bot]

This comment was marked as spam.

github-actions[bot]

This comment was marked as spam.

github-actions[bot]

This comment was marked as spam.

@peri044 peri044 removed WIP Work is in progress, pull request should not be merged yet labels Jun 12, 2025
@peri044 peri044 marked this pull request as ready for review June 12, 2025 22:36
github-actions[bot]

This comment was marked as spam.

github-actions[bot]

This comment was marked as spam.

@peri044 peri044 changed the title feat: caching attempts feat: Refactor LLM optimization and add KV cache support Jun 13, 2025
@peri044 peri044 changed the title feat: Refactor LLM optimization and add KV cache support feat: Refactor LLM model zoo and add KV cache support Jun 13, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
cla signed component: api [Python] Issues re: Python API component: conversion Issues re: Conversion stage component: dynamo Issues relating to the `torch.compile` or `torch._dynamo.export` paths component: lowering Issues re: The lowering / preprocessing passes component: runtime
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants