Skip to content

Add support for a new 'validate' command - #365

Merged
ngdxzy merged 1 commit into
ROCm:mainfrom
superm1:validate-command
Feb 23, 2026
Merged

Add support for a new 'validate' command#365
ngdxzy merged 1 commit into
ROCm:mainfrom
superm1:validate-command

Conversation

@superm1

@superm1 superm1 commented Feb 23, 2026

Copy link
Copy Markdown
Contributor

This command will return a 0 for an expected stable underlying stack and 1 for an unstable.

When running explicitly on my machine:

╰─❮ flm validate
[Linux]  Kernel Version: 7.0.0-rc1-00048-g76872d177c3c
[Linux]  Found AMD NPU at /dev/accel/accel0
[Linux]  NPU FW Version: 1.1.2.64
╰─❮ echo $status
0

The sanity check also implicitly runs for all commands but will only display errors.

The idea is that higher level software can call flm validate and examine the return code to decide whether flm should be usable.

This command will return a 0 for an expected stable underlying stack
and 1 for an unstable.
@ngdxzy
ngdxzy merged commit fe6447d into ROCm:main Feb 23, 2026
4 checks passed
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