3 ms·
You can use arch -x86_64 and install the Intel versions. Small perf overhead but not really noticable.
by steipete 6y ago
You can use arch -x86_64 and install the Intel versions. Small perf overhead but not really noticable.
- aledalgrande 6y agoDoes MacOS auto detect that they are x86 binaries and run them through Rosetta automatically after installing?
- saagarjha 6y agoYes.
- danieldk 6y agoUnless you use anything that does JIT compilation (e.g. JVM), e.g. JetBrains IDEs are really slow onder Rosetta. Another pain point is code that relies heavily on SIMD. AVX/AVX2/AVX-512 instructions are not translated, so in those cases you'll be using slower kernels. My machine learned models are ~10 times slower with libtorch under Rosetta. Though they are competitive when compiling libtorch natively. (Source: I have used an M1 Air for a week, but decided to return it.)
- neurostimulant 6y agoDoes this mean python performance is finally competitive with those fancy JIT languages now?
- saagarjha 6y agoNope.
- andrekandre 6y ago> used an M1 Air for a week, but decided to return it. out of curiosity, why did you return it?