fix bug which causes the following RuntimeError when call apply_weights…#2
Merged
hliuca merged 1 commit intoROCm:0.3.0-rocmfrom Feb 23, 2024
Merged
Conversation
…th bias tensor
vllm/model_executor/layers/linear.py", line 70, in apply_weights
if bias:
RuntimeError: Boolean value of Tensor with more than one value is ambiguous
1 task
mawong-amd
pushed a commit
that referenced
this pull request
May 2, 2025
wip wip & debug update cleanup use quark realquantizer for pack/quant/dequant comment on cudagraph issue; remove prints Keep only 1 place importing quark cudagraph issue resolved; dq weight at load time for efficiency Signed-off-by: Bowen Bao <bowenbao@amd.com> lint Signed-off-by: Bowen Bao <bowenbao@amd.com> turn on emulation based on platform Signed-off-by: Bowen Bao <bowenbao@amd.com> add fused moe support - ugly wip running version Add envar if dequant weight at load time Signed-off-by: Bowen Bao <bowenbao@amd.com> Mxfp4 memory leak fixes (#2)
mawong-amd
pushed a commit
that referenced
this pull request
May 14, 2025
wip wip & debug update cleanup use quark realquantizer for pack/quant/dequant comment on cudagraph issue; remove prints Keep only 1 place importing quark cudagraph issue resolved; dq weight at load time for efficiency Signed-off-by: Bowen Bao <bowenbao@amd.com> lint Signed-off-by: Bowen Bao <bowenbao@amd.com> turn on emulation based on platform Signed-off-by: Bowen Bao <bowenbao@amd.com> add fused moe support - ugly wip running version Add envar if dequant weight at load time Signed-off-by: Bowen Bao <bowenbao@amd.com> Mxfp4 memory leak fixes (#2) Signed-off-by: Felix Marty <felmarty@amd.com>
mawong-amd
pushed a commit
that referenced
this pull request
May 14, 2025
wip & debug update cleanup use quark realquantizer for pack/quant/dequant comment on cudagraph issue; remove prints Keep only 1 place importing quark cudagraph issue resolved; dq weight at load time for efficiency Signed-off-by: Bowen Bao <bowenbao@amd.com> lint Signed-off-by: Bowen Bao <bowenbao@amd.com> turn on emulation based on platform Signed-off-by: Bowen Bao <bowenbao@amd.com> add fused moe support - ugly wip running version Add envar if dequant weight at load time Signed-off-by: Bowen Bao <bowenbao@amd.com> Mxfp4 memory leak fixes (#2) Fix VLLM_QUARK_EMU_MEM_OPT route Signed-off-by: Felix Marty <felmarty@amd.com>
mawong-amd
pushed a commit
that referenced
this pull request
May 14, 2025
wip & debug update cleanup use quark realquantizer for pack/quant/dequant comment on cudagraph issue; remove prints Keep only 1 place importing quark cudagraph issue resolved; dq weight at load time for efficiency Signed-off-by: Bowen Bao <bowenbao@amd.com> lint Signed-off-by: Bowen Bao <bowenbao@amd.com> turn on emulation based on platform Signed-off-by: Bowen Bao <bowenbao@amd.com> add fused moe support - ugly wip running version Add envar if dequant weight at load time Signed-off-by: Bowen Bao <bowenbao@amd.com> Mxfp4 memory leak fixes (#2) Fix VLLM_QUARK_EMU_MEM_OPT route Signed-off-by: Felix Marty <felmarty@amd.com>
charlifu
pushed a commit
that referenced
this pull request
Oct 9, 2025
…ect#26445) Signed-off-by: Nick Hill <nhill@redhat.com>
Rohan138
pushed a commit
that referenced
this pull request
Jan 28, 2026
…3058) Signed-off-by: ramos <49182011+nemoramo@users.noreply.github.com> Signed-off-by: mayufeng <mayufeng@example.com> Co-authored-by: mayufeng <mayufeng@example.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
… with bias tensor
vllm/model_executor/layers/linear.py", line 70, in apply_weights
if bias:
RuntimeError: Boolean value of Tensor with more than one value is ambiguous