1
0
Fork 0
mirror of https://github.com/p-e-w/heretic.git synced 2026-12-03 18:42:57 +07:00

[GH-ISSUE #222] Stuck on Checking for common response prefix... #127

Closed
opened 2026-11-01 04:17:47 +07:00 by bsakaguchi · 18 comments
Owner

Originally created by @asuscat on GitHub (Mar 10, 2026).
Original GitHub issue: https://github.com/p-e-w/heretic/issues/222

heretic gets stuck on Checking for common response prefix... Ive waited 8 hours, and nothing has happend, so i therefor assume it is stuck

Originally created by @asuscat on GitHub (Mar 10, 2026). Original GitHub issue: https://github.com/p-e-w/heretic/issues/222 heretic gets stuck on Checking for common response prefix... Ive waited 8 hours, and nothing has happend, so i therefor assume it is stuck
Author
Owner

@asuscat commented on GitHub (Mar 10, 2026):

a progress bar might also be helpful

<!-- gh-comment-id:4034491711 --> @asuscat commented on GitHub (Mar 10, 2026): a progress bar might also be helpful
Author
Owner

@erm14254 commented on GitHub (Mar 11, 2026):

heretic gets stuck on Checking for common response prefix... Ive waited 8 hours, and nothing has happend, so i therefor assume it is stuck

What model?

<!-- gh-comment-id:4036185526 --> @erm14254 commented on GitHub (Mar 11, 2026): > heretic gets stuck on Checking for common response prefix... Ive waited 8 hours, and nothing has happend, so i therefor assume it is stuck What model?
Author
Owner

@asuscat commented on GitHub (Mar 11, 2026):

ive only tried GLM4.7-Flash

<!-- gh-comment-id:4036355824 --> @asuscat commented on GitHub (Mar 11, 2026): ive only tried GLM4.7-Flash
Author
Owner

@kabachuha commented on GitHub (Mar 11, 2026):

There is some problem with the GLM architecture in transformers/heretic because GLM 106b 4bit even on a 1 H100 slugs with ~1 t/s. (where it fits fully, with no offload)

<!-- gh-comment-id:4037585869 --> @kabachuha commented on GitHub (Mar 11, 2026): There is some problem with the GLM architecture in transformers/heretic because GLM 106b 4bit even on a 1 H100 slugs with ~1 t/s. (where it fits fully, with no offload)
Author
Owner

@p-e-w commented on GitHub (Mar 11, 2026):

If the run is "stuck" on that step it means inference is slow as molasses. That is likely an upstream issue with Transformers. You can try upgrading to Transformers 5, which improves performance for some models.

<!-- gh-comment-id:4039883955 --> @p-e-w commented on GitHub (Mar 11, 2026): If the run is "stuck" on that step it means inference is slow as molasses. That is likely an upstream issue with Transformers. You can try upgrading to Transformers 5, which improves performance for some models.
Author
Owner

@asuscat commented on GitHub (Mar 11, 2026):

UPDATE 1: i think it will just take like 1-2 days for the common prefix, i think its just slow, im going to wait till friday running this, ill give yall updates. I think this might just be a invalid issue

<!-- gh-comment-id:4041936666 --> @asuscat commented on GitHub (Mar 11, 2026): UPDATE 1: i think it will just take like 1-2 days for the common prefix, i think its just slow, im going to wait till friday running this, ill give yall updates. I think this might just be a invalid issue
Author
Owner

@p-e-w commented on GitHub (Mar 12, 2026):

If determining the common prefix takes 1-2 days, the entire Heretic run will take about a year. Waiting for this makes no sense. If that step doesn't complete within a few minutes, you can basically forget about it.

Determining the common prefix is simply done by running regular inference, the same inference you will have to run another 300 times afterwards.

<!-- gh-comment-id:4044341586 --> @p-e-w commented on GitHub (Mar 12, 2026): If determining the common prefix takes 1-2 days, the entire Heretic run will take about a year. Waiting for this makes no sense. If that step doesn't complete within a few minutes, you can basically forget about it. Determining the common prefix is simply done by running regular inference, the same inference you will have to run another 300 times afterwards.
Author
Owner

@asuscat commented on GitHub (Mar 14, 2026):

Ok, this issue is on ALL models

<!-- gh-comment-id:4061458303 --> @asuscat commented on GitHub (Mar 14, 2026): Ok, this issue is on ALL models
Author
Owner

@p-e-w commented on GitHub (Mar 15, 2026):

The problem is with your hardware/environment then. You need to post more details.

<!-- gh-comment-id:4062014582 --> @p-e-w commented on GitHub (Mar 15, 2026): The problem is with your hardware/environment then. You need to post more details.
Author
Owner

@asuscat commented on GitHub (Mar 16, 2026):

user@secureblue:/var/home/user$ uname -a
cat /etc/os-release
lscpu
lsmem
lsblk
lspci
lsusb
free -h
df -h
Linux secureblue 6.19.7-200.fc43.x86_64 #1 SMP PREEMPT_DYNAMIC Thu Mar 12 15:50:03 UTC 2026 x86_64 GNU/Linux
NAME="secureblue"
VERSION="43.20260315.0 (Kinoite)"
RELEASE_TYPE=stable
ID=secureblue
ID_LIKE="fedora"
VERSION_ID=43
VERSION_CODENAME=""
PRETTY_NAME="secureblue (powered by Fedora Atomic)"
ANSI_COLOR="0;38;2;60;110;180"
LOGO=fedora-logo-icon
CPE_NAME="cpe:/o:secureblue:secureblue:43"
DEFAULT_HOSTNAME="secureblue"
HOME_URL="https://github.com/secureblue/secureblue"
DOCUMENTATION_URL="https://github.com/secureblue/secureblue/tree/live/docs"
SUPPORT_URL="https://github.com/secureblue/secureblue/issues"
BUG_REPORT_URL="https://github.com/secureblue/secureblue/issues"
SUPPORT_END=2026-12-02
VARIANT="Kinoite"
VARIANT_ID=kinoite-main-hardened
OSTREE_VERSION='43.20260315.0'
IMAGE_ID="kinoite-main-hardened"
Architecture: x86_64
CPU op-mode(s): 32-bit, 64-bit
Address sizes: 48 bits physical, 48 bits virtual
Byte Order: Little Endian
CPU(s): 12
On-line CPU(s) list: 0-11
Vendor ID: AuthenticAMD
Model name: AMD Ryzen 5 7600X 6-Core Processor
CPU family: 25
Model: 97
Thread(s) per core: 2
Core(s) per socket: 6
Socket(s): 1
Stepping: 2
Frequency boost: enabled
CPU(s) scaling MHz: 77%
CPU max MHz: 5457.1050
CPU min MHz: 427.3640
BogoMIPS: 9400.07
Flags: fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush
mmx fxsr sse sse2 ht syscall nx mmxext fxsr_opt pdpe1gb rdtscp lm constant_tsc r
ep_good amd_lbr_v2 nopl xtopology nonstop_tsc cpuid extd_apicid aperfmperf rapl
pni pclmulqdq monitor ssse3 fma cx16 sse4_1 sse4_2 movbe popcnt aes xsave avx f1
6c rdrand lahf_lm cmp_legacy svm extapic cr8_legacy abm sse4a misalignsse 3dnowp
refetch osvw ibs skinit wdt tce topoext perfctr_core perfctr_nb bpext perfctr_ll
c mwaitx cpuid_fault cpb cat_l3 cdp_l3 hw_pstate pti ssbd mba perfmon_v2 ibrs ib
pb stibp ibrs_enhanced vmmcall fsgsbase bmi1 avx2 smep bmi2 erms invpcid cqm rdt
_a avx512f avx512dq rdseed adx smap avx512ifma clflushopt clwb avx512cd sha_ni a
vx512bw avx512vl xsaveopt xsavec xgetbv1 xsaves cqm_llc cqm_occup_llc cqm_mbm_to
tal cqm_mbm_local user_shstk avx512_bf16 clzero irperf xsaveerptr rdpru wbnoinvd
cppc arat npt lbrv svm_lock nrip_save tsc_scale vmcb_clean flushbyasid decodeas
sists pausefilter pfthreshold avic vgif x2avic v_spec_ctrl vnmi avx512vbmi umip
pku ospke avx512_vbmi2 gfni vaes vpclmulqdq avx512_vnni avx512_bitalg avx512_vpo
pcntdq rdpid overflow_recov succor smca fsrm flush_l1d amd_lbr_pmc_freeze
Virtualization features:
Virtualization: AMD-V
Caches (sum of all):
L1d: 192 KiB (6 instances)
L1i: 192 KiB (6 instances)
L2: 6 MiB (6 instances)
L3: 32 MiB (1 instance)
NUMA:
NUMA node(s): 1
NUMA node0 CPU(s): 0-11
Vulnerabilities:
Gather data sampling: Not affected
Ghostwrite: Not affected
Indirect target selection: Not affected
Itlb multihit: Not affected
L1tf: Not affected
Mds: Not affected
Meltdown: Not affected
Mmio stale data: Not affected
Old microcode: Not affected
Reg file data sampling: Not affected
Retbleed: Not affected
Spec rstack overflow: Mitigation; Safe RET
Spec store bypass: Mitigation; Speculative Store Bypass disabled
Spectre v1: Mitigation; usercopy/swapgs barriers and __user pointer sanitization
Spectre v2: Mitigation; Enhanced / Automatic IBRS; IBPB always-on; STIBP forced; PBRSB-eIBRS
Not affected; BHI Not affected
Srbds: Not affected
Tsa: Mitigation; Clear CPU buffers
Tsx async abort: Not affected
Vmscape: Mitigation; IBPB before exit to userspace
RANGE SIZE STATE REMOVABLE BLOCK
0x0000000000000000-0x0000000087ffffff 2.1G online yes 0-16
0x0000000098000000-0x000000009fffffff 128M online yes 19
0x0000000100000000-0x000000085fffffff 29.5G online yes 32-267

Memory block size: 128M
Total online memory: 31.8G
Total offline memory: 0B
NAME MAJ:MIN RM SIZE RO TYPE MOUNTPOINTS
zram0 251:0 0 8G 0 disk [SWAP]
nvme0n1 259:0 0 931.5G 0 disk
├─nvme0n1p1 259:1 0 600M 0 part /boot/efi
├─nvme0n1p2 259:2 0 2G 0 part /boot
└─nvme0n1p3 259:3 0 928.9G 0 part /var/home
/var
/sysroot/ostree/deploy/default/var
/sysroot
/etc
00:00.0 Host bridge: Advanced Micro Devices, Inc. [AMD] Raphael/Granite Ridge Root Complex
00:00.2 IOMMU: Advanced Micro Devices, Inc. [AMD] Raphael/Granite Ridge IOMMU
00:01.0 Host bridge: Advanced Micro Devices, Inc. [AMD] Raphael/Granite Ridge Dummy Host Bridge
00:01.1 PCI bridge: Advanced Micro Devices, Inc. [AMD] Raphael/Granite Ridge GPP Bridge
00:01.2 PCI bridge: Advanced Micro Devices, Inc. [AMD] Raphael/Granite Ridge GPP Bridge
00:02.0 Host bridge: Advanced Micro Devices, Inc. [AMD] Raphael/Granite Ridge Dummy Host Bridge
00:02.1 PCI bridge: Advanced Micro Devices, Inc. [AMD] Raphael/Granite Ridge GPP Bridge
00:02.2 PCI bridge: Advanced Micro Devices, Inc. [AMD] Raphael/Granite Ridge GPP Bridge
00:03.0 Host bridge: Advanced Micro Devices, Inc. [AMD] Raphael/Granite Ridge Dummy Host Bridge
00:04.0 Host bridge: Advanced Micro Devices, Inc. [AMD] Raphael/Granite Ridge Dummy Host Bridge
00:08.0 Host bridge: Advanced Micro Devices, Inc. [AMD] Raphael/Granite Ridge Dummy Host Bridge
00:08.1 PCI bridge: Advanced Micro Devices, Inc. [AMD] Raphael/Granite Ridge Internal GPP Bridge to Bus [C:A]
00:08.3 PCI bridge: Advanced Micro Devices, Inc. [AMD] Raphael/Granite Ridge Internal GPP Bridge to Bus [C:A]
00:14.0 SMBus: Advanced Micro Devices, Inc. [AMD] FCH SMBus Controller (rev 71)
00:14.3 ISA bridge: Advanced Micro Devices, Inc. [AMD] FCH LPC Bridge (rev 51)
00:18.0 Host bridge: Advanced Micro Devices, Inc. [AMD] Raphael/Granite Ridge Data Fabric; Function 0
00:18.1 Host bridge: Advanced Micro Devices, Inc. [AMD] Raphael/Granite Ridge Data Fabric; Function 1
00:18.2 Host bridge: Advanced Micro Devices, Inc. [AMD] Raphael/Granite Ridge Data Fabric; Function 2
00:18.3 Host bridge: Advanced Micro Devices, Inc. [AMD] Raphael/Granite Ridge Data Fabric; Function 3
00:18.4 Host bridge: Advanced Micro Devices, Inc. [AMD] Raphael/Granite Ridge Data Fabric; Function 4
00:18.5 Host bridge: Advanced Micro Devices, Inc. [AMD] Raphael/Granite Ridge Data Fabric; Function 5
00:18.6 Host bridge: Advanced Micro Devices, Inc. [AMD] Raphael/Granite Ridge Data Fabric; Function 6
00:18.7 Host bridge: Advanced Micro Devices, Inc. [AMD] Raphael/Granite Ridge Data Fabric; Function 7
01:00.0 VGA compatible controller: NVIDIA Corporation GA104 [GeForce RTX 3060] (rev a1)
01:00.1 Audio device: NVIDIA Corporation GA104 High Definition Audio Controller (rev a1)
02:00.0 Non-Volatile memory controller: Sandisk Corp WD Black SN850X NVMe SSD (rev 01)
03:00.0 PCI bridge: Advanced Micro Devices, Inc. [AMD] 600 Series Chipset PCIe Switch Upstream Port (rev 01)
04:00.0 PCI bridge: Advanced Micro Devices, Inc. [AMD] 600 Series Chipset PCIe Switch Downstream Port (rev 01)
04:04.0 PCI bridge: Advanced Micro Devices, Inc. [AMD] 600 Series Chipset PCIe Switch Downstream Port (rev 01)
04:05.0 PCI bridge: Advanced Micro Devices, Inc. [AMD] 600 Series Chipset PCIe Switch Downstream Port (rev 01)
04:06.0 PCI bridge: Advanced Micro Devices, Inc. [AMD] 600 Series Chipset PCIe Switch Downstream Port (rev 01)
04:07.0 PCI bridge: Advanced Micro Devices, Inc. [AMD] 600 Series Chipset PCIe Switch Downstream Port (rev 01)
04:08.0 PCI bridge: Advanced Micro Devices, Inc. [AMD] 600 Series Chipset PCIe Switch Downstream Port (rev 01)
04:0c.0 PCI bridge: Advanced Micro Devices, Inc. [AMD] 600 Series Chipset PCIe Switch Downstream Port (rev 01)
04:0d.0 PCI bridge: Advanced Micro Devices, Inc. [AMD] 600 Series Chipset PCIe Switch Downstream Port (rev 01)
07:00.0 Network controller: Qualcomm Technologies, Inc WCN785x Wi-Fi 7(802.11be) 320MHz 2x2 [FastConnect 7800] (rev 01)
08:00.0 Ethernet controller: Realtek Semiconductor Co., Ltd. RTL8126 5GbE Controller (rev 01)
09:00.0 SATA controller: ASMedia Technology Inc. ASM1064 Serial ATA Controller (rev 02)
0b:00.0 USB controller: Advanced Micro Devices, Inc. [AMD] 800 Series Chipset USB 3.x XHCI Controller (rev 01)
0c:00.0 SATA controller: Advanced Micro Devices, Inc. [AMD] 600 Series Chipset SATA Controller (rev 01)
0d:00.0 PCI bridge: ASMedia Technology Inc. ASM4242 PCIe Switch Upstream Port (rev 01)
0e:00.0 PCI bridge: ASMedia Technology Inc. ASM4242 PCIe Switch Downstream Port (rev 01)
0e:01.0 PCI bridge: ASMedia Technology Inc. ASM4242 PCIe Switch Downstream Port (rev 01)
0e:02.0 PCI bridge: ASMedia Technology Inc. ASM4242 PCIe Switch Downstream Port (rev 01)
0e:03.0 PCI bridge: ASMedia Technology Inc. ASM4242 PCIe Switch Downstream Port (rev 01)
6f:00.0 USB controller: ASMedia Technology Inc. ASM4242 USB 3.2 xHCI Controller (rev 01)
70:00.0 USB controller: ASMedia Technology Inc. ASM4242 USB 4 / Thunderbolt 3 Host Router (rev 01)
71:00.0 Non-Essential Instrumentation [1300]: Advanced Micro Devices, Inc. [AMD] Raphael/Granite Ridge PCIe Dummy Function (rev c7)
71:00.2 Encryption controller: Advanced Micro Devices, Inc. [AMD] Family 19h PSP/CCP
71:00.3 USB controller: Advanced Micro Devices, Inc. [AMD] Raphael/Granite Ridge USB 3.1 xHCI
71:00.4 USB controller: Advanced Micro Devices, Inc. [AMD] Raphael/Granite Ridge USB 3.1 xHCI
71:00.6 Audio device: Advanced Micro Devices, Inc. [AMD] Ryzen HD Audio Controller
72:00.0 USB controller: Advanced Micro Devices, Inc. [AMD] Raphael/Granite Ridge USB 2.0 xHCI
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 001 Device 002: ID 05e3:0610 Genesys Logic, Inc. Hub
Bus 001 Device 003: ID 05e3:0610 Genesys Logic, Inc. Hub
Bus 001 Device 004: ID 0db0:cd0e Micro Star International USB Audio
Bus 001 Device 005: ID 24ae:9db6 Shenzhen Rapoo Technology Co., Ltd. 2.4G Receiver
Bus 001 Device 006: ID 0db0:0076 Micro Star International MYSTIC LIGHT
Bus 001 Device 007: ID 0489:e10a Foxconn / Hon Hai
Bus 002 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
Bus 002 Device 002: ID 05e3:0620 Genesys Logic, Inc. GL3523 Hub
Bus 002 Device 003: ID 05e3:0620 Genesys Logic, Inc. GL3523 Hub
Bus 003 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 004 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
Bus 005 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 005 Device 002: ID 05e3:0608 Genesys Logic, Inc. Hub
Bus 006 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
Bus 007 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 007 Device 002: ID 0483:a462 STMicroelectronics M3K
Bus 008 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
Bus 009 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
total used free shared buff/cache available
Mem: 30Gi 4.5Gi 16Gi 117Mi 10Gi 26Gi
Swap: 8.0Gi 0B 8.0Gi
Filesystem Size Used Avail Use% Mounted on
composefs 40M 40M 0 100% /
/dev/nvme0n1p3 929G 208G 721G 23% /etc
devtmpfs 16G 0 16G 0% /dev
tmpfs 16G 83M 16G 1% /dev/shm
efivarfs 128K 69K 55K 56% /sys/firmware/efi/efivars
tmpfs 6.2G 2.1M 6.2G 1% /run
tmpfs 1.0M 0 1.0M 0% /run/credentials/systemd-journald.service
tmpfs 16G 8.1M 16G 1% /tmp
/dev/nvme0n1p2 2.0G 657M 1.2G 36% /boot
/dev/nvme0n1p3 929G 208G 721G 23% /var
/dev/nvme0n1p3 929G 208G 721G 23% /var/home
/dev/nvme0n1p1 599M 13M 587M 3% /boot/efi
tmpfs 3.1G 76K 3.1G 1% /run/user/1000
user@secureblue:/var/home/user$

<!-- gh-comment-id:4064224495 --> @asuscat commented on GitHub (Mar 16, 2026): user@secureblue:/var/home/user$ uname -a cat /etc/os-release lscpu lsmem lsblk lspci lsusb free -h df -h Linux secureblue 6.19.7-200.fc43.x86_64 #1 SMP PREEMPT_DYNAMIC Thu Mar 12 15:50:03 UTC 2026 x86_64 GNU/Linux NAME="secureblue" VERSION="43.20260315.0 (Kinoite)" RELEASE_TYPE=stable ID=secureblue ID_LIKE="fedora" VERSION_ID=43 VERSION_CODENAME="" PRETTY_NAME="secureblue (powered by Fedora Atomic)" ANSI_COLOR="0;38;2;60;110;180" LOGO=fedora-logo-icon CPE_NAME="cpe:/o:secureblue:secureblue:43" DEFAULT_HOSTNAME="secureblue" HOME_URL="https://github.com/secureblue/secureblue" DOCUMENTATION_URL="https://github.com/secureblue/secureblue/tree/live/docs" SUPPORT_URL="https://github.com/secureblue/secureblue/issues" BUG_REPORT_URL="https://github.com/secureblue/secureblue/issues" SUPPORT_END=2026-12-02 VARIANT="Kinoite" VARIANT_ID=kinoite-main-hardened OSTREE_VERSION='43.20260315.0' IMAGE_ID="kinoite-main-hardened" Architecture: x86_64 CPU op-mode(s): 32-bit, 64-bit Address sizes: 48 bits physical, 48 bits virtual Byte Order: Little Endian CPU(s): 12 On-line CPU(s) list: 0-11 Vendor ID: AuthenticAMD Model name: AMD Ryzen 5 7600X 6-Core Processor CPU family: 25 Model: 97 Thread(s) per core: 2 Core(s) per socket: 6 Socket(s): 1 Stepping: 2 Frequency boost: enabled CPU(s) scaling MHz: 77% CPU max MHz: 5457.1050 CPU min MHz: 427.3640 BogoMIPS: 9400.07 Flags: fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush mmx fxsr sse sse2 ht syscall nx mmxext fxsr_opt pdpe1gb rdtscp lm constant_tsc r ep_good amd_lbr_v2 nopl xtopology nonstop_tsc cpuid extd_apicid aperfmperf rapl pni pclmulqdq monitor ssse3 fma cx16 sse4_1 sse4_2 movbe popcnt aes xsave avx f1 6c rdrand lahf_lm cmp_legacy svm extapic cr8_legacy abm sse4a misalignsse 3dnowp refetch osvw ibs skinit wdt tce topoext perfctr_core perfctr_nb bpext perfctr_ll c mwaitx cpuid_fault cpb cat_l3 cdp_l3 hw_pstate pti ssbd mba perfmon_v2 ibrs ib pb stibp ibrs_enhanced vmmcall fsgsbase bmi1 avx2 smep bmi2 erms invpcid cqm rdt _a avx512f avx512dq rdseed adx smap avx512ifma clflushopt clwb avx512cd sha_ni a vx512bw avx512vl xsaveopt xsavec xgetbv1 xsaves cqm_llc cqm_occup_llc cqm_mbm_to tal cqm_mbm_local user_shstk avx512_bf16 clzero irperf xsaveerptr rdpru wbnoinvd cppc arat npt lbrv svm_lock nrip_save tsc_scale vmcb_clean flushbyasid decodeas sists pausefilter pfthreshold avic vgif x2avic v_spec_ctrl vnmi avx512vbmi umip pku ospke avx512_vbmi2 gfni vaes vpclmulqdq avx512_vnni avx512_bitalg avx512_vpo pcntdq rdpid overflow_recov succor smca fsrm flush_l1d amd_lbr_pmc_freeze Virtualization features: Virtualization: AMD-V Caches (sum of all): L1d: 192 KiB (6 instances) L1i: 192 KiB (6 instances) L2: 6 MiB (6 instances) L3: 32 MiB (1 instance) NUMA: NUMA node(s): 1 NUMA node0 CPU(s): 0-11 Vulnerabilities: Gather data sampling: Not affected Ghostwrite: Not affected Indirect target selection: Not affected Itlb multihit: Not affected L1tf: Not affected Mds: Not affected Meltdown: Not affected Mmio stale data: Not affected Old microcode: Not affected Reg file data sampling: Not affected Retbleed: Not affected Spec rstack overflow: Mitigation; Safe RET Spec store bypass: Mitigation; Speculative Store Bypass disabled Spectre v1: Mitigation; usercopy/swapgs barriers and __user pointer sanitization Spectre v2: Mitigation; Enhanced / Automatic IBRS; IBPB always-on; STIBP forced; PBRSB-eIBRS Not affected; BHI Not affected Srbds: Not affected Tsa: Mitigation; Clear CPU buffers Tsx async abort: Not affected Vmscape: Mitigation; IBPB before exit to userspace RANGE SIZE STATE REMOVABLE BLOCK 0x0000000000000000-0x0000000087ffffff 2.1G online yes 0-16 0x0000000098000000-0x000000009fffffff 128M online yes 19 0x0000000100000000-0x000000085fffffff 29.5G online yes 32-267 Memory block size: 128M Total online memory: 31.8G Total offline memory: 0B NAME MAJ:MIN RM SIZE RO TYPE MOUNTPOINTS zram0 251:0 0 8G 0 disk [SWAP] nvme0n1 259:0 0 931.5G 0 disk ├─nvme0n1p1 259:1 0 600M 0 part /boot/efi ├─nvme0n1p2 259:2 0 2G 0 part /boot └─nvme0n1p3 259:3 0 928.9G 0 part /var/home /var /sysroot/ostree/deploy/default/var /sysroot /etc 00:00.0 Host bridge: Advanced Micro Devices, Inc. [AMD] Raphael/Granite Ridge Root Complex 00:00.2 IOMMU: Advanced Micro Devices, Inc. [AMD] Raphael/Granite Ridge IOMMU 00:01.0 Host bridge: Advanced Micro Devices, Inc. [AMD] Raphael/Granite Ridge Dummy Host Bridge 00:01.1 PCI bridge: Advanced Micro Devices, Inc. [AMD] Raphael/Granite Ridge GPP Bridge 00:01.2 PCI bridge: Advanced Micro Devices, Inc. [AMD] Raphael/Granite Ridge GPP Bridge 00:02.0 Host bridge: Advanced Micro Devices, Inc. [AMD] Raphael/Granite Ridge Dummy Host Bridge 00:02.1 PCI bridge: Advanced Micro Devices, Inc. [AMD] Raphael/Granite Ridge GPP Bridge 00:02.2 PCI bridge: Advanced Micro Devices, Inc. [AMD] Raphael/Granite Ridge GPP Bridge 00:03.0 Host bridge: Advanced Micro Devices, Inc. [AMD] Raphael/Granite Ridge Dummy Host Bridge 00:04.0 Host bridge: Advanced Micro Devices, Inc. [AMD] Raphael/Granite Ridge Dummy Host Bridge 00:08.0 Host bridge: Advanced Micro Devices, Inc. [AMD] Raphael/Granite Ridge Dummy Host Bridge 00:08.1 PCI bridge: Advanced Micro Devices, Inc. [AMD] Raphael/Granite Ridge Internal GPP Bridge to Bus [C:A] 00:08.3 PCI bridge: Advanced Micro Devices, Inc. [AMD] Raphael/Granite Ridge Internal GPP Bridge to Bus [C:A] 00:14.0 SMBus: Advanced Micro Devices, Inc. [AMD] FCH SMBus Controller (rev 71) 00:14.3 ISA bridge: Advanced Micro Devices, Inc. [AMD] FCH LPC Bridge (rev 51) 00:18.0 Host bridge: Advanced Micro Devices, Inc. [AMD] Raphael/Granite Ridge Data Fabric; Function 0 00:18.1 Host bridge: Advanced Micro Devices, Inc. [AMD] Raphael/Granite Ridge Data Fabric; Function 1 00:18.2 Host bridge: Advanced Micro Devices, Inc. [AMD] Raphael/Granite Ridge Data Fabric; Function 2 00:18.3 Host bridge: Advanced Micro Devices, Inc. [AMD] Raphael/Granite Ridge Data Fabric; Function 3 00:18.4 Host bridge: Advanced Micro Devices, Inc. [AMD] Raphael/Granite Ridge Data Fabric; Function 4 00:18.5 Host bridge: Advanced Micro Devices, Inc. [AMD] Raphael/Granite Ridge Data Fabric; Function 5 00:18.6 Host bridge: Advanced Micro Devices, Inc. [AMD] Raphael/Granite Ridge Data Fabric; Function 6 00:18.7 Host bridge: Advanced Micro Devices, Inc. [AMD] Raphael/Granite Ridge Data Fabric; Function 7 01:00.0 VGA compatible controller: NVIDIA Corporation GA104 [GeForce RTX 3060] (rev a1) 01:00.1 Audio device: NVIDIA Corporation GA104 High Definition Audio Controller (rev a1) 02:00.0 Non-Volatile memory controller: Sandisk Corp WD Black SN850X NVMe SSD (rev 01) 03:00.0 PCI bridge: Advanced Micro Devices, Inc. [AMD] 600 Series Chipset PCIe Switch Upstream Port (rev 01) 04:00.0 PCI bridge: Advanced Micro Devices, Inc. [AMD] 600 Series Chipset PCIe Switch Downstream Port (rev 01) 04:04.0 PCI bridge: Advanced Micro Devices, Inc. [AMD] 600 Series Chipset PCIe Switch Downstream Port (rev 01) 04:05.0 PCI bridge: Advanced Micro Devices, Inc. [AMD] 600 Series Chipset PCIe Switch Downstream Port (rev 01) 04:06.0 PCI bridge: Advanced Micro Devices, Inc. [AMD] 600 Series Chipset PCIe Switch Downstream Port (rev 01) 04:07.0 PCI bridge: Advanced Micro Devices, Inc. [AMD] 600 Series Chipset PCIe Switch Downstream Port (rev 01) 04:08.0 PCI bridge: Advanced Micro Devices, Inc. [AMD] 600 Series Chipset PCIe Switch Downstream Port (rev 01) 04:0c.0 PCI bridge: Advanced Micro Devices, Inc. [AMD] 600 Series Chipset PCIe Switch Downstream Port (rev 01) 04:0d.0 PCI bridge: Advanced Micro Devices, Inc. [AMD] 600 Series Chipset PCIe Switch Downstream Port (rev 01) 07:00.0 Network controller: Qualcomm Technologies, Inc WCN785x Wi-Fi 7(802.11be) 320MHz 2x2 [FastConnect 7800] (rev 01) 08:00.0 Ethernet controller: Realtek Semiconductor Co., Ltd. RTL8126 5GbE Controller (rev 01) 09:00.0 SATA controller: ASMedia Technology Inc. ASM1064 Serial ATA Controller (rev 02) 0b:00.0 USB controller: Advanced Micro Devices, Inc. [AMD] 800 Series Chipset USB 3.x XHCI Controller (rev 01) 0c:00.0 SATA controller: Advanced Micro Devices, Inc. [AMD] 600 Series Chipset SATA Controller (rev 01) 0d:00.0 PCI bridge: ASMedia Technology Inc. ASM4242 PCIe Switch Upstream Port (rev 01) 0e:00.0 PCI bridge: ASMedia Technology Inc. ASM4242 PCIe Switch Downstream Port (rev 01) 0e:01.0 PCI bridge: ASMedia Technology Inc. ASM4242 PCIe Switch Downstream Port (rev 01) 0e:02.0 PCI bridge: ASMedia Technology Inc. ASM4242 PCIe Switch Downstream Port (rev 01) 0e:03.0 PCI bridge: ASMedia Technology Inc. ASM4242 PCIe Switch Downstream Port (rev 01) 6f:00.0 USB controller: ASMedia Technology Inc. ASM4242 USB 3.2 xHCI Controller (rev 01) 70:00.0 USB controller: ASMedia Technology Inc. ASM4242 USB 4 / Thunderbolt 3 Host Router (rev 01) 71:00.0 Non-Essential Instrumentation [1300]: Advanced Micro Devices, Inc. [AMD] Raphael/Granite Ridge PCIe Dummy Function (rev c7) 71:00.2 Encryption controller: Advanced Micro Devices, Inc. [AMD] Family 19h PSP/CCP 71:00.3 USB controller: Advanced Micro Devices, Inc. [AMD] Raphael/Granite Ridge USB 3.1 xHCI 71:00.4 USB controller: Advanced Micro Devices, Inc. [AMD] Raphael/Granite Ridge USB 3.1 xHCI 71:00.6 Audio device: Advanced Micro Devices, Inc. [AMD] Ryzen HD Audio Controller 72:00.0 USB controller: Advanced Micro Devices, Inc. [AMD] Raphael/Granite Ridge USB 2.0 xHCI Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub Bus 001 Device 002: ID 05e3:0610 Genesys Logic, Inc. Hub Bus 001 Device 003: ID 05e3:0610 Genesys Logic, Inc. Hub Bus 001 Device 004: ID 0db0:cd0e Micro Star International USB Audio Bus 001 Device 005: ID 24ae:9db6 Shenzhen Rapoo Technology Co., Ltd. 2.4G Receiver Bus 001 Device 006: ID 0db0:0076 Micro Star International MYSTIC LIGHT Bus 001 Device 007: ID 0489:e10a Foxconn / Hon Hai Bus 002 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub Bus 002 Device 002: ID 05e3:0620 Genesys Logic, Inc. GL3523 Hub Bus 002 Device 003: ID 05e3:0620 Genesys Logic, Inc. GL3523 Hub Bus 003 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub Bus 004 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub Bus 005 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub Bus 005 Device 002: ID 05e3:0608 Genesys Logic, Inc. Hub Bus 006 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub Bus 007 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub Bus 007 Device 002: ID 0483:a462 STMicroelectronics M3K Bus 008 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub Bus 009 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub total used free shared buff/cache available Mem: 30Gi 4.5Gi 16Gi 117Mi 10Gi 26Gi Swap: 8.0Gi 0B 8.0Gi Filesystem Size Used Avail Use% Mounted on composefs 40M 40M 0 100% / /dev/nvme0n1p3 929G 208G 721G 23% /etc devtmpfs 16G 0 16G 0% /dev tmpfs 16G 83M 16G 1% /dev/shm efivarfs 128K 69K 55K 56% /sys/firmware/efi/efivars tmpfs 6.2G 2.1M 6.2G 1% /run tmpfs 1.0M 0 1.0M 0% /run/credentials/systemd-journald.service tmpfs 16G 8.1M 16G 1% /tmp /dev/nvme0n1p2 2.0G 657M 1.2G 36% /boot /dev/nvme0n1p3 929G 208G 721G 23% /var /dev/nvme0n1p3 929G 208G 721G 23% /var/home /dev/nvme0n1p1 599M 13M 587M 3% /boot/efi tmpfs 3.1G 76K 3.1G 1% /run/user/1000 user@secureblue:/var/home/user$
Author
Owner

@asuscat commented on GitHub (Mar 16, 2026):

theres the info

<!-- gh-comment-id:4064225012 --> @asuscat commented on GitHub (Mar 16, 2026): theres the info
Author
Owner

@p-e-w commented on GitHub (Mar 16, 2026):

How did you install Heretic? Did you use a clean venv?

Please post the complete output of the Heretic run up to the point where it gets stuck. Make sure to put it in code fences in the comment so that it is actually readable.

<!-- gh-comment-id:4065741625 --> @p-e-w commented on GitHub (Mar 16, 2026): How did you install Heretic? Did you use a clean venv? Please post the complete output of the Heretic run up to the point where it gets stuck. Make sure to put it in code fences in the comment so that it is actually readable.
Author
Owner

@asuscat commented on GitHub (Mar 16, 2026):

HOW I INSTALLED HERETIC (PS: THIS BUG HAPPENS WHEN INSTALLING IT NORMALLY FROM THE README TOO)

git clone https://github.com/p-e-w/heretic.git
cd heretic
pip install .

I DID NOT use a clean venv

/home/user/.local/lib/python3.14/site-packages/torch/compiler/__init__.py:148: FutureWarning: torch._dynamo.allow_in_graph is deprecated and will be removed in a future version. Use torch._dynamo.nonstrict_trace instead.
  return torch._dynamo.allow_in_graph(fn)
█░█░█▀▀░█▀▄░█▀▀░▀█▀░█░█▀▀  v1.2.0
█▀█░█▀▀░█▀▄░█▀▀░░█░░█░█░░
▀░▀░▀▀▀░▀░▀░▀▀▀░░▀░░▀░▀▀▀  https://github.com/p-e-w/heretic

Detected 1 CUDA device(s) (11.63 GB total VRAM):
* GPU 0: NVIDIA GeForce RTX 3060 (11.63 GB)

Loading model Qwen/Qwen3.5-35B-A3B...
* Trying dtype auto... Warning: You are sending unauthenticated requests to the HF Hub. Please set a HF_TOKEN to enable higher rate limits and faster downloads.
Loading weights: 100%|██████████████████████████████████████████████████| 1026/1026 [00:02<00:00, 393.55it/s]
Some parameters are on the meta device because they were offloaded to the disk and cpu.
Ok
* LoRA adapters initialized (targets: out_proj, o_proj)
* Transformer model with 40 layers
* Abliterable components:
  * attn.o_proj: 40 modules total

Resident system RAM: 4.33 GB
Allocated GPU VRAM: 6.50 GB
Reserved GPU VRAM: 7.52 GB

Loading good prompts from mlabonne/harmless_alpaca...
* 400 prompts loaded

Loading bad prompts from mlabonne/harmful_behaviors...
* 400 prompts loaded

Checking for common response prefix...

<!-- gh-comment-id:4069530964 --> @asuscat commented on GitHub (Mar 16, 2026): HOW I INSTALLED HERETIC (PS: THIS BUG HAPPENS WHEN INSTALLING IT NORMALLY FROM THE README TOO) git clone https://github.com/p-e-w/heretic.git cd heretic pip install . I DID NOT use a clean venv ```user@secureblue:~/heretic$ heretic --model Qwen/Qwen3.5-35B-A3B --batch-size=2 /home/user/.local/lib/python3.14/site-packages/torch/compiler/__init__.py:148: FutureWarning: torch._dynamo.allow_in_graph is deprecated and will be removed in a future version. Use torch._dynamo.nonstrict_trace instead. return torch._dynamo.allow_in_graph(fn) █░█░█▀▀░█▀▄░█▀▀░▀█▀░█░█▀▀ v1.2.0 █▀█░█▀▀░█▀▄░█▀▀░░█░░█░█░░ ▀░▀░▀▀▀░▀░▀░▀▀▀░░▀░░▀░▀▀▀ https://github.com/p-e-w/heretic Detected 1 CUDA device(s) (11.63 GB total VRAM): * GPU 0: NVIDIA GeForce RTX 3060 (11.63 GB) Loading model Qwen/Qwen3.5-35B-A3B... * Trying dtype auto... Warning: You are sending unauthenticated requests to the HF Hub. Please set a HF_TOKEN to enable higher rate limits and faster downloads. Loading weights: 100%|██████████████████████████████████████████████████| 1026/1026 [00:02<00:00, 393.55it/s] Some parameters are on the meta device because they were offloaded to the disk and cpu. Ok * LoRA adapters initialized (targets: out_proj, o_proj) * Transformer model with 40 layers * Abliterable components: * attn.o_proj: 40 modules total Resident system RAM: 4.33 GB Allocated GPU VRAM: 6.50 GB Reserved GPU VRAM: 7.52 GB Loading good prompts from mlabonne/harmless_alpaca... * 400 prompts loaded Loading bad prompts from mlabonne/harmful_behaviors... * 400 prompts loaded Checking for common response prefix...
Author
Owner

@p-e-w commented on GitHub (Mar 18, 2026):

I DID NOT use a clean venv

That's a really bad idea in general as you will be polluting your system env with hundreds of packages.

What happens if you run Heretic without any arguments (that is, only pass the model)? It appears that you at least set the batch size manually.

<!-- gh-comment-id:4080094103 --> @p-e-w commented on GitHub (Mar 18, 2026): > I DID NOT use a clean venv That's a really bad idea in general as you will be polluting your system env with hundreds of packages. What happens if you run Heretic without any arguments (that is, only pass the model)? It appears that you at least set the batch size manually.
Author
Owner

@poyen-wu commented on GitHub (Apr 6, 2026):

In my case this happenes with larger max_response_length.

<!-- gh-comment-id:4193689834 --> @poyen-wu commented on GitHub (Apr 6, 2026): In my case this happenes with larger `max_response_length`.
Author
Owner

@p-e-w commented on GitHub (Apr 7, 2026):

I can't fix issues with reports like this, people. Just telling me "it gets stuck on step X" tells me nothing. Obviously, I don't have that problem myself. I need exact reproduction steps, system information, confirmation that you used a clean virtual environment, that you installed from the latest master branch etc.

<!-- gh-comment-id:4196069640 --> @p-e-w commented on GitHub (Apr 7, 2026): I can't fix issues with reports like this, people. Just telling me "it gets stuck on step X" tells me *nothing*. Obviously, I don't have that problem myself. I need exact reproduction steps, system information, confirmation that you used a clean virtual environment, that you installed from the latest master branch etc.
Author
Owner

@tiagoleonmelo commented on GitHub (May 19, 2026):

@asuscat You most likely need a much smaller model. My specs are similar to yours and I can only run things within a reasonable timeframe with Qwen/Qwen3.5-0.8B.

<!-- gh-comment-id:4489705530 --> @tiagoleonmelo commented on GitHub (May 19, 2026): @asuscat You most likely need a much smaller model. My specs are similar to yours and I can only run things within a reasonable timeframe with Qwen/Qwen3.5-0.8B.
Author
Owner

@doesmyemployercareaboutmyusername commented on GitHub (May 24, 2026):

The most obvious reason for me is that inferencing GLM with a single RTX 3060 just takes too long. @asuscat please take the advice from p-e-w serious and install everything in a clean virtual environment - this is the best thing you can do. And if you're diving into that, learn about uv. This speeds up things a lot. It's very easy if you take the time and just learn it.

<!-- gh-comment-id:4528538569 --> @doesmyemployercareaboutmyusername commented on GitHub (May 24, 2026): The most obvious reason for me is that inferencing GLM with a single RTX 3060 just takes too long. @asuscat please take the advice from p-e-w serious and install everything in a clean virtual environment - this is the best thing you can do. And if you're diving into that, learn about [uv](https://docs.astral.sh/uv/). This speeds up things a lot. It's very easy if you take the time and just learn it.
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
p-e-w/heretic#127
No description provided.