-
Notifications
You must be signed in to change notification settings - Fork 1.3k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
LLM: Set different env based on different Linux kernels (#10566)
- Loading branch information
1 parent
d86477f
commit fbeb10c
Showing
2 changed files
with
16 additions
and
6 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,10 @@ | ||
source /opt/intel/oneapi/setvars.sh | ||
|
||
export USE_XETLA=OFF | ||
export SYCL_PI_LEVEL_ZERO_USE_IMMEDIATE_COMMANDLISTS=1 | ||
|
||
python run.py # make sure config YAML file | ||
export SYCL_CACHE_PERSISTENT=1 | ||
KERNEL_VERSION=$(uname -r) | ||
if [[ $KERNEL_VERSION != *"6.5"* ]]; then | ||
export SYCL_PI_LEVEL_ZERO_USE_IMMEDIATE_COMMANDLISTS=1 | ||
fi | ||
|
||
python run.py # make sure config YAML file |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,11 @@ | ||
source /opt/intel/oneapi/setvars.sh | ||
|
||
export LD_PRELOAD=${LD_PRELOAD}:${CONDA_PREFIX}/lib/libtcmalloc.so | ||
export SYCL_PI_LEVEL_ZERO_USE_IMMEDIATE_COMMANDLISTS=1 | ||
export ENABLE_SDP_FUSION=1 | ||
|
||
python run.py # make sure config YAML file | ||
export SYCL_CACHE_PERSISTENT=1 | ||
KERNEL_VERSION=$(uname -r) | ||
if [[ $KERNEL_VERSION != *"6.5"* ]]; then | ||
export SYCL_PI_LEVEL_ZERO_USE_IMMEDIATE_COMMANDLISTS=1 | ||
fi | ||
|
||
python run.py # make sure config YAML file |