PCL-lite

January 6, 2026 ยท View on GitHub

An adaptive self-improvement LLM agentic system for ML library development. We choose STeP as the target ASPL for next-generation RDA. Please run the following commands in order and under the /PCL-lite folder.

paper blog. PCL-lite targets an early version of STeP. Please check the latest STeP paper here.

Install

(Optional)

pip install -r requirements.txt

Validation

Validate the test and reference yamls under /benchmark and /prompts

./scripts/validate.sh

Prepare benchcard

./scripts/prepare.sh

Single experiment

./experiments/single/run.sh

Agent experiment

./experiments/agent/run.sh

Self-improvement agent experiment

./experiments/iterative/run.sh

Single without structual IR experiment

./experiments/single-ws/run.sh

Guide

  1. We recommend changing the BASE_PATH in the experiments bash scripts to folder that are not git. Otherwise, parallel sampling might be slowed down by more than 10x because of git logging.
  2. Users can change the MODEL_NAME in the experiments bash scripts to any supported model:
ModelAPIEnvironment Variable
claude-3-5-sonnet-20241022AnthropicANTHROPIC_API_BASE, ANTHROPIC_API_KEY
gpt-4o-2024-11-20OpenAIOPENAI_API_BASE, OPENAI_API_KEY
Meta-Llama-3-1-405B-Instruct-TurboTogetherAITOGETHER_API_BASE, TOGETHER_API_KEY
DeepSeek-V3DeepSeek-chatDEEPSEEK_API_BASE, DEEPSEEK_API_KEY
Qwen2-5-Coder-32B-InstructTogetherAITOGETHER_API_BASE, TOGETHER_API_KEY
  1. Since STeP is still a research prototype, we only publish the bmm tasks in the benchmark.
  2. NUM_SAMPLES and TEMPERATURE can be adjusted.

Cite

If you find this work useful, please cite these papers:

@inproceedings{zhang2025adaptive,
  title={Adaptive Self-improvement LLM Agentic System for ML Library Development},
  author={Zhang, Genghan and Liang, Weixin and Hsu, Olivia and Olukotun, Kunle},
  booktitle={Forty-second International Conference on Machine Learning}
}

@article{sohn2025streaming,
  title={Streaming Tensor Program: A streaming abstraction for dynamic parallelism},
  author={Sohn, Gina and Zhang, Genghan and Hossfeld, Konstantin and Kim, Jungwoo and Sobotka, Nathan and Zhang, Nathan and Hsu, Olivia and Olukotun, Kunle},
  journal={arXiv preprint arXiv:2511.07776},
  year={2025}
}