Skip to content

Commit

Permalink
modify typos in readme (intel#1300)
Browse files Browse the repository at this point in the history
Co-authored-by: mengfeil <[email protected]>
  • Loading branch information
kaikaiyao and mengfei25 authored Sep 27, 2022
1 parent 5533414 commit 3827826
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions neural_coder/docs/IntelCPU_PerformanceSetting.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
## Intel CPU Platforms: Best Performance Setting
### Install MKL, OpenMP and JEMALLOC
Through CONDA is the simplest way:
The simplest way for installation is through ```conda install```:
```bash
conda install -y mkl mkl-include jemalloc
```
Expand All @@ -15,17 +15,17 @@ Check if your ```CONDA_PREFIX``` has a value by:
```bash
echo ${CONDA_PREFIX}
```
If it's empty, it means that you're not in a traditional CONDA environment, you need to find the location of the ```.so.``` files by:
If it is empty, it means that you are not in a traditional CONDA environment, you need to find the location of the ```.so``` files by:
```bash
find / -name "libjemalloc.so"
find / -name "libiomp5.so"
```
It will show the path these file were installed into, for example:
It will show the path these files were installed into. For example:
```bash
/home/name/lib/libjemalloc.so
/home/name/lib/libiomp5.so
```
And then you should export this path as ```CONDA_PREFIX```:
And then you should ```export``` this path as ```CONDA_PREFIX```:
```bash
export CONDA_PREFIX="/home/name"
```
Expand All @@ -40,11 +40,11 @@ export DNNL_PRIMITIVE_CACHE_CAPACITY=1024
```

### Frequency Governers
Check frequency governer state on your machine:
Check the frequency governer state on your machine:
```bash
cat /sys/devices/system/cpu/cpu*/cpufreq/scaling_governor
```
If is shows ```powersave``` instead of ```performance```, execute:
If it shows ```powersave``` instead of ```performance```, execute:
```bash
echo "performance" | sudo tee /sys/devices/system/cpu/cpu*/cpufreq/scaling_governor
cat /sys/devices/system/cpu/cpu*/cpufreq/scaling_governor
Expand Down

0 comments on commit 3827826

Please sign in to comment.