Skip to content

cloneofsimo/auto_llm_codebase_analysis

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Automate Massive Codebase Analysis with Language Model

Chimp

Ever had to go over all the codebase and analyze everything one-by-one? Ever wanted to "read over all of it really fast" and get "high level picture" per folder? This short tiny codebase does exactly that, hope to make your codebase-analysis time shorter.

This will recursively generate...

  • High-level summary of the codebase
  • Highlights of the codebase
  • Pythonic Pseudocode
  • Import Relationships

Installation & Use

Install sglang and run server.

pip install sglang
python -m sglang.launch_server --model-path "Qwen/Qwen1.5-72B-Chat" --tp 4 --port 8080

Run it via

convert.py CODEBASE_DIR OUTPUT_DIR --port 8080

Example Output:

The following is example output from analysis of DeepSpeed codebase.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages