Apple AI framework MLX: future support for Nvidia's CUDA | heise online
Until now, anyone who wanted to work with Apple's useful machine learning framework MLX had to use a Mac with as much M-Chip power as possible. Fans of tools such as LM Studio, which can be used to run local LLMs, swear by it on macOS and use MLX-optimized versions of Llama, Qwen or Mistral, which are designed to make better use of Apple SoCs and their unified memory. If some developers have their way, MLX could now also spread to other platforms. The GitHub project behind MLX is currently working on a CUDA backend. This means that Nvidia-based systems could use MLX in the future.
However, the project is still in its infancy. If it reaches product maturity, it is conceivable that MLX-optimized models could be adapted comparatively easily for the more powerful Nvidia GPUs, for example as part of training. In addition, MLX models could at least theoretically spread more quickly, as CUDA has a much larger community behind it.
MLX is specifically optimized for Apple Silicon and its Metal GPU interface. In the case of Nvidia GPUs, there would then be a switch from Metal to CUDA (which stands for Compute Unified Device Architecture). MLX comes with bindings for Swift, C and C++. The main developer behind the CUDA backend with the user name zcbenz comes from Japan. According to him, Apple is financing parts of the work.
"There are two main reasons for a CUDA backend," says the developer. "Firstly, CUDA supports unified memory. (...) Secondly, Nvidia hardware is widely used in the scientific field and on large computing clusters ["Massive Computations", writes zcbenz in the original]." It would therefore be useful to be able to write and test code locally on your Mac and then run it on supercomputers. "That would be a good developer experience."
It remains to be seen how quickly the project will progress. It was launched in the spring. This week, zcbenz announced that the CUDA backend is still under development and has not been officially released." More information will be provided "when things are in better shape".
Mit Ihrer Zustimmung wird hier ein externer Preisvergleich (heise Preisvergleich) geladen.
Ich bin damit einverstanden, dass mir externe Inhalte angezeigt werden. Damit können personenbezogene Daten an Drittplattformen (heise Preisvergleich) übermittelt werden. Mehr dazu in unserer Datenschutzerklärung.
(bsc)
You may also like...
Diddy's Legal Troubles & Racketeering Trial

Music mogul Sean 'Diddy' Combs was acquitted of sex trafficking and racketeering charges but convicted on transportation...
Thomas Partey Faces Rape & Sexual Assault Charges

Former Arsenal midfielder Thomas Partey has been formally charged with multiple counts of rape and sexual assault by UK ...
Nigeria Universities Changes Admission Policies

JAMB has clarified its admission policies, rectifying a student's status, reiterating the necessity of its Central Admis...
Ghana's Economic Reforms & Gold Sector Initiatives

Ghana is undertaking a comprehensive economic overhaul with President John Dramani Mahama's 24-Hour Economy and Accelera...
WAFCON 2024 African Women's Football Tournament

The 2024 Women's Africa Cup of Nations opened with thrilling matches, seeing Nigeria's Super Falcons secure a dominant 3...
Emergence & Dynamics of Nigeria's ADC Coalition

A new opposition coalition, led by the African Democratic Congress (ADC), is emerging to challenge President Bola Ahmed ...
Demise of Olubadan of Ibadanland

Oba Owolabi Olakulehin, the 43rd Olubadan of Ibadanland, has died at 90, concluding a life of distinguished service in t...
Death of Nigerian Goalkeeping Legend Peter Rufai

Nigerian football mourns the death of legendary Super Eagles goalkeeper Peter Rufai, who passed away at 61. Known as 'Do...