diff --git a/.github/workflows/pull.yml b/.github/workflows/pull.yml index bfe83b853d1..67cee0851b6 100644 --- a/.github/workflows/pull.yml +++ b/.github/workflows/pull.yml @@ -393,7 +393,14 @@ jobs: echo "::endgroup::" echo "::group::Test ${{ matrix.model }}" - python .ci/scripts/test_huggingface_optimum_model.py --model ${{ matrix.model }} --quantize --recipe xnnpack + gdb -batch \ + -ex "set pagination off" \ + -ex "handle SIGPIPE nostop noprint" \ + -ex run \ + -ex "thread apply all bt full" \ + -ex "info registers" \ + -ex "quit" \ + --args python -X faulthandler .ci/scripts/test_huggingface_optimum_model.py --model gemma3-4b --quantize --recipe xnnpack echo "::endgroup::" test-moshi-linux: diff --git a/setup.py b/setup.py index 00cbe2e7bdf..0a736896ead 100644 --- a/setup.py +++ b/setup.py @@ -174,7 +174,7 @@ def write_to_python_file(cls, path: str) -> None: # is Release. def get_build_type(is_debug=None) -> str: debug = int(os.environ.get("DEBUG", 0) or 0) if is_debug is None else is_debug - return "Debug" if debug else "Release" + return "Debug" if debug else "RelWithDebInfo" def get_dynamic_lib_name(name: str) -> str: