meronym / speaker-transcription

Transcription with speaker diarization pipeline
MIT License
80 stars 17 forks source link

Not compatible with amd64 (apple silicon) #11

Open jeffhaskin opened 5 months ago

jeffhaskin commented 5 months ago

I run an M2 Macbook and attempted to run this on my computer. The docker couldn't run because it failed to find a GPU (it was looking for Nvidia), and because it couldn't find the cpu.

View build details: docker-desktop://dashboard/build/desktop-linux/desktop-linux/0hdgzb5ya0erjztlhe3w8szry

Starting Docker image cog-speaker-transcription-mast-base and running setup()...
docker: Error response from daemon: could not select device driver "" with capabilities: [[gpu]].
Missing device driver, re-trying without GPU
Error response from daemon: page not found
Error while loading predictor:

Traceback (most recent call last):
  File "/root/.pyenv/versions/3.8.18/lib/python3.8/site-packages/cog/server/http.py", line 131, in create_app
    predictor = load_predictor_from_ref(predictor_ref)
  File "/root/.pyenv/versions/3.8.18/lib/python3.8/site-packages/cog/predictor.py", line 184, in load_predictor_from_ref
    spec.loader.exec_module(module)
  File "<frozen importlib._bootstrap_external>", line 843, in exec_module
  File "<frozen importlib._bootstrap>", line 219, in _call_with_frames_removed
  File "predict.py", line 12, in <module>
    import torch
  File "/root/.pyenv/versions/3.8.18/lib/python3.8/site-packages/torch/__init__.py", line 199, in <module>
    from torch._C import *  # noqa: F403
ImportError: libtorch_cpu.so: cannot enable executable stack as shared object requires: Invalid argument

ⅹ Model setup failed