Skip to content

Commit 906fa07

Browse files
authored
fix: Update platform name retrieval in get_platform_name function (#105)
… `vendor_name` instead of `device_name` for improved accuracy. ### PR Category <!-- One of [Core | Vendor | OP | Tools | Others] --> Tools ### PR Type <!-- One of [User Experience | New Features | Bug Fixes | Improvements | Performance | Breaking Change | Deprecations | Test Case | Docs | Others] --> Bug Fixes ### Description <!-- Describe what this PR does and why. --> ### Related Issues <!-- Link any related issues: Fixes #issue, Closes #issue, or Related to #issue --> ### Changes <!-- List the key changes made in this PR. --> - ### Testing <!-- How has this change been tested? Include test commands, hardware used, etc. --> - ### Checklist - [ ] I have run the existing tests and they pass - [ ] I have added tests for my changes (if applicable) - [ ] I have updated the documentation (if applicable)
1 parent 019b7b8 commit 906fa07

2 files changed

Lines changed: 1 addition & 1 deletion

File tree

vllm_fl/dispatch/config/utils.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@ def get_platform_name() -> str:
4949
"""
5050
try:
5151
from vllm.platforms import current_platform
52-
return current_platform.device_name
52+
return current_platform.vendor_name
5353
except ImportError:
5454
pass
5555

0 commit comments

Comments
 (0)