蘋果公布Apple Silicon平臺專用AI框架MLX
· 2023-12-08

MLX是類似NumPy的陣列框架,目的在Apple Silicon平臺上高效率而彈性地執行機器學習

GitHub

在微軟及英特爾等業者大肆宣傳AI PC概念的同時,向來較沈默的蘋果也公布執行在Apple Silicon平臺的AI框架MLX。

根據蘋果在GitHub資源網頁上的說明,MLX是蘋果機器學習研究中心的開發成果,它是類似Python常用框架之一NumPy的陣列框架,目的在Apple Silicon平臺上高效率而彈性地執行機器學習。

蘋果指出,MLX的設計靈感來自PyTorch、Jax及ArrayFire等框架,MLX和這些框架最大差別在於「統合記憶體模型」。MLX陣列是位於共享記憶體中,因此可以執行在任何支援的裝置上,而無需複製資料。目前支援的裝置類型為CPU和GPU。

蘋果說,Python API和NumPy十分相似,MLX有功能完整的C++ API,後者也和Python API相近。MLX和NumPy只有幾處不同,MLX和NumPy主要差別有三(意思是相較NumPy的優點)。一是在自動微分、自動矢量化及運算圖表(computation graph)優化具有可組合函式轉換(composable function transformation),二是MLX的運算為惰性求值(lazy computation),第三則是多裝置支援,可在「支援的CPU、GPU」上執行運算。

現在開發人員已可以在GitHub網頁下載,該網頁也提供相關指引及文件。

Popular articles
1spin4win grows its Latin American presence by partnering with Fortuna Juegos
Online Game
Manila delivers: Highlights from SiGMA Asia 2026 
Southeast Asia
Kazakhstan plans to penalise online casino promotions
Regulation
Are you ready to maximize your earnings? Try ProPush.me Constructor!
Marketing
Online gambling, crypto pose ongoing money laundering risks in Philippines, analyst says
Southeast Asia
Super PAC Raises $48 Million: Sports Betting Forces Ramp Up Political Push
Regulation
Indiana online casino bill stalls in House committee
Regulation
Gaming & Technology Expo Makes a Powerful Entrance in CDMX
Marketing
PropellerAds Shared a New iGaming Case Study: 97,674 Installs and 12,701 Deposits in 3 Months
Marketing
SBC Summit Canada to Make Player Safety a Key Pillar of 2026 Agenda
Marketing
Brazil Proposes Raising Gambling Tax Rate to 24%, With Revenue Allocated to Social Security and Healthcare
Regulation
What’s on the SBC Summit Conference Agenda in 2026?
Marketing
Vietnam's tightening online gaming policy creates new market opportunities
Southeast Asia
GAT Expo Puerto Rico Will Pulse with the New Era of Gaming in the Caribbean
Marketing
Zenith partners with HUIDU for 2026 World Cup Carnival Official Tour
Online Game
Home
Game
Cooperation
Find
My