Skip to content

[Usage]: ’Shutting down executor‘ occurs when PLATFORM is not added #528

@zhou-haitao

Description

@zhou-haitao

Your current environment

When you compile UCM without first running export PLANTFOR=xxx, you may later encounter the error

ERROR 12-14 23:23:00 [multiproc_executor.py:135] Worker proc VllmWorker-0 died unexpectedly, shutting down executor.

This happens because PLANTFOR was not exported before compilation.
Before building and installing, run export PLATFORM=cuda (or ascend, etc., depending on your hardware).
Then execute
pip install -v -e . --no-build-isolation
If you omit PLATFORM during the pip command, a warning will be printed.
If you have already installed uc-manager without setting PLATFORM, first uninstall it:
pip uninstall uc-manager
next set the variable:
export PLATFORM=cuda # or ascend, ...
and finally reinstall:
pip install -v -e . --no-build-isolation

How would you like to use ucm.

Errors you might encounter:

Image
If you see the following message when running pip install -v -e . --no-build-isolation, it means that PLATFORM has not been added:

Image

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions