cog icon indicating copy to clipboard operation
cog copied to clipboard

Incompatible Error: GPU false + MacBook Pro M2: Cog + Whisper

Open sagungargs15 opened this issue 2 years ago • 1 comments

Using the example in the Repo: https://github.com/replicate/cog-whisper

With GPUs: set false i.e on cog.yaml gpu: false

Starting Docker image cog-lisb-cog-demo-base and running setup()... WARNING: The requested image's platform (linux/amd64) does not match the detected host platform (linux/arm64/v8) and no specific platform was requested /usr/local/lib/python3.9/site-packages/whisper/timing.py:57: NumbaDeprecationWarning: The 'nopython' keyword argument was not supplied to the 'numba.jit' decorator. The implicit default value for this argument is currently False, but it will be changed to True in Numba 0.59.0. See https://numba.readthedocs.io/en/stable/reference/deprecation.html#deprecation-of-object-mode-fall-back-behaviour-when-using-jit for details. def backtrace(trace: np.ndarray): /usr/local/lib/python3.9/site-packages/whisper/timing.py:57: NumbaDeprecationWarning: The 'nopython' keyword argument was not supplied to the 'numba.jit' decorator. The implicit default value for this argument is currently False, but it will be changed to True in Numba 0.59.0. See https://numba.readthedocs.io/en/stable/reference/deprecation.html#deprecation-of-object-mode-fall-back-behaviour-when-using-jit for details. def backtrace(trace: np.ndarray): ⅹ Model setup failed

With GPUs: set true i.e on cog.yaml gpu: true

Starting Docker image cog-lisb-cog-demo-base and running setup()... WARNING: The requested image's platform (linux/amd64) does not match the detected host platform (linux/arm64/v8) and no specific platform was requested docker: Error response from daemon: could not select device driver "" with capabilities: [[gpu]]. ⅹ Failed to start container: exit status 125

sagungargs15 avatar Jul 06 '23 09:07 sagungargs15

any updates on this one?

nikodem-wrona avatar Apr 27 '24 10:04 nikodem-wrona