dmlc / decord

An efficient video loader for deep learning with smart shuffling that's super easy to digest
Apache License 2.0
1.73k stars 148 forks source link

ARM/M1 Support #225

Open justinrmiller opened 1 year ago

justinrmiller commented 1 year ago

Hello! We're converting over to M1 Macs at work and I've noticed there doesn't appear to be a decord build form ARMv8/M1. We can emulate x86 in our Docker containers locally but it'd be great if we could run the project natively. Would you be open to adding support for this platform and if so would you like some assistance in doing so?

Thanks, Justin

khurram-nexttier commented 1 year ago

Agreed with @justinrmiller, we need to have support for Apple Silicon. Any help i can provide with that?

alkeshpatel11 commented 1 year ago

+1. Can we have this much needed support for ARM/M1 ?

petered commented 1 year ago

+1 to that - as far as I can tell the only M1-compatible video reader with accurate frame-seeking is pyav, and it's very slow!

harrywang commented 1 year ago

+1, any news? Thanks a lot!

TanujW commented 1 year ago

+1

johnnynunez commented 1 year ago

any news?

petered commented 1 year ago

Would any of the decord experts like @zhreshold or @innerlee be able to chime in on what it would take to support M1?

Looks like it would be useful to a lot of people and maybe just having a high-level idea of what needs to be done would encourage someone to take the initiative.

suryatejreddy commented 1 year ago

We at EVA have been using decord in our project and find it to be extremely useful! To support eva users working on the newer macs (arm architecture), we have created a fork https://pypi.org/project/eva-decord/ that fixed the installation issues. We would love to add them to decord @zhreshold, but you can use it for time being. (edited)

petered commented 1 year ago

Can confirm that the EVA solution works. Thank you @suryatejreddy and the EVA people for not only creating a solution but posting it publicly for all to use.

mrtngrsbch commented 1 month ago

EVA does not work for me and others.