-
visionik
-
- Posts: 48
- Joined: Sat Oct 01, 2011 7:33 am
by visionik » Tue Feb 16, 2021 10:34 am
Hi, a few things on this.
I have run Sighthound Video 7 on my M1 MacBook Air. Performance is quite impressive even when running Sighthound with Rosetta 2 (install-time translation of Intel code to Apple M1).
There are three things that stand between today and native Sighthound Video M1 support:
1. Since Sighthound Video 6 we made extensive improvements to make Sighthound Video fast on Intel processors. For M1 that work needs to be completely redone (while also maintaining our Intel optimizations for other platforms).
2. In Sighthound Video 7 we added GPU support on Windows, to do that on Mac we need to support an API called METAL. That work is now starting. Let's say it's done in SV 7.5 (no promises). The end result will be that the performance of "Intel" SV 7 running with Rosetta 2 + native Apple METAL support will be much faster than any release of Sighthound Video on Mac ever was. We might get single-digit % faster when we add native M1 at that point, maybe. Why is this? Because most of the "hard work" of Sighthound Video will be running natively on the M1 GPU at that point, not the M1 CPU.
3. Sighthound Video is written in Python 2.x, which apple doesn't support on Big Sur. We had to create a custom Intel build of Python and work around several Big Sur bugs to make Sighthound Video 7 work on Big Sur. This was a pain in the ___ and ate up almost all of the development time we had committed for the 7.0 release.
We really don't want to do a custom build of Python 2.x for M1. So what are our options to get native M1 support: a) Port 100% of the code to Python 3, which doesn't make sense as all of our new apps are written in TypeScript, or b) Transition Sighthound Video from Python to TypeScript. "B" has been our plan for over a year now. The good news is we are staying focused on that plan as it is in the short and long term best interests of *all* Sighthound Video users.
Unfortunately this does mean native M1 support is likely at least a year away. In the meantime, as I said, from my experience todays Sighthound Video performance on M1 is quite good, and when our METAL support is done, it will really make the added performance improvements from native M1 support relatively small.
Best,
-Jonathan Taylor (Sighthound Co-Founder and Chairman)