macOS ?

Using the Grok GPU JPEG2000 encoder with DCP-o-matic
Kewl
Posts: 121
Joined: Mon Jan 17, 2022 5:13 pm
Location: Montreal, Canada

macOS ?

Post by Kewl »

As far as I know, and briefly tested a year ago, the Grok Encoder needs Ubuntu OS and Nvidia GPU. But, here https://github.com/GrokImageCompression ... ag/v14.0.0, there's a macOS release.

Will it be possible to use Grok on macOS with Apple Silicon GPU?
boxerab
Posts: 19
Joined: Wed May 18, 2016 7:52 pm
Location: Toronto, Canada

Re: macOS ?

Post by boxerab »

Hi Kewl,

Yes, the open source cpu version of Grok does run on macOS. Unfortunately, macOS does not support CUDA, which is
what is used in the GPU version, so this is off the table at the moment. With (very) significant effort, it could be ported to
Metal, Apple's acceleration framework for Apple GPUs, but not in the near future.

Even bootcamp will not support Ubuntu on Apple M series CPUs, so I'm afraid it's not possible right now.

Hope that helps,
Aaron
Kewl
Posts: 121
Joined: Mon Jan 17, 2022 5:13 pm
Location: Montreal, Canada

Re: macOS ?

Post by Kewl »

boxerab wrote: Wed Dec 11, 2024 1:06 am the open source cpu version of Grok does run on macOS
Thanks for the info. Is this Grok CPU version faster than the present encoding library in DOM? If Grok is faster, any plans to incorporate it in DOM?
boxerab
Posts: 19
Joined: Wed May 18, 2016 7:52 pm
Location: Toronto, Canada

Re: macOS ?

Post by boxerab »

Yes, the CPU version is faster than OpenJPEG, which is currently what is used in DoM.
We have plans to further accelerate a commercial version to perform better
than Kakadu, which is currently the leading CPU JPEG 2000 SDK, and offer this as another option
besides the GPU version. I can't guarantee timing, but this should be ready in roughly 8-12 months.
Kewl
Posts: 121
Joined: Mon Jan 17, 2022 5:13 pm
Location: Montreal, Canada

Re: macOS ?

Post by Kewl »

Thanks for the heads up. This CPU version would probably allow our 2013 Mac Pro DOM server farm to perform faster with "minimal" investment.

Cheers!