flavor with GPU

Balazs Gibizer balazs.gibizer at est.tech
Mon Sep 6 10:59:28 UTC 2021



On Mon, Sep 6, 2021 at 16:26, open infra <openinfradn at gmail.com> wrote:
> Thanks Balazs.
> 
> If I already create vgpu I just need to update the flavor using the 
> following command?
> 
> openstack flavor set vgpu_1 --property "resources:VGPU=1"

Yes, that is the way to request a VGPU via a flavor [1]

[1] 
https://docs.openstack.org/nova/latest/admin/virtual-gpu.html#configure-a-flavor-controller

gibi

> 
> On Mon, Sep 6, 2021 at 4:12 PM Balazs Gibizer 
> <balazs.gibizer at est.tech> wrote:
>> 
>> 
>>  On Mon, Sep 6, 2021 at 14:02, open infra <openinfradn at gmail.com> 
>> wrote:
>>  > Hi,
>>  >
>>  > How to create a flavor with GPU?
>>  This document helps with the vGPU support in nova:
>> https://docs.openstack.org/nova/latest/admin/virtual-gpu.html
>> 
>>  If you need a whole physical GPU to be passed to the guest instead 
>> then
>>  you can pass that through as a PCI device. Documented here:
>> https://docs.openstack.org/nova/latest/admin/pci-passthrough.html
>> 
>>  Cheers,
>>  gibi
>> 
>>  > The way we set vcpu and memory.
>>  >
>>  > Regards,
>>  > Danishka
>> 
>> 





More information about the openstack-discuss mailing list