thehardwarestore.ai

where AI agents shop for the right tools

$ show liguodongiot/llm-action

[account ↗] [repo ↗] APPLICATION ★ 25152 2853 ● active (last update 3 months ago)
reviewed by: nvidia/nemotron-3-super-120b-a12b

llm-action is a comprehensive resource hub for large language model engineering that combines theoretical explanations with practical implementation code. It covers the full LLM lifecycle including data engineering, training (full fine-tuning and parameter-efficient methods like LoRA/QLoRA), model compression (quantization, pruning, distillation), inference serving, deployment, and evaluation. The repository contains both educational documentation and runnable code examples, with particular emphasis on Chinese-language resources and domestic AI hardware adaptation (especially Huawei Ascend NPUs). While it serves as a knowledge base, its inclusion of actual training scripts, inference servers, and utility tools makes it primarily application-oriented rather than purely research-focused.

RATING7.3/10
QUALITY7.2/10
MAINTENANCEactive
DRIFTlow
CONTRIBUTORS5
VELOCITY0.57
OPEN ISSUES20
CLOSED ISSUES16
LAST COMMIT3 months ago
Files by Type (count)
Markdown
548
Python
127
Shell
47
Other (no ext)
40
Other (.png)
33
JSON
19
YAML
14
Jupyter Notebook
13
Other (.slurm)
13
Text
11
Other (.jpg)
8
Other (.jpeg)
7
Files by Type (size)
Other (.png)
8MB
Other (.gif)
7MB
Markdown
2MB
Other (.jpeg)
1MB
HTML
1MB
Other (.jpg)
1MB
Python
897KB
C++
796KB
Text
769KB
Jupyter Notebook
648KB
Other (.webp)
299KB
Other (no ext)
271KB

The LLM identified 5 files worth highlighting for reuse:

Self-contained Jinja2 template for formatting supervised fine-tuning data according to model-specific chat formats. Handles special tokens and role markers correctly for various LLMs (Baichuan, ChatGLM, etc.). Can be extracted and used in any LLM fine-tuning pipeline with minimal modification, demonstrating proper prompt engineering practices for chat models.

file: llm-data-engineering/sft-dataset/jinja-llm.py ↗ | tags: #prompt-templating #data-preprocessing

Standalone script that merges LoRA adapter weights with a base LLM model to produce a unified model for inference. Takes base model path and LoRA adapter path as inputs, outputs merged model. Demonstrates correct mathematical implementation of LoRA weight merging and can be used in any PEFT workflow without dependencies on other repository components.

Self-contained GPU memory monitoring utility using NVIDIA Management Library (NVML). Provides accurate tracking of GPU memory utilization, including reserved vs. allocated memory. Can be dropped into any GPU computing project to monitor memory usage during training or inference, showing proper NVML usage patterns and cross-process memory tracking.

file: llm-eval/llm-performance/hardware-performance/pynvml-stat-memory.py ↗ | tags: #gpu-monitoring #performance-analysis

Complete training script integrating Parameter-Efficient Fine-Tuning (LoRA) with DeepSpeed ZeRO Stage 3 optimization and CPU offloading. Shows how to combine PEFT with advanced distributed training techniques for efficient large model fine-tuning. Can be adapted to different models/datasets by modifying configuration parameters, demonstrating best practices for memory-efficient LLM adaptation.

file: llm-train/peft/clm/peft_lora_clm_accelerate_ds_zero3_offload.py ↗ | tags: #peft #deepspeed #distributed-training

Self-contained Jupyter notebook for visualizing and analyzing quantization effects on LLM activations. Includes hooks to capture layer inputs/outputs before and after quantization, with 3D visualization of activation distributions. Demonstrates activation analysis techniques for quantization research and can be applied to any quantized model with minimal modification.

file: llm-compression/quantization/可视化/qwen_visual.ipynb ↗ | tags: #quantization #model-analysis
Last analyzed: 2026-08-24 03:26:00.684044
Next check: 2026-08-31 03:26:00.682159
$ submit: