Explore the research collection
26 entries · showing 25–26 · Follow this search
- Other
Transformers documentation: AWQ (Activation-aware Weight Quantization)
Living Transformers docs for Activation-aware Weight Quantization: identify AWQ checkpoints via quantization_config.quant_method=awq (typically 4-bit, group_size 128, zero_point, gemm). from_pretrained loads autoawq/llm-awq weights with other tensors in fp16 by default; dtype and device_map control the rest. Notes AutoAWQ pins Transformers to 4.47.1. Optional AwqConfig fused modules (Llama/Mistral out of the box; fuse_max_seq_len + do_fuse) roughly double decode tok/s vs unfused on TheBloke/Mistral-7B-OpenOrca-AWQ at batch=1 (e.g. 32/32: 80.3 vs 38.5 tok/s, 4.00 vs 4.50 GB). ExLlamaV2 via version=exllama (AMD GPUs supported). Cannot combine fused modules with FlashAttention2. Method paper is Lin et al. AWQ (arXiv 2306.00978, MLSys 2024).
- Other
LLM-based agents reasoning // CoT, ToT, GoT!
Medium explainer arguing that no single prompt solves hard agent tasks and that sequences of prompts (CoT, ToT, then GoT) let you manipulate intermediate LLM outputs. Summarizes Graph of Thoughts (Besta et al., AAAI 2024): reasoning as an arbitrary graph of thoughts with merge/refine/feedback operations closer to recurrence than linear CoT or tree search. Claims GoT improves sorting accuracy 62% over ToT while cutting cost >31%, and helps set operations, keyword counting, and document merging by decomposing subtasks and combining solutions. Not original research; a blog walkthrough of the prompting literature.