Understand your Mac and iPhone more deeply by tracing the evolution of Mac OS X from prelease to Swift. John Siracusa delivers the details.
You've got two main options:
| # Script to easily set resource allocation for GPUs to be passed through into a Hyper-V VM | |
| # | |
| # Author: ThioJoe / https://github.com/thiojoe | |
| # | |
| ### Instructions for copying drivers to VM - Will likely need to do this before running this script | |
| # NOTE: Instead of manually copying the files, if you have an Nvidia GPU you can use my other script called "Copy-GPU-Drivers-VM.ps1" to do it automatically | |
| # 1. Open C:\Windows\System32 on host machine and copy any files beginning with "nv" (Except nvspinfo.exe and NvAgent.dll , which are unrelated) | |
| # 2. Place those files into the System32 folder on the VM | |
| # 3. On the VM, create the following directory: C:\Windows\System32\HostDriverStore\FileRepository | |
| # 4. For Nvidia GPUs, open C:\Windows\System32\DriverStore\FileRepository, copy any folders beginning with "nv_" (The number of folders should match the number of GPUs, or at least number of different models of GPU) |
| import argparse | |
| import json | |
| import logging | |
| import os | |
| import re | |
| import shutil | |
| from concurrent.futures import ProcessPoolExecutor, as_completed | |
| from dataclasses import dataclass | |
| from datetime import datetime | |
| from typing import Any, Callable, Dict, List, Literal, Optional, Tuple |