이 제출물을 팔로우합니다
- 팔로우하는 게시물 피드에서 업데이트를 확인할 수 있습니다
- 정보 수신 기본 설정에 따라 이메일을 받을 수 있습니다
GPT training is usually relegated to GPUs, often intentionally without full floating point precision. MATLAB has no GPU backend on Apple Silicon: gpuArray and the Deep Learning Toolbox training path require an NVIDIA CUDA GPU, which Macs do not have. Every M-series Mac carries an extremely capable GPU of reduced precision but that may be irrelevant in GPT training. MATLAB needs some indirect path to access it.
This educational Live Script benchmarks a small but flexible MATLAB GPT model using the CPU, PyTorch on the CPU, and PyTorch on the Metal GPU (the MPS backend). It also pits Apple's native MLX framework against PyTorch-MPS. It can serve as an introduction to these technologies and to some pitfalls of benchmarking.
The small GPT is arithGPT from nanoGPTArithmetic Explorer and the task is addition where the hard part is learning to carry. This GPT is flexible in size so enables benchmarking at different scales with grokking to 100% exact-match on held-out problems as a performance check.
The tests documented here are for an arguably ancient M1 Chip MacBook Pro. The Live Script package contains instructions for how to setup the environment and perform the same tests on any Mac, e.g. the latest with the M5 chip. New results are saved without clobbering ships results.
인용 양식
Duncan Carlsmith (2026). Mac GPT GPU Benchmark Explorer (https://kr.mathworks.com/matlabcentral/fileexchange/184058-mac-gpt-gpu-benchmark-explorer), MATLAB Central File Exchange. 검색 날짜: .
| 버전 | 퍼블리시됨 | 릴리스 정보 | Action |
|---|---|---|---|
| 1.0.0 |
