Skip to content
This repository was archived by the owner on Jun 3, 2025. It is now read-only.
This repository was archived by the owner on Jun 3, 2025. It is now read-only.

Assertion at src/lib/jit/detail/executable_buffer.cpp:44 #899

@ErfolgreichCharismatisch

Description

Describe the bug
Assertion at src/lib/jit/detail/executable_buffer.cpp:44

Environment
Include all relevant environment information:

  1. OS [e.g. Ubuntu 18.04]: Ubuntu 18.04.6 LTS
  2. Python version [e.g. 3.7]: Python 3.8.0
  3. DeepSparse version or commit hash [e.g. 0.1.0, f7245c8]: 7d31c4bf
  4. ML framework version(s) [e.g. torch 1.7.1]: torch 1.10.2+cu102
  5. Other Python package versions [e.g. SparseML, Sparsify, numpy, ONNX]: numpy 1.21.6, onnx 1.12.0
  6. CPU info - output of deepsparse/src/deepsparse/arch.bin or output of cpu_architecture() as follows:
>>> import deepsparse.cpu
>>> print(deepsparse.cpu.cpu_architecture())

/home/umgebung/lib/python3.8/site-packages/requests/init.py:102: RequestsDependencyWarning: urllib3 (1.26.14) or chardet (5.1.0)/charset_normalizer (2.0.12) doesn't match a supported version!
warnings.warn("urllib3 ({}) or chardet ({})/charset_normalizer ({}) doesn't match a supported "

{'L1_data_cache_size': 32768, 'L1_instruction_cache_size': 32768, 'L2_cache_size': 262144, 'L3_cache_size': 31457280, 'architecture': 'x86_64', 'available_cores_per_socket': 6, 'available_num_cores': 6, 'available_num_hw_threads': 6, 'available_num_numa': 1, 'available_num_sockets': 1, 'available_sockets': 1, 'available_threads_per_core': 1, 'bf16': False, 'cores_per_socket': 6, 'dotprod': False, 'i8mm': False, 'isa': 'avx2', 'num_cores': 6, 'num_hw_threads': 6, 'num_numa': 1, 'num_sockets': 1, 'threads_per_core': 1, 'vendor': 'GenuineIntel', 'vendor_id': 'Intel', 'vendor_model': 'Intel(R) Xeon(R) CPU E5-2680 v3 @ 2.50GHz', 'vnni': False}

To Reproduce
In a virtual env umgebung

(umgebung) root@server:/home/umgebung# deepsparse.benchmark zoo:nlp/question_answering/bert-base/pytorch/huggingface/squad/pruned95_obs_quant-none

Errors
Backtrace:
0# wand::detail::abort_prefix(std::ostream&, char const*, char const*, int, bool, bool, unsigned long) in /home/umgebung/lib/python3.8/site-packages/deepsparse/avx2/libonnxruntime.so.1.12.0
1# wand::detail::assert_fail(char const*, char const*, int) in /home/umgebung/lib/python3.8/site-packages/deepsparse/avx2/libonnxruntime.so.1.12.0
2# 0x00007F8E50FD997C in /home/umgebung/lib/python3.8/site-packages/deepsparse/avx2/libonnxruntime.so.1.12.0
3# 0x00007F8E50FB0CC0 in /home/umgebung/lib/python3.8/site-packages/deepsparse/avx2/libonnxruntime.so.1.12.0
4# 0x00007F8E50FB1368 in /home/umgebung/lib/python3.8/site-packages/deepsparse/avx2/libonnxruntime.so.1.12.0
5# 0x00007F8E50FB43B5 in /home/umgebung/lib/python3.8/site-packages/deepsparse/avx2/libonnxruntime.so.1.12.0
6# 0x00007F8E50DF0E85 in /home/umgebung/lib/python3.8/site-packages/deepsparse/avx2/libonnxruntime.so.1.12.0
7# 0x00007F8E51210FED in /home/umgebung/lib/python3.8/site-packages/deepsparse/avx2/libonnxruntime.so.1.12.0
8# 0x00007F8E5125B0A3 in /home/umgebung/lib/python3.8/site-packages/deepsparse/avx2/libonnxruntime.so.1.12.0
9# 0x00007F8E51248111 in /home/umgebung/lib/python3.8/site-packages/deepsparse/avx2/libonnxruntime.so.1.12.0
10# 0x00007F8E5112C417 in /home/umgebung/lib/python3.8/site-packages/deepsparse/avx2/libonnxruntime.so.1.12.0
11# 0x00007F8E5112F7FB in /home/umgebung/lib/python3.8/site-packages/deepsparse/avx2/libonnxruntime.so.1.12.0
12# 0x00007F8E511585E3 in /home/umgebung/lib/python3.8/site-packages/deepsparse/avx2/libonnxruntime.so.1.12.0
13# 0x00007F8E51158986 in /home/umgebung/lib/python3.8/site-packages/deepsparse/avx2/libonnxruntime.so.1.12.0
14# 0x00007F8E5106D2CB in /home/umgebung/lib/python3.8/site-packages/deepsparse/avx2/libonnxruntime.so.1.12.0
15# 0x00007F8E50EEEEDD in /home/umgebung/lib/python3.8/site-packages/deepsparse/avx2/libonnxruntime.so.1.12.0
16# 0x00007F8E50EEF172 in /home/umgebung/lib/python3.8/site-packages/deepsparse/avx2/libonnxruntime.so.1.12.0
17# 0x00007F8E50EEF323 in /home/umgebung/lib/python3.8/site-packages/deepsparse/avx2/libonnxruntime.so.1.12.0
18# 0x00007F8E50EEF7A8 in /home/umgebung/lib/python3.8/site-packages/deepsparse/avx2/libonnxruntime.so.1.12.0
19# 0x00007F8E50EEF810 in /home/umgebung/lib/python3.8/site-packages/deepsparse/avx2/libonnxruntime.so.1.12.0
20# 0x00007F8E5034DD27 in /home/umgebung/lib/python3.8/site-packages/deepsparse/avx2/libonnxruntime.so.1.12.0
21# 0x00007F8E5034E22F in /home/umgebung/lib/python3.8/site-packages/deepsparse/avx2/libonnxruntime.so.1.12.0
22# 0x00007F8E502C1AD5 in /home/umgebung/lib/python3.8/site-packages/deepsparse/avx2/libonnxruntime.so.1.12.0
23# 0x00007F8E502B1049 in /home/umgebung/lib/python3.8/site-packages/deepsparse/avx2/libonnxruntime.so.1.12.0

Additional context
2023-01-27 12:18:28 deepsparse.benchmark.benchmark_model INFO num_streams default value chosen of 3. This requires tuning and may be sub-optimal
INFO:deepsparse.benchmark.benchmark_model:num_streams default value chosen of 3. This requires tuning and may be sub-optimal
DeepSparse, Copyright 2021-present / Neuralmagic, Inc. version: 1.3.2 COMMUNITY | (7d31c4bf) (release) (optimized) (system=avx2, binary=avx2)
DeepSparse, Copyright 2021-present / Neuralmagic, Inc. version: 1.3.2 (7d31c4bf) (release) (optimized) (system=avx2, binary=avx2)
Date: 01-27-2023 @ 12:18:33 CET
OS: Linux server 4.15.0 #1 SMP Thu Apr 22 16:18:59 MSK 2021
Arch: x86_64
ISA: x86_64-avx2-32-64-16-64-xbyak
CPU: GenuineIntel
Vendor: Intel
Cores/sockets/threads: [6, 1, 6]
Available cores/sockets/threads: [6, 1, 6]
L1 cache size data/instruction: 32k/32k
L2 cache size: 0.25Mb
L3 cache size: 30Mb
Total memory: 16G
Free memory: 8.03798G

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions