5 ms·
I thought a lot of stuff didn't work with Homebrew? https://github.com/Homebrew/brew/issues/7857 https://github.com/Homebrew/brew/issues/7857 How do you run th
by aledalgrande 6y ago
I thought a lot of stuff didn't work with Homebrew? https://github.com/Homebrew/brew/issues/7857 https://github.com/Homebrew/brew/issues/7857
How do you run the command line tools through Rosetta once they are installed?
- steipete 6y agoYou 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?
- michaelbuckbee 6y agoThe tip I saw was to set terminal to run as Rosetta and then the apps launched with that all execute through that (homebrew included).
- dgdosen 6y agoI just have two versions of iTerm - one started via x86_64, and one started natively as arm64. For now, I'm mostly using Rosetta2 for running iTerm. It works great. I do fine sluggishness on some initial builds, but then it's off to the races.