Skip to content

Segmentation fault occurred when executing benchmark script on SPR machine #9202

Open
@shuangpe

Description

@shuangpe

I'd like to benchmark LLAMA2 model's optimized performance with BigDL on SPR machine.

Then I downloaded the BigDL repo and executed run-spr.sh , but it reported following error messages when executing inference statement:

run-spr.sh: line 6: 1107674 Segmentation fault      (core dumped) numactl -C 0-47 -m 0 python $(dirname "$0")/run.py

I used the latest main branch of BigDL repo, and passed in my local model directory llama2-7b-chat. The commands are shown below

git clone https://github.com/intel-analytics/BigDL.git
cd BigDL/python/llm/dev/benchmark/all-in-one

conda create -y -n bigdl_llm python=3.9
conda activate bigdl_llm
pip install -U pip
pip install --pre --upgrade bigdl-llm[all]
pip install bigdl-nano[pytorch]
pip install omegaconf pandas
source bigdl-nano-init

##### modify config.yaml to specify llama2-7b-chat model

bash run-spr.sh

Could you help to debug the issue?

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions