Skip to content

[Bug] Enable USE_DNNL cause Sphix crash when processing from_oneflow.py and from_paddle.py for documents #12020

@huajsj

Description

@huajsj

Expected behavior

What you were expecting
Set USE_DNNL ON or OFF should not impact document processing

Actual behavior

What actually happened

Set USE_DNNL ON then run "docker/bash.sh --env CI --env TVM_SHARD_INDEX --env TVM_NUM_SHARDS --env RUN_DISPLAY_URL --env PLATFORM tlcpack/ci-gpu:20220630-060117-558ba99c7 ./tests/scripts/task_python_docs.sh"
will see the crash happen in procesing from_oneflow.py and from_paddle.py.

Environment

Any environment details, such as: Operating System, TVM version, etc
tlcpack/ci-gpu:20220630
tlcpack/ci-gpu:20220619

Steps to reproduce

Preferably a minimal script to cause the issue to occur.

mkdir ./build
cp ./cmake/config.cmake ./build/
echo set(USE_DNNL ON) >> ./build/config.cmake
docker/bash.sh -it --env CI --env TVM_SHARD_INDEX --env TVM_NUM_SHARDS --env RUN_DISPLAY_URL --env PLATFORM tlcpack/ci-gpu:20220630-060117-558ba99c7
cd build
cmake ../
make
cd ../
../tests/scripts/task_python_docs.sh"

Debug information

docker/bash.sh -it --env CI --env TVM_SHARD_INDEX --env TVM_NUM_SHARDS --env RUN_DISPLAY_URL --env PLATFORM tlcpack/ci-gpu:20220630-060117-558ba99c7
cd _staging
gdb python3
set args -m sphinx -b html -d /workspace/docs/_build/doctrees   . /workspace/docs/_build/html
r

can saw the crash happen in 'dlopen' for "from_oneflow.py "
after set USE_DNNL OFF , and rebuild issue go away

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions