Skip to content

ImportError: cannot import name 'current_platform' on gfx1151 #13

Description

@misja

Environment

Problem
vllm-server fails to start. The amdsmi call to get GPU ASIC info fails with
AMDSMI_STATUS_FILE_ERROR (code 14), which triggers an error path that attempts
to import current_platform from vllm.platforms. That symbol does not exist.

Error
AmdSmiLibraryException: Error code: 14 | AMDSMI_STATUS_FILE_ERROR
ImportError: cannot import name 'current_platform' from 'vllm.platforms'. Did you mean: '_current_platform'?

amd-smi (system) correctly identifies the GPU and returns gfx1151, the issue is also present in vllm0.20.1-rocm7.12.0-gfx1151

lemonade_log.txt

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions