Skip to content

Unable to create CPX VFs on MI300X #13

Description

@marcofaltelli

Hi,

I am trying to create CPX VFs on a Supermicro AS-8125GS-TNMR2 server equipped with 8 MI300X GPUs.

If I try to insert the gim module with the following command:
sudo modprobe gim vf_num=8
I get many errors in dmesg (see attachment). What is more interesting for me is the following error message:
[Wed Oct 15 16:04:04 2025] gim error libgv: [0:c6:0:0][amdgv_parse_config_opt:1020] VF number 8 to be enabled exceeds the vf limit 1.

Does MI300X support CPX partitions to this day? If yes, could you add to the documentation how to create a VM with a CPX VF?

At this point, if I try to set the CPX partition via amd-smi, I get no reply from the drivers:

ubuntu@amd-monster-gpu:~$ sudo amd-smi partition --accelerator

ubuntu@amd-monster-gpu:~$ sudo amd-smi partition --memory

ubuntu@amd-monster-gpu:~$

If I load the driver without the vf_num=8, it works OK, but I cannot create CPX VFs in that case.

Some info about the environment:
I am using gim module version 8.4.0.K , ROCM v7.0.1 , Ubuntu 22.04 and kernel 5.15.0.157-generic

Any help would be appreciated. This is an important test for a POC about AMD virtualization drivers.

dmesg.txt.rtf

Activity

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions