taliesins / terraform-provider-hyperv

HyperV provider for Terraform
Mozilla Public License 2.0
224 stars 80 forks source link

Support for Add-VMGpuPartitionAdapter #268

Open nenkoru opened 1 month ago

nenkoru commented 1 month ago

For quite some time now, Hyper-V supports the usage of partitioned GPU adapters, which helps to allocate a percentage of the GPU to a VM. This feature is particularly useful for workloads requiring GPU acceleration but not needing the entire GPU, optimizing resource utilization.

Rationale:
Adding support for Add-VMGpuPartitionAdapter to the provider will enable users to automate the configuration of GPU partitioning for their VMs. This will streamline the deployment process for environments that rely on GPU resources, such as those used for machine learning, data analysis, or graphic-intensive applications.

nenkoru commented 1 month ago

rfc

taliesins commented 1 month ago

I would also love to have this added. When I get a chance I will give it a go.

nenkoru commented 1 month ago

I would also love to have this added. When I get a chance I will give it a go.

That's awesome as I already started implementing it. Already created all the necessary interface fields, the rest is to figure out the scripts for each of actions. Will link a PR to this issue!