TEAMuP-dev / HARP

A sample editing application allowing for hosted, asynchronous, remote processing of audio with machine learning by routing through Gradio endpoints.
BSD 3-Clause "New" or "Revised" License
51 stars 3 forks source link

Every model returns error "Bad CPU type in executable" on Mac M2 Max computer. #166

Closed cwitkowitz closed 4 months ago

cwitkowitz commented 4 months ago

When running the v1.2.0 release for macOS, the following error occurs when trying to load every model:

Running command: /Applications/HARP.app/Contents/Resources/gradiojuce_client/gradiojuce_client --mode get_ctrls --url cwitkowitz/timbre-trap --output_path /Users/frank/Library/Caches/HARP/control_spec.json >> /Users/frank/Library/Caches/HARP/system_get_ctrls_log.txt 2>&1
sh: /Applications/HARP.app/Contents/Resources/gradiojuce_client/gradiojuce_client: Bad CPU type in executable
cwitkowitz commented 4 months ago

I was able to fix this by following these instructions, i.e. by installing rosetta manually.

cwitkowitz commented 4 months ago

Fixed with f7c0d38.