Skip to content

Conversation

mohiso22
Copy link
Contributor

@mohiso22 mohiso22 commented Jul 9, 2025

No description provided.

@mohiso22 mohiso22 marked this pull request as ready for review July 10, 2025 05:41
"chunk_length": prefill_seq_len,
"chunk_ctx_len": chunk_ctx_len,
}
if continuous_batching:
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

nit: Can we update together for prefill and decode on line 985? Do we need 2 separate if conditions?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yup not needed, I will do both in one if condition.

else:
lang_decode["batch_size"] = kv_cache_batch_size

lang = []
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

nit: better to use lang_specialization = [lang_prefill, lang_decode] for better readability

@@ -969,18 +998,22 @@ def get_specializations(
specializations["lang"] = lang
return specializations, compiler_options
else:
lang[0].pop("vision_size")
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

better to use a loop and do the pop operation rather than performing it for each index

@@ -637,6 +639,9 @@ def export(
export_dir,
)

import ipdb
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

remove

@quic-rishinr
Copy link
Contributor

please add tests for CB and update the table in validated model list with CB support
https://quic.github.io/efficient-transformers/source/validate.html#vision-language-models-text-image-generation

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants