Skip to content

Commit

Permalink
DOC how to run the pipeline on mac M1/M2/M3
Browse files Browse the repository at this point in the history
  • Loading branch information
mvdoc authored Apr 24, 2024
1 parent aafbc6c commit daab93d
Showing 1 changed file with 17 additions and 0 deletions.
17 changes: 17 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -68,6 +68,23 @@ To let docker see the folder containing the head 3D model, you will have to bind
docker run -v /tmp:/tmp -t --rm caseforge:latest /tmp/test-headcase/model.zip /tmp/test-headcase/case.zip
```

### Running with Docker on an ARM system (Mac M1/M2/M3)

To run the pipeline on an ARM system such as a Mac with M1/M2/M3 chip, you need to pass the `--platform linux/amd64` flag to all docker calls (see this [stackoverflow question](https://stackoverflow.com/questions/71040681/qemu-x86-64-could-not-open-lib64-ld-linux-x86-64-so-2-no-such-file-or-direc)).

To build the docker image, run

```bash
docker build --platform linux/amd64 --tag caseforge .
```

To run the pipeline, use

```bash
docker run --platform linux/amd64 --rm caseforge:latest --help
```


## Manual installation

Python requirements are listed under `requirements.txt`, and can be installed with
Expand Down

0 comments on commit daab93d

Please sign in to comment.