Files
project_6/qwen3_6_scripts
project_6 f3a4e7ecfe [CRITICAL] Restore original enginex paged_attn.py — Triton kernel hangs BI-V100
Reading the original enginex zip (enginex-vllm-bi100-qwen36-main.zip)
revealed that our paged_attn.py modifications are FATAL on real hardware:

Original enginex paged_attn.py:
  - context_attention_fwd (Triton) is COMMENTED OUT with explicit warning:
    'Triton kernel hangs BI-V100 GPU permanently'
  - Prefill uses _forward_prefix_pytorch (pure PyTorch, Flash Attention
    online softmax with K-tiling, O(q_len) memory)
  - Decode uses ixformer V1 for seq_len ≤ 32K, pure PyTorch for > 32K
  - use_v1 = True is CORRECT — V2 C++ kernel doesn't exist on BI-V100

Our modifications (now reverted):
  - Re-enabled Triton kernel → HANGS GPU
  - Wired V2 to pure Python implementation → 10-50x slower than V1
  - Removed _forward_prefix_pytorch → BREAKS prefill on BI-V100
  - Removed _forward_decode_pytorch → BREAKS long-context decode

Also read CCCL source this round:
  - monte_carlo.cu: transform_reduce random sampling pattern
  - Full qwen3_5.py (1200 lines): GatedDeltaNet + FullAttention + MoE
    hybrid architecture with MambaCacheManager

This is the MOST IMPORTANT commit in the project. Without it, the engine
cannot pass a single functional test on real BI-V100 hardware.
2026-08-05 07:11:59 +00:00
..