Skip to content

Commit

Permalink
Fix setup formatting (#2653)
Browse files Browse the repository at this point in the history
  • Loading branch information
zachgk authored Jun 14, 2023
1 parent f60a644 commit 28562ca
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions docs/development/setup.md
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,9 @@ You can use the IDE of your choice. We recommend using IntelliJ.
You use Gradle and Maven wrappers to build the project, so you don't need to install Gradle or Maven.
However, you should have basic knowledge about the Gradle or Maven build system.

## M1 Macs.
DLJ defaults to the MXNet Engine which is not supported on Macs. To get your code to run on a mac - use either:
## M1 Mac

DLJ defaults to the MXNet Engine which is not supported on M1 Macs. To get your code to run on a mac use either:

1. The environment variable `DJL_DEFAULT_ENGINE=PyTorch` which you can export on the command line or set in the Edit Run Configuration in Intellij.
2. The runtime commandline parameter `-Dai.djl.default_engine=PyTorch` which you can add to the end of the command line when running or add in the Edit Run Configuration in Intellij.
2. The runtime commandline parameter `-Dai.djl.default_engine=PyTorch` which you can add to the end of the command line when running or add in the Edit Run Configuration in Intellij.

0 comments on commit 28562ca

Please sign in to comment.