Skip to main content
Version: 2026.11.0

Deployment to Microsoft Hyper-V

To deploy the Phonexia Speech Platform 4 Virtual Appliance, you need these two ZIP files, downloaded from Phonexia:
– Virtual Appliance ZIP file
– Licensed models ZIP file

Preparation: Operating system, networking, disks

Operating system​

Hyper-V is available on Windows Desktop and Windows Server. However, only Windows Server supports GPU passthrough, via advanced virtualization features such as Discrete Device Assignment (DDA).

If a GPU compute acceleration inside the virtual appliance is required - like in the case of Enhanced Speech To Text Based on Whisper - a server version of Hyper-V must be used, with a properly configured DDA.

If a GPU capabilities inside the virtual appliance is not required, either Windows Desktop or Windows Server can be used, depending on your environment and licensing.

GPU Passthrough capable
Hyper-V on Windows Server 2019, 2022, 2025✅
Hyper-V Server 2019✅
Hyper-V on Windows 10, 11❌

Networking​

Hyper-V implements the concept of software Virtual Switches, which work just like physical switches.
There are three main types of Virtual Switches: private, internal and external. Additionally, there is a Default Switch, which is a special kind of internal switch with additional basic NAT-based internet connectivity to virtual machines without requiring manual configuration.

For Speech Platform Virtual Appliance, we recommend creating External switch. This should save you from a hassle with additional port forwarding rules configuration for accessing the virtual appliance from your internal network.
Virtual switch can be created in the Virtual Switch Manager, accessible in the Hyper-V Manager from your server context menu or from the Actions pane.

The following table shows an overview of switch types and the type of networking provided by each switch type.

Switch typeVM to HostVM to VMVM to InternetLAN Access
Private❌✅❌❌
Internal✅✅❌❌
External✅✅✅✅
Default✅✅✅ via NAT❌
Step 1: Create Virtual Appliance
  1. Make sure to have the virtual switch created (see above).
  2. Start creating a new virtual machine. This opens the New Virtual Machine Wizard.
  3. In the Specify Name and Location section, enter the name of the virtual machine and optionally select specific location for storing the virtual machine files.
  4. In the Specify Generation section, set Generation 2.
  5. In the Assign Memory section, assign at least 32768 MB and make sure that the Use Dynamic Memory for this virtual machine check box is cleared (this is required specifically for GPU passthrough).
  6. In the Configure Networking section, select the virtual switch you have prepared previously.
  7. In the Connect Virtual Hard Disk section, select the Use an existing virtual hard disk option and select the first converted VHDX file speech-platform-<version>-disk001.vhdx.
    The second disk needs to be connected after creating the virtual machine.
  8. Proceed to the Summary section, verify the configuration and finish creating the virtual machine.
Post-import configuration

After importing the virtual machine to Hyper-V, it's necessary to further change some of its parameters.

Right-click on the machine in the list and select Settings... to open the setting dialog.

  1. In the Security section, clear the Enable secure boot check box.
  2. In the Processor section, make sure that Number of virtual processors is at least 4.
  3. In the SCSI Controller section (where the first connected disk is already listed), select "Hard Drive" from the list and click on Add button. Then select the newly added "Hard Drive" item, select the Virtual hard disk option and then select the second converted VHDX disk speech-platform-<version>-disk002.vhdx.

Additional changes are required for GPU Passthrough:

  1. In the Checkpoints section, clear the Enable checkpoints check box.
  2. In the Automatic Stop Action, select the Turn off the virtual machine option.

Click OK to save the settings.
If GPU Passthrough is required, continue with the following section. Otherwise, the virtual machine is ready to run!

GPU passthrough configuration​

For the Virtual Appliance to use your machine's GPU, a Windows Server feature called Discreet Device Assignment (DDA) needs to be enabled.

Prepare virtual machine​

Before setting up the GPU passthrough itself, make sure that the corresponding virtual machine settings are properly set according to the instructions above:

  • the Dynamic Memory must be disabled
  • the Checkpoints must be disabled
  • the Automatic Stop action must be set to Turn off the virtual machine

Configure Discrete Device Assignment​

To configure Discrete Device Assignment (DDA), open a PowerShell session with administrator privileges.

  1. Set cache limits for Memory Mapped IO space, which is required for the CPU to communicate with the device.
    The HighMemoryMappedIoSpace value should be the "total GB of framebuffer memory on all GPUs attached to the VM, rounded to the power of 2, and then doubled", e.g.
    for 1 GPU with 12 GB, set (1 × 12 ≈ 16) × 2 = 32Gb
    for 1 GPU with 16 GB, set (1 × 16) × 2 = 32Gb
    for 1 GPU with 24 GB, set (1 × 24 ≈ 32) × 2 = 64Gb
    for 3 GPU with 8 GB each, set (3 × 8 ≈ 32) × 2 = 64Gb
    Set-VM -Name VMName -GuestControlledCacheTypes $True -LowMemoryMappedIoSpace 3Gb -HighMemoryMappedIoSpace <value>
  2. Identify the device ID and location of your GPU. You will need these in the following steps.
    Use these commands and identify the target GPU in the outputs.
    Get-PnpDevice | Where-Object {$_.Present -eq $true} | Where-Object {$_.Class -eq "Display"}|select Name,InstanceId
    Get-PnpDevice -Class Display | Where-Object {$_.Present -eq $true} | ForEach-Object { Write-Output "$($_.FriendlyName) has a device id of $($_.DeviceId) and is located at $($_ | Get-PnpDeviceProperty DEVPKEY_Device_LocationPaths | Select-Object -ExpandProperty Data | Where-Object { $_ -like "PCIROOT*" })"; }
    Once you see the output of these commands, indentify the target GPU.
  3. The device must be disabled in the host system using the following command:
    (The Instance-ID was returned by the first command from the previous step.)
    Disable-PnpDevice -InstanceId "<Instance-ID>" -Confirm:$false
  4. Now it's time to detach the device from the host system.
    (The Device-Location was returned by the second command from step 2.)
    Dismount-VmHostAssignableDevice -LocationPath "<Device-Location>" -Force
  5. Last step is to attach the dismounted device to your VM using the following command:
    Add-VMAssignableDevice -VMName <VM-Name> -LocationPath "<Device-Location>"

Now power on the VM and after boot is finished, log in. To verify the GPU is functional, enter the command nvidia-smi. If you see your GPU in the output, the passthrough was successful.

Step 2: Run Virtual Appliance

After you have imported and configured the setting of the virtual appliance, you can finally start it.

The console displays the boot log with various messages as startup tasks are completed.
This typically takes several minutes.

When the system is fully up and running, the console shows a welcome screen similar to this:

Rocky Linux 10.1 (Red Quartz)
Kernel 6.12.0-124.56.1.el10_1.x86_64 on an x86_64

____ _ _ ___ _ _ _______ _____ _
| _ \| | | |/ _ \| \ | | ____\ \/ /_ _| / \
| |_) | |_| | | | | \| | _| \ / | | / _ \
| __/| _ | |_| | |\ | |___ / \ | | / ___ \
|_| |_| |_|\___/|_| \_|_____/_/\_\___/_/ \_\
____ _ ____ _ _ __
/ ___| _ __ ___ ___ ___| |__ | _ \| | __ _| |_ / _| ___ _ __ _ __ ___
\___ \| '_ \ / _ \/ _ \/ __| '_ \ | |_) | |/ _` | __| |_ / _ \| '__| '_ ` _ \
___) | |_) | __/ __/ (__| | | | | __/| | (_| | |_| _| (_) | | | | | | | |
|____/| .__/ \___|\___|\___|_| |_| |_| |_|\__,_|\__|_| \___/|_| |_| |_| |_|
|_|
.
.
.

speech-platform login:
Step 3: Upload licensed models and configure the platform

The virtual appliance distribution contains only the bare Speech Platform system. To actually breathe life into the system it's necessary to upload the licensed models to the appliance and configure the technologies.

These steps can be done either semi-automatically via the platform GUI, or manually via SSH access to the platform console.

  1. Open Settings and then go to Licenses section. If the system asks for a password, enter the password and click on Show licenses button.
  2. Click on Add new license button and follow the instructions in the opened dialog to upload the ZIP file with licensed models (if you already have models present in the Speech Platform, you can upload only license YAML file).

A percentage indicator shows the upload progress. After finishing the upload, the system starts extracting the uploaded ZIP file and then runs an automatic configuration.
Depending on the provided technologies and models it may take up to several minutes to fully load the new configuration.

The automatic configuration

  • detects which models and licenses were extracted from the ZIP file and automatically turns on the corresponding technologies and configures them to use the provided models
  • detects the available hardware and if a GPU is present, it enables GPU processing for technologies which require GPU for reasonable processing speed