AI Development Package GPU usage

HubertS4

Bit poster
Hello,

Has anyone here used the Ubuntu VM AI development package? I understand that it includes Ollama pre-installed. Does anyone know if Ollama inside the Ubuntu VM can utilize the Apple silicon GPU?

Thanks,
Hubert
 
Yes, I've worked with the Ubuntu VM AI development package a few times. From what I've seen, Ollama running inside the Ubuntu VM doesn't directly utilize the Apple Silicon GPU -- mainly because the virtualized environment can't access Apple's Metal API. The GPU acceleration is limited to what the VM layer can expose, so most of the heavy lifting still happens on the CPU side.

If you're looking for better GPU performance on Apple Silicon for AI workloads, I'd suggest running Ollama natively on macOS instead of inside a VM. That setup allows direct GPU access, and you'll notice a big speed improvement for model inference.

I ran into the same issue when testing local LLM setups for client AI apps at Guru Technolabs, where we handle end-to-end AI development and optimization. Running Ollama natively has consistently given us the best performance results.
 
GPU usage in AI development refers to the use of Graphics Processing Units to train AI models, process large amounts of data, and perform complex calculations faster. GPUs can handle many calculations simultaneously, making them more efficient than CPUs for many AI tasks. When developing large language models (LLMs) like ChatGPT, powerful GPUs are needed to train the model on large datasets and generate responses quickly. The amount of GPU power and memory required depends on the model's size and complexity.
 

AI Development Package GPU usage​



AI Development Package GPU Usage usually refers to how much GPU computing power is used to develop or run an AI application.

  • GPU usage: How actively the graphics processor is working.
  • GPU memory (VRAM): Memory used to store AI models and data.
  • High usage: Often means the AI task is actively processing.
  • Low usage: May mean the GPU is idle or the task is waiting for data.
 
Back
Top