Setting Up RamaLama with MUSA Support on Linux systems
This guide walks through the steps required to set up RamaLama with MUSA support.Install the MT Linux Driver
Download the appropriate MUSA SDK and follow the installation instructions provided in the MT Linux Driver installation guide.Install the MT Container Toolkit
Obtain the latest MT CloudNative Toolkits and follow the installation instructions provided in the MT Container Toolkit installation guide.Setting Up MUSA Support
Testing the Setup
Test the Installation
Run the following command to verify setup:Expected Output
Verify everything is configured correctly, with output similar to this:MUSA_VISIBLE_DEVICES
RamaLama respects theMUSA_VISIBLE_DEVICES environment variable if it’s already set in your environment. If not set, RamaLama will default to using all the GPU detected by mthreads-gmi.
You can specify which GPU devices should be visible to RamaLama by setting this variable before running RamaLama commands:
May 2025, Originally compiled by Xiaodong Ye <yeahdongcn@gmail.com>
