dynverse / dyno

Inferring, interpreting and visualising trajectories using a streamlined set of packages 🦕
https://dynverse.github.io/dyno
Other
167 stars 32 forks source link

Using dyno with Apple silicon #136

Open EmanuelSoda opened 2 years ago

EmanuelSoda commented 2 years ago

Hi everyone, thanks for the amazing package. I'm trying to run the tutorial on my M1 macbook, but unfortunately I'm having trouble with docker. When I run the following line of code: model <- infer_trajectory(dataset, first(methods_selected))

I get back the following error: WARNING: The requested image's platform (linux/amd64) does not match the detected host platform (linux/arm64/v8) and no specific platform was requested

I know that Docker is not well optimise for apple silicon, for this reason I was wondering if there is a method to specify linux/arm64/v8 or any other way to solve this problem.

Thanks in advance, Emanuel

lystoris commented 1 year ago

Same issue here.

AllyDePuyt commented 1 year ago

I'm having the same issue as well.

tiagobrc commented 1 year ago

it is very slow for me on M1

wanyingdou commented 1 year ago

same issue as well.

michael-kotliar commented 1 year ago

When you run docker container manually on Apple Silicon, you should provide the additional parameter --platform linux/amd64. Probably, the same parameter should be used when docker container is started by dyno.