Skip to content

Conversation

Yard1
Copy link
Collaborator

@Yard1 Yard1 commented Oct 30, 2023

Removes the hard limit on context length that was tied to paged attention v1 limitations and instead forces v2 to be used if the context cannot fit in shared memory.

@Yard1
Copy link
Collaborator Author

Yard1 commented Oct 30, 2023

cc @WoosukKwon

@WoosukKwon WoosukKwon self-requested a review October 31, 2023 04:48
@Yard1 Yard1 requested a review from WoosukKwon November 1, 2023 18:19
Co-authored-by: Woosuk Kwon <woosuk.kwon@berkeley.edu>
@Yard1 Yard1 requested a review from WoosukKwon November 1, 2023 23:16
Copy link
Collaborator

@WoosukKwon WoosukKwon left a comment

Choose a reason for hiding this comment

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

LGTM! Thanks for the fix!

@WoosukKwon WoosukKwon merged commit 9738b84 into vllm-project:main Nov 1, 2023
@Yard1 Yard1 deleted the force_pa_v2_for_long_context branch November 1, 2023 23:30
hongxiayang pushed a commit to hongxiayang/vllm that referenced this pull request Feb 13, 2024
yiliu30 pushed a commit to yiliu30/vllm-fork that referenced this pull request Aug 14, 2025
…llm-project#1559)

Merge changes from habana_main for embedding fix
HabanaAI#1510

---- details ----
Fix the failures at warmup stage in pooling mode

--
due to.
[rank0]: File "/wm/vllm-fork/vllm/worker/hpu_model_runner.py", line
2904, in warmup_model
[rank0]: self.warmup_graphs(
[rank0]: File "/wm/vllm-fork/vllm/worker/hpu_model_runner.py", line
2714, in warmup_graphs
[rank0]: self.warmup_scenario(batch_size,
[rank0]: File "/wm/vllm-fork/vllm/worker/hpu_model_runner.py", line
2561, in warmup_scenario
[rank0]: inputs = self.prepare_model_input_align_worker( [rank0]: File
"/wm/vllm-fork/vllm/worker/model_runner_base.py", line 233, in
prepare_model_input_align_worker
[rank0]: raise NotImplementedError
[rank0]: NotImplementedError

Co-authored-by: Libin Tang <litang@habana.ai>
Co-authored-by: Michał Kuligowski <mkuligowski@habana.ai>
yiliu30 pushed a commit to yiliu30/vllm-fork that referenced this pull request Aug 20, 2025
Fix the failures at warmup stage in pooling mode

--
due to.
[rank0]: File "/wm/vllm-fork/vllm/worker/hpu_model_runner.py", line
2904, in warmup_model
[rank0]: self.warmup_graphs(
[rank0]: File "/wm/vllm-fork/vllm/worker/hpu_model_runner.py", line
2714, in warmup_graphs
[rank0]: self.warmup_scenario(batch_size,
[rank0]: File "/wm/vllm-fork/vllm/worker/hpu_model_runner.py", line
2561, in warmup_scenario
[rank0]: inputs = self.prepare_model_input_align_worker(
[rank0]: File "/wm/vllm-fork/vllm/worker/model_runner_base.py", line
233, in prepare_model_input_align_worker
[rank0]: raise NotImplementedError
[rank0]: NotImplementedError

Co-authored-by: Libin Tang <litang@habana.ai>
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