Skip to content
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

[ROCm] add support to ROCm 6.0 and MI300 #2274

Merged
merged 17 commits into from
Jan 26, 2024
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
ruff change
hongxiayang committed Jan 15, 2024
commit a93b53dbd3356c32aec6e59cba996f0d70cbe3b2
5 changes: 1 addition & 4 deletions vllm/model_executor/models/llama.py
Original file line number Diff line number Diff line change
@@ -300,10 +300,7 @@ def can_skip_param(self, name: str):
# need to skip the names for model (e.g. llama2 70b) as those are not in the param_dict
# when loading weights
skip_name_list = [".bias", "g_idx", "qweight", "qzeros", "scales"]
for skip_name in skip_name_list:
if name.endswith(skip_name):
return True
return False
return any(name.endswith(skip_name) for skip_name in skip_name_list)

def load_weights(self,
model_name_or_path: str,