Questions tagged [apple-m2]

12 questions
1
vote
0 answers

Error: v8@3.15 has been disabled because it depends on Python 2 to build

I want to install v8 3.15 on MacOs with M2 pro apple chip. Getting the error that is disabled. I tried to install x86-64 brew with rosetta and use that to install v8 but still getting the same error. Does anyone have a work around for this, or…
1
vote
1 answer

Running Docker Containers on Mac Apple Silicon M2: Platform Compatibility and Execution Errors (linux/arm64)

I'm a newbie to both macOS and Docker. I'm running into a series of roadblocks while trying to launch my project using Docker on Apple Silicon M2. I think that the issues i'm facing are related to bad compatibility between the image:…
1
vote
0 answers

need fix for Could not find gem 'google-protobuf (= 3.23.1)' with platforms 'arm64-darwin-22' in cached gems or installed locally or in gems cached i

Could not find gem 'google-protobuf (= 3.23.1)' with platforms 'arm64-darwin-22', 'x86_64-darwin-19', 'x86_64-darwin-20', 'x86_64-darwin-21', 'x86_64-darwin-22', 'x86_64-linux', 'aarch64-linux' in cached gems or installed locally or in gems cached…
0
votes
1 answer

DataLoader - pytorch inconsistency between cpu and mps - Apple Silicon

I got stuck on this inconsistency with DataLoader in Pytorch on Mac Apple Silicone. If I use cpu y is interpreted correctly. However If I use mps it always returns vector with correct length, however only based on first element y[0]. import…
Pavol Travnik
  • 853
  • 3
  • 14
  • 32
0
votes
1 answer

Running Oracle XE docker container with colima not working on Apple M2

I followed the steps in this blog post using colima, but I am still running into issues and I don't know what I'm missing. Here is my docker-compose YAML file: version: '3.1' services: oracle: container_name: oracleDB image:…
Joc
  • 21
  • 2
0
votes
1 answer

Cannot install R conda packages on Apple Mac M2

I can't seem to install R conda packages although it is available on conda. For example, r-raster; $ mamba install -c conda-forge r-raster Looking for: ['r-raster'] conda-forge/osx-arm64 Using…
mindlessgreen
  • 11,059
  • 16
  • 68
  • 113
0
votes
1 answer

WER different for Colab and Apple M2 Max

I am going through this blog: https://huggingface.co/blog/fine-tune-xlsr-wav2vec2 aimed for speech recognition. When I run the code in Google Colab, it works fine, WER is lower then 0.5. But when I try the same code with MacBook Pro (Apple M2 max),…
0
votes
0 answers

adb push not working on MacBook Pro M2 Max (Apple Silicon)

I have successfully installed adb and also got the devices list after the command adb devices. But when I try to push a folder via the command adb push folder/ /sdcard/, it gets stuck after 1-2 files and stays like that. It is running fine on an…
Rachit Sharma
  • 341
  • 1
  • 4
  • 14
0
votes
0 answers

java.lang.ClassNotFoundException: javax.xml.bind.annotation.XmlSchema

I am trying to run a React native application on Android on a Mac M2 and am getting the following error. All the setup steps were from the official documentation https://reactnative.dev/docs/environment-setup. Any ideas on what I can do? BUILD…
Pila
  • 5,460
  • 1
  • 19
  • 30
0
votes
0 answers

Why does using the Metal plugin on my M2 Max with TensorFlow reduce processing times but lower accuracy, and how can I fix it?

I have an Apple computer with an M2 Max chip. I've downloaded TensorFlow and the Metal plugin to utilize the GPU on Jupyter Notebook. The message 'Plugin optimizer for device_type GPU is enabled' appears. Indeed, the processing times are…
0
votes
0 answers

Building amd64 images on Mac - Dockerfile includes R renv()

I have the following Dockerfile to create an image to be used after testing on my Mac on a Ubuntu host. The Dockerfile includes some logic related to R's renv() package to restore denifed packages. The Dockerfile content: # File: Dockerfile FROM…
Jochem
  • 3,295
  • 4
  • 30
  • 55
0
votes
1 answer

LightGBM GPU Support for MacBook M1 and M2 Chips

I understand that the CPU version of LightGBM on MacBook M1 and M2 chips is currently not officially supported and can only be obtained through Conda-forge. However, I would like to know if there have been any updates or announcements regarding the…
Alexis Rosuel
  • 563
  • 1
  • 5
  • 12