Skip to content
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 8 additions & 1 deletion .github/workflows/pull.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down
Loading