LLM: CPU benchmark using tcmalloc (#10675)
This commit is contained in:
parent
d9a1153b4e
commit
9ad4b29697
3 changed files with 3 additions and 3 deletions
|
|
@ -1,5 +1,5 @@
|
||||||
#!/bin/bash
|
#!/bin/bash
|
||||||
source ipex-llm-init
|
source ipex-llm-init -t
|
||||||
unset OMP_NUM_THREADS # deepspeed will set it for each instance automatically
|
unset OMP_NUM_THREADS # deepspeed will set it for each instance automatically
|
||||||
source /opt/intel/oneccl/env/setvars.sh
|
source /opt/intel/oneccl/env/setvars.sh
|
||||||
export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:$CONDA_PREFIX/lib
|
export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:$CONDA_PREFIX/lib
|
||||||
|
|
|
||||||
|
|
@ -1,5 +1,5 @@
|
||||||
#!/bin/bash
|
#!/bin/bash
|
||||||
source ipex-llm-init
|
source ipex-llm-init -t
|
||||||
|
|
||||||
sockets_num=$(lscpu | grep "Socket(s)" | awk -F ':' '{print $2}')
|
sockets_num=$(lscpu | grep "Socket(s)" | awk -F ':' '{print $2}')
|
||||||
cores_per_socket=$(lscpu | grep "Core(s) per socket" | awk -F ':' '{print $2}')
|
cores_per_socket=$(lscpu | grep "Core(s) per socket" | awk -F ':' '{print $2}')
|
||||||
|
|
|
||||||
|
|
@ -1,5 +1,5 @@
|
||||||
#!/bin/bash
|
#!/bin/bash
|
||||||
source ipex-llm-init
|
source ipex-llm-init -t
|
||||||
export OMP_NUM_THREADS=48
|
export OMP_NUM_THREADS=48
|
||||||
|
|
||||||
# set following parameters according to the actual specs of the test machine
|
# set following parameters according to the actual specs of the test machine
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue