Personal AI: computer architectures and shared memory (part 1)
Updated: Nov 20

The “Personal AI” series in three parts:
Part 1. Computer architectures and shared memory (this article) - why run AI locally, practical tasks, why memory capacity matters, shared memory on AMD, NVIDIA and Apple, clusters of up to 768GB.
Part 2. GPU speed and choosing LLM models - GPU performance and memory bandwidth, which models fit into 32-768GB, benchmarks, and what matters more for speed: memory or compute.
Part 3. Ready-made laptops and workstations - models based on NVIDIA RTX Spark N1X, GB10/DGX Spark, AMD Ryzen AI Max+ and Apple Silicon, USB-C power.
The arrival of high-performance CPUs from NVIDIA, AMD, and Apple Silicon, together with large amounts of shared memory, has made local AI accessible in different formats: from laptops to compact home workstations. This new class of computers, designed primarily to run AI models locally, is also sometimes called "agentic computers".
They share an architecture in which the processor and integrated graphics accelerator use the same large pool of high-speed memory. This allows a large, capable LLM model to stay close to the compute units, without constantly transferring parts of it over a slow connection to a separate graphics card.
The main practical reason to run AI locally is the ability to work with a corporate code repository and databases without sending data to a cloud service for processing. For many users and organizations, processing confidential and personal data in the cloud is ruled out as a matter of principle. At the same time, the capabilities of artificial intelligence and the benefits of using it are already clear to everyone. Ignoring AI means inevitably losing a competitive advantage.
There is a way forward in this situation: deploying local LLM models. This no longer requires a dedicated server rack: a model can even run on a laptop, though it needs to be one built around a specialized architecture. You can still use familiar operating systems such as Windows 11, macOS, and Ubuntu.
Another advantage of hosting an LLM locally is that you do not pay for each request to a cloud model provider's API. Broadly speaking, the direct operating cost is the electricity needed to power the computer. You should also factor in the investment in a computer that will serve you for several years.
Running a model locally also lets you work without an internet connection and independently choose a specialized model best suited to particular tasks: coding, agentic work, translation, generating images, video, audio, and so on.
Where local AI helps in everyday work
Assistant for internal documents. If you have a large documentation database, it may make sense to build a RAG-based system that first finds relevant passages in the local knowledge base, then passes them to the LLM model for an answer with references to the documents. An LLM can search documentation by keyword, but if working with document archives is the main task, RAG can make the search more accurate and efficient because it is a vector database.
Working with source code. The model helps explain parts of a project, suggest changes, write code and test it. Top models from Anthropic or OpenAI will produce better results, but these cloud solutions are not available to everyone, cannot always be used because of confidentiality, and can be very expensive. If cloud solutions are permitted in your work environment, you can distribute the workload: local models handle routine operations, while top cloud models handle the final review and architecture.
Running tests and routine operations in the background or overnight. Your team may have recurring tasks that need to run according to a particular workflow, event or schedule and involve tools: parsing and analyzing logs, testing releases, or finding new documents in local sources and on the internet.
Shared assistant for a small team. A compact workstation can sit in the office, with several computers accessing the local model. NVIDIA PAIR can distribute independent Ollama or LM Studio requests across connected compatible systems.
Image generation. For a computer with 128GB of memory, consider FLUX.1-dev for images: the selected Diffusers weight set, together with text encoders and the VAE, takes up around 33.74GB. NVIDIA publishes instructions for running it through ComfyUI on DGX Spark.
Video generation. An example of a local model for this use case is Wan2.2-T2V-A14B: the original set with two experts in FP32, a text encoder, and a VAE takes up around 126.18GB. Its official 720p example requires at least 80GB.
Speech synthesis. For speech generation in different languages, you can use Qwen3-TTS-12Hz-1.7B-CustomVoice together with the speech tokenizer; the weight files take up around 4.52GB. A larger alternative is MOSS-TTS-v1.5 with 8B parameters: 31 languages, voice cloning from a sample, long recordings, and control over duration, pronunciation through IPA and pauses. The main weights take up around 16.98GB, while the required MOSS-Audio-Tokenizer takes another 7.10GB, for around 24.08GB in total. The Apache 2.0 license permits commercial use. This is a broader feature set, not proof of better sound for every text.
Speech recognition. For local transcription of meetings, interviews, and voice notes, consider Qwen3-ASR-1.7B: the model supports 30 languages, including Russian, automatic language detection, and streaming recognition. The BF16 weight files take up around 4.70GB. Word timestamps additionally use Qwen3-ForcedAligner-0.6B with around 1.84GB of weights. Both models are available under Apache 2.0. Runtime memory usage exceeds the file size and depends on buffers and parallel streams.
Why is a large amount of shared memory so important?
A conventional PC with a discrete GPU can also be an excellent machine for local AI. As long as the selected model fits entirely in VRAM and leaves room for the KV cache and working buffers, the accelerator can process requests very quickly. It would therefore be inaccurate to consider all computers with a separate graphics card unsuitable for AI.
The limitation appears when a large model - and large models are the most valuable and necessary for professional use - no longer fits in VRAM. The program may report insufficient video memory (VRAM), move some work to the CPU and system RAM, or load weights from RAM or an SSD. These transfers and slower storage can sharply increase latency, potentially making an interactive assistant unusable. There is no universal slowdown factor: the runtime, the proportion of offloaded weights, the model, and the hardware all matter. In practice, using VRAM and RAM together can reduce performance by a factor of 5-10, even before SSD storage is involved.
Systems based on NVIDIA RTX/DGX Spark, AMD Ryzen AI Max, and Apple Silicon Max/Ultra take a different approach: a large pool of shared memory is available to the graphics accelerator within the architecture's supported limits. The memory is soldered to the board, typically LPDDR5X, and is much faster than conventional system DDR4/DDR5, although slower than GDDR5 graphics memory and HBM3 in AI accelerators. This architecture expands the ability to load and run large models.
This article uses 128GB or more as a practical reference point for running large models capable of handling tasks that users typically send to cloud models through an API or subscription. Smaller specialized models, or experiments with heavily quantized and distilled models and a limited context window, may require less memory.
More memory also allows less aggressive weight compression, helping preserve the original model's quality, and supports a larger context window.
How shared memory works on AMD, NVIDIA, and Apple Silicon platforms
The term unified memory means different things on different platforms. For local LLMs, distinguish physically separate CPU/GPU memory, a shared physical pool with a GPU reservation, and fully dynamic shared memory.
Discrete NVIDIA GeForce RTX and RTX PRO graphics cards
With discrete NVIDIA RTX graphics, the CPU uses system DDR RAM and the GPU uses its own GDDR VRAM. CUDA can access system memory after VRAM fills up, or a runtime can use CPU offloading, but transfers over PCIe have lower bandwidth and higher latency.
Physical VRAM therefore remains the GPU's main fast memory for LLMs. If the runtime supports it, system RAM can hold some weights, KV cache and other data, but exceeding VRAM capacity usually noticeably reduces performance.
AMD Ryzen AI Max
In Ryzen AI Max, the CPU, GPU and NPU use one physical LPDDR5X pool, but under Windows, Variable Graphics Memory (VGM) can reserve part of it for the integrated GPU in advance. The system sees this region as dedicated graphics memory; the CPU can no longer use it as ordinary RAM.
For example, Ryzen AI Max 395 supports up to 48GB of VGM in a 64GB system and up to 96GB in a 128GB system. With the newer Ryzen AI Max+ PRO 495 and 192GB of shared memory, up to 160GB can be allocated to the GPU.
The remaining memory stays available as RAM for the CPU and OS, while some may also be accessible to the GPU as shared graphics memory, for example for the KV cache. For a 128GB system with 96GB of VGM, AMD specifies up to 112GB of total GPU-addressable memory. AMD says peak performance is achieved when the GPU workload fits directly in VGM.
NVIDIA DGX Spark
The Grace CPU and integrated Blackwell GPU in DGX Spark use a shared LPDDR5X pool. In DGX OS, it is not divided in advance into large fixed CPU RAM and GPU VRAM regions. NVIDIA describes this UMA as an architecture without a fixed carve-out: the CPU and GPU dynamically use the same physical memory.
A 128GB DGX Spark has no fixed split such as AMD's 96GB of VGM + 32GB of system RAM.
The model, KV cache, GPU buffers, applications and OS use one pool. A CUDA application may access a substantial share of free memory; as AI workloads grow, Linux can reclaim page cache and other pages.
Not all 128GB is guaranteed for model weights: the OS, runtime, KV cache and other processes also need memory. Current DGX OS has a separate 2GB or 4GB display region, but this is not equivalent to AMD's large VGM carve-out.
NVIDIA RTX Spark N1X
On Windows, RTX Spark N1X allocates memory in a way similar to AMD Ryzen AI Max. The CPU and Blackwell RTX GPU use one physical LPDDR5X memory pool of up to 128GB. Coherence is maintained for memory accessible to both processors. NVIDIA positions the top configuration for running models of up to 120B locally.
As with AMD Ryzen AI Max on Windows, the N1X physical memory pool is divided into three logical regions:
Unified physical memory =
+Dedicated GPU memory
+Shared system memory (CPU and GPU)
+CPU-only system memory
In CUDA, data used predominantly by the GPU is allocated in the dedicated region first. Once it fills up, the driver can allocate memory in the shared region without PCIe transfers to physically separate RAM, as required with discrete RTX graphics. Both regions are in the same LPDDR5X memory. NVIDIA warns that the shared region uses smaller pages, which can make access slower. Model weights and intermediate buffers should use GPU-exclusive allocations.
The key distinction here is between Windows platforms with a GPU memory reservation and DGX Spark on Linux:
DGX Spark under Linux uses a dynamic shared CPU/GPU pool without a large fixed carve-out;
AMD Ryzen AI Max and RTX Spark N1X on Windows use a dedicated GPU region, shared CPU/GPU memory, and the remaining system memory;
shared memory extends the GPU-addressable capacity beyond the dedicated region, but using it depends on the software stack and available budget;
the full installed RAM capacity is not guaranteed to the model: some memory cannot be used for GPU allocations, and the OS and other processes need resources too.
In terms of their overall memory allocation scheme, RTX Spark N1X and AMD Ryzen AI Max on Windows belong to the same group: the dedicated region is reserved for the GPU, the shared region is accessible to the CPU and GPU, and the rest is CPU-only. The specific rules differ: NVIDIA sets the shared region at 50-80% of the memory remaining after the carveout, while AMD describes the typical allocation of 50% of the remaining RAM as shared graphics memory. This does not justify treating N1X as an intermediate architecture between AMD and DGX Spark.
Apple Silicon
Apple Silicon uses a shared physical CPU/GPU pool without allocating fixed VRAM in advance. Apple defines a unified-memory GPU as a GPU that shares all its memory with the CPU: both processors work with the same data without copying between RAM and separate VRAM over PCIe.
LLM weights, KV cache and other structures occupy unified memory without a predefined split, such as 96GB for the GPU and 32GB for the CPU. The capacity actually available to a model is below the installed amount: macOS, the runtime, applications and GPU buffers use the same pool.
The main difference is how the shared physical memory pool is allocated. DGX Spark on Linux and Apple Silicon do not require a large GPU memory reservation in advance. AMD Ryzen AI Max and RTX Spark N1X on Windows use a dedicated GPU region and shared CPU/GPU memory. Their rules, drivers, and software interfaces differ, but their basic allocation schemes are similar. In every case, allow memory for the OS, applications, and buffers; total RAM is not the same as the capacity available for LLM weights.
Clusters: 512GB from NVIDIA and 768GB from AMD
With GB10-based DGX Spark, each top-configuration machine has 128GB. Four machines provide 512GB in total. NVIDIA Sync supports setting up such a cluster; four nodes require a suitable QSFP network switch, while a direct connection suits smaller configurations.
AMD also offers a path to distributed execution: the company publishes an example of four nodes with llama.cpp RPC. In addition, Framework states that four Desktop machines with Ryzen AI Max+ PRO 495 and 192GB per node can be combined for up to 768GB in total.
In both cases, the combined memory does not automatically become a single address space. The orchestration software must distribute the model across the nodes; speed depends on the network and the parallelization method.
A cluster can be configured to host a large model, speed up a single request, or increase a service's total throughput. To do this, you can use several distribution strategies:
Tensor parallel: nodes simultaneously compute parts of the matrices in the same layers. They process the request together but exchange results frequently.
Expert parallel: MoE experts are placed on different nodes, and tokens are routed to the required experts. Parallelization can help, but data exchange and uneven utilization can consume the gains.
Pipeline parallel: groups of layers are split into successive stages. One token passes through them in order; multiple requests or microbatches can occupy different stages simultaneously. Pipeline idle time is possible, but this is an effective scenario for a large stream of sequential tasks.
Data parallel: separate model copies serve independent requests. This increases the service's overall throughput when there is enough memory for the copies, rather than automatically speeding up one request.
Modes can be combined, for example tensor + pipeline or tensor + expert, if the selected software supports it. Simply having four nodes does not guarantee a speedup: the network, synchronization, batch size, and load balance matter. NVIDIA provides a separate explanation, showing how to choose a model split to suit the hardware.
DGX Spark has an official two-node vLLM recipe: Qwen3.8-27B NVFP4, tensor parallel across two nodes, and continuous batching of multiple requests. This example shows that computing a model jointly can also serve parallel requests.
What else to consider when choosing a computer architecture
Any of the architectures discussed can run LLMs locally. However, the available software, acceleration methods and fine-tuning tools differ, so your specific task may determine the final choice.
For example, if you need a server for multiple users, NVIDIA offers TensorRT-LLM: a specialized engine with optimizations for its GPUs, request batching and model distribution across accelerators. It is designed for NVIDIA, so a ready-made solution based on it cannot simply be moved to AMD or Apple: you will need another engine and a new configuration. Access to such specialized software and ready-made CUDA projects is a practical advantage of NVIDIA. TensorRT-LLM capabilities.
To adapt a model to your own documents, response style or work tasks, fine-tuning tools matter more. On a Mac, you can use MLX LM, which supports LoRA and QLoRA for training additional adapters with lower memory requirements than full model fine-tuning. On supported NVIDIA and AMD hardware, Unsloth is available, including Unsloth Studio with a browser interface: you can select a model, data and training parameters, then monitor the results. Fine-tuning itself therefore does not make NVIDIA mandatory, but your chosen software and its capabilities may influence the purchase. MLX LM, Unsloth on AMD.
If you only want to run a ready-made model through LM Studio or Ollama, the software stack usually places fewer limits on your choice of architecture. If you are buying a computer for a particular training workflow, server or ready-made AI project, choose the necessary software first: its CUDA, ROCm and Metal components often require different builds and do not automatically replace one another.
Continue reading: Part 2. GPU speed and choosing LLM models - how the platforms compare in performance, which open LLM models fit into their memory, and what matters more for speed.
