Skip to main content

A comprehensive ROCm ecosystem version checker with colorful output

Project description

rocm-vvv

A comprehensive ROCm ecosystem Version Verification and Visualization tool with colorful terminal output.

Author

JeongHyun Kim

Description

rocm-vvv (ROCm Version Verification & Visualization) is a powerful tool that searches for and displays versions of various ROCm components installed on your system.

Why "vvv"?

  • Version - Check versions of all ROCm components
  • Verification - Verify your ROCm installation
  • Visualization - Visualize results with colorful output

Components Checked

Essential Components (Simple Mode)

  • ROCm base version
  • HIP (Heterogeneous-Compute Interface for Portability)
  • hipBLAS and MIOpen
  • rocBLAS, rocFFT, rocSPARSE, rocRAND
  • ROCm SMI and AMDGPU driver
  • HIPCC compiler

Extended Components (Full Mode)

Core Math Libraries:

  • Tensile, hipSPARSE, rocALUTION, rocSOLVER
  • hipSOLVER, hipFFT, rocSPARSELt

Performance & Tools:

  • rocPROFILER, rocTRACER, rocm-cmake

Parallel Primitives:

  • hipCUB, rocWMMA, rocPRIM, rocTHRUST

ML/AI Libraries:

  • AMDMIGraphX, hipTensor

Media Libraries:

  • rocDecode, rocJPEG, rocAL, MIVisionX

Development Tools:

  • AOMP, ROCdbgapi, ROCgdb

Additional Components:

  • Composable Kernel (CK), RCCL, rocminfo, hipBLASLt

Features

  • ๐ŸŽจ Colorful Output - Easy-to-read terminal colors
  • ๐Ÿ” Smart Search - Automatically searches multiple system directories
  • ๐Ÿ“Š GPU Detection - Displays AMD GPU information
  • ๐Ÿš€ Fast & Efficient - Quick version detection with progress bar
  • ๐Ÿ’ก Clear Summary - Shows found vs missing components
  • ๐Ÿ› ๏ธ Multiple Methods - Uses various detection techniques
  • ๐Ÿ“ Path Tracking - Shows exact file paths where versions were found
  • ๐ŸŽฏ Flexible Modes - Simple mode for essentials, full mode for comprehensive scan

Installation

pip install rocm-vvv

Usage

Basic Usage

After installation, you can run the tool using:

rocm-vvv

Or use the ultra-short alias:

rvvv

Search Modes

The tool supports two search modes:

Simple Mode (Default)

Checks essential ROCm components (11 components):

rocm-vvv --mode simple

Full Mode

Checks all ROCm components including extended libraries (38+ components):

rocm-vvv --mode full

Additional Options

# Disable progress bar
rocm-vvv --no-progress

# Full mode with progress bar
rocm-vvv --mode full

# Get help
rocm-vvv --help

# Show version
rocm-vvv --version

For more comprehensive results (may require sudo):

sudo rocm-vvv --mode full

Example Output

โ•”โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•—
โ•‘           ROCm Ecosystem Version Checker                  โ•‘
โ•‘                                                           โ•‘
โ•‘  Searching for ROCm components across the system...       โ•‘
โ•šโ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•

============================================================
                      GPU Information                       
============================================================
  GPU 0: AMD Radeon RX 6800 XT

============================================================
                  ROCm Component Versions                   
============================================================
  AMDGPU Driver     : 6.3.6 (/sys/module/amdgpu/version)
  Composable Kernel : Found (version in header) (/opt/rocm-6.4.1/include/ck/ck.hpp)
  MIOpen            : 3.4.1 (/opt/rocm-6.4.1/include/miopen/version.h)
  ROCm              : 6.4.1 (/opt/rocm-6.4.1/.info/version)
  ROCm SMI          : ROCM-SMI version: 3.0.0+e68c0d1 (rocm-smi command)
  hipBLAS           : 2.4.0 (/opt/rocm-6.4.1/include/hipblas/hipblas-version.h)
  hipBLASLt         : 6.4.1 (/opt/rocm-6.4.1/lib/libhipblaslt.so.6.4.1)
  rocRAND           : 6.4.1 (/opt/rocm-6.4.1/lib/librocrand.so.6.4.1)
  rocSPARSE         : 3.4.0 (/opt/rocm-6.4.1/include/rocsparse/rocsparse-version.h)

============================================================
                        Summary                             
============================================================
  Components found: 9/9

============================================================
                        References                          
============================================================
  Tool Repository: https://github.com/JH-Leon-KIM-AMD/rocm-vvv
  Author: JeongHyun Kim (jeonghyun.kim@amd.com)
  PyPI Package: https://pypi.org/project/rocm-vvv/

Sample output from a real ROCm 6.4.1 installation

Requirements

  • Python 3.6 or higher
  • Linux operating system
  • ROCm installation (for detecting components)

Use Cases

  • ๐Ÿ”ง Debugging - Troubleshoot ROCm installation issues
  • ๐Ÿ“‹ System Inventory - Document your ROCm setup
  • ๐Ÿ” Compatibility Check - Verify component versions
  • ๐Ÿš€ Pre-installation - Check what's already installed
  • ๐Ÿ“Š CI/CD Integration - Automated version checking

License

MIT License - see LICENSE file for details.

Contributing

Contributions are welcome! Please feel free to submit a Pull Request.

Issues

If you encounter any problems, please file an issue at: https://github.com/JH-Leon-KIM-AMD/rocm-vvv/issues

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

rocm_vvv-0.0.5.tar.gz (12.8 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

rocm_vvv-0.0.5-py3-none-any.whl (12.2 kB view details)

Uploaded Python 3

File details

Details for the file rocm_vvv-0.0.5.tar.gz.

File metadata

  • Download URL: rocm_vvv-0.0.5.tar.gz
  • Upload date:
  • Size: 12.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.10.18

File hashes

Hashes for rocm_vvv-0.0.5.tar.gz
Algorithm Hash digest
SHA256 8b79ba3506a2b3d799b7988ab1cfaef09da667a55afe57c43b027926649181f5
MD5 883645c208dfb7bedb906f86cda655b3
BLAKE2b-256 349d8fa2c820581efa4d7abdf9a409cc2790fbdab3aae8d8c08f3b0f49520684

See more details on using hashes here.

File details

Details for the file rocm_vvv-0.0.5-py3-none-any.whl.

File metadata

  • Download URL: rocm_vvv-0.0.5-py3-none-any.whl
  • Upload date:
  • Size: 12.2 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.10.18

File hashes

Hashes for rocm_vvv-0.0.5-py3-none-any.whl
Algorithm Hash digest
SHA256 d5e0be2d861259dddfcff722027fcd6dae8702aeb44d50f406cc334c8caad47c
MD5 eafa077183acc20aec798af95a8e81e7
BLAKE2b-256 9bb4dc95e51230f1f4beda222b1f0eafe0c7aacd97a1b4a16288b1784ced29d7

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page