Skip to content

Conversation

@zhou-haitao
Copy link
Contributor

Purpose

Add PLATFORM reminder. A clear prompt will appear during the compilation process when the PLATFORM variable is not provided.

Modifications

Add PLATFORM reminder.

Test

image

{YELLOW}Please set PLATFORM to one of: cuda, ascend, musa, maca{RESET}
Example:
{BOLD}export PLATFORM=cuda{RESET} # For CUDA platform
{YELLOW}Please uninstall first, then select the PLATFORM, and reinstall.{RESET}
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

In CI scenarios only, you don't need to specify PLATFORM. If it's not a CI scenario, please uninstall and then reinstall with PLATFORM specified.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants