php-ai / php-mlx

PHP-MLX (php-ml next generation) - Machine Learning library for PHP
Other
91 stars 10 forks source link

Interact with GPU #2

Open SerafimArts opened 4 years ago

SerafimArts commented 4 years ago

I suggest you do a separate issue 😉

Related issue: https://github.com/php-ai/php-mlx/issues/1

Absolutely. I have already experimented with cuda bindings, but I can't find this library right now.

@akondas In my example (in issue #1), no libraries are required, only installed video card drivers. Everything works through PHP using FFI.

Alas, I don’t know the specifics of computing in machine learning, so I can only provide a basis for working with graphics and computing APIs and write examples of how to load a program into a video card and get the result of the calculations.

So you have to come up with and set me the task of what is required for this)))