Skip to content

Extract nvidia drivers to new role#7

Merged
csibbitt merged 4 commits intorhos-vaf:mainfrom
csibbitt:csibbitt_OSPRH-20747_refactor_drivers_to_own_role
Nov 4, 2025
Merged

Extract nvidia drivers to new role#7
csibbitt merged 4 commits intorhos-vaf:mainfrom
csibbitt:csibbitt_OSPRH-20747_refactor_drivers_to_own_role

Conversation

@csibbitt
Copy link
Contributor

All driver related code has moved to it's own role here: https://github.com/rhos-vaf/gpu-drivers-ansible

This is fully tested on my fork, it works with the CUDA Repo RPM driver and the vGPU Guest driver (installed from .run)

@csibbitt
Copy link
Contributor Author

csibbitt commented Oct 31, 2025

Evidence of testing:

[csibbitt@laptop rhos-vaf (⎈|openstack/api-rhos-lab-.../kube:admin:openstack)]$ oc delete ansibletest gpu-validation && oc apply -f ansibletest.yaml && sleep 20 && oc logs -f gpu-validation
[...]
TASK [gpu-validation : TEST[model_performance]Check the performance thresholds] ***
task path: /var/lib/ansible/ansible/gpu-validation/tasks/model_performance_assertions.yaml:2
ok: [gpu-validation-0] => {
    "failed_when_result": false,
    "performance_json": {
        "avg_time_per_tok": "0.01",
        "avg_time_to_first_tok": "0.021"
    }
}
[...]
PLAY RECAP *********************************************************************
gpu-validation-0           : ok=45   changed=21   unreachable=0    failed=0    skipped=16   rescued=0    ignored=0   
localhost                  : ok=20   changed=4    unreachable=0    failed=0    skipped=7    rescued=0    ignored=0   

Copy link
Contributor

@MiguelCarpio MiguelCarpio left a comment

Choose a reason for hiding this comment

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

/lgtm

@csibbitt csibbitt merged commit 47f23b4 into rhos-vaf:main Nov 4, 2025
1 check 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