Tag: Code

Talk Nerdy to Me VMworld {code} Session 2778

Here you will find resources from VMworld Code Session 2778 – Talk Nerdy to Me, Using Python to Create VMs with vGPUs for AI Workloads.

Permanent link to this article: https://www.wondernerd.net/blog/talk-nerdy-to-me-vmworld-code-session-2778/

VMTN2835 – Update to VDI by Day Compute by Night

This is post for my VMworld 2021 vBrownbag session VMTN2835. This session covers updates to the VDI by day compute by night scripts that I’ve been writing and updating for a couple of years. You can download all of the modules needed for this from my GitHub repo.

Permanent link to this article: https://www.wondernerd.net/blog/vmtn2835-update-to-vdi-by-day-compute-by-night/

New PowerCLI Module – Finding vGPU Profiles

A deep dive on a PowerCLI module for finding vGPU profiles, used as part of VDI by day Compute by Night scripts. This PowerShell script finds what vGPU profiles are supported by a given set of hosts and reports it back as an object collection.

Permanent link to this article: https://www.wondernerd.net/blog/powershell-module-finding-vgpu-profiles/

Number of vGPUs Available in vSphere

PowerCLI Code Snippit for Carrying Capacity Function

I’ve been working on a PowerCLI function for the last few months in my free time and now I’d like to share it with everyone. This is a pretty spiffy function for those folks working with vGPUs, and it’s not just for VDI it can help those looking to virtualize ML/DL systems too. It calculates the vGPU carrying capacity of a vSphere environment.

Permanent link to this article: https://www.wondernerd.net/blog/number-of-vgpus-available-in-vsphere/

vGPU PowerCLI Commands

PowerCLI Screen on vGPUs

I’m a noob when it comes to PowerCLI, I can Get-VM like most everyone else, but not much more.  You may have seen my previous post about Taking Back Resources where I talked about the theory and logic behind vGPU cycle harvesting. Right now I’m working on putting it into action and the best way …

Continue reading

Permanent link to this article: https://www.wondernerd.net/blog/vgpu-powercli-commands/

NVIDIA CUDA Toolkit Test Script

Code Snipit in C++

At GTC18 I mentioned that I created a script to run through all the samples in the CUDA Toolkit. I had a few moments so I thought I’d share the code. You can use the code below to loop through the sample files. If you are interested in the results I obtained on VMs with …

Continue reading

Permanent link to this article: https://www.wondernerd.net/blog/cuda-toolkit-test-script/