Analysis updated 2026-05-18
Experiment with splitting a large language model's layers across several GPUs or edge devices
Study DAG-based scheduling that lets independent sub-tasks reuse cached context instead of reprocessing
Test quantized inference with 4-bit or 8-bit loading on devices with limited GPU memory
| fxyz666/logicpipe | cvlab-kaist/gld | openai/role-specific-plugins | |
|---|---|---|---|
| Stars | 196 | 196 | 196 |
| Language | Python | Python | Python |
| Setup difficulty | hard | hard | moderate |
| Complexity | 5/5 | 5/5 | 2/5 |
| Audience | researcher | researcher | pm founder |
Figures from each repo's GitHub metadata at analysis time.
Requires multiple GPUs or devices, a distributed PyTorch setup, and manually placing model weights before running.
LogicPipe is a Python project for running large language models (AI text-generation models) across multiple GPUs or multiple edge devices working together. The README is written in Chinese. The core problem it addresses is that large AI models often do not fit on a single GPU, so the model's layers need to be split across several devices and each device handles its assigned portion. LogicPipe automates that splitting and the coordination between devices during inference. The project divides a model into stages, where each stage is a slice of the model's transformer layers. A tool called model_partition.py cuts the full model weights into separate files, one per device. When running inference, each device loads only its own file. The devices communicate through PyTorch's distributed computing library, passing intermediate results (called activations) from one stage to the next until the final output is produced. A key challenge with this kind of pipeline is that devices can sit idle waiting for the previous stage to finish. LogicPipe addresses this by breaking a complex request into smaller sub-tasks with dependencies tracked as a directed acyclic graph (a DAG, which is a flowchart where tasks point to the next tasks they unlock). A scheduler watches which sub-tasks are ready to run and feeds them into the pipeline. When a sub-task finishes, its intermediate computation (KV cache) is saved so that follow-on sub-tasks can reuse that context without reprocessing earlier steps. Other features include an offline planning step that estimates compute, communication, and memory costs before a run begins and saves the plan for reuse, a speculative decoding approach called Medusa/MBSD that can generate multiple candidate tokens at once to speed up output, and support for 4-bit and 8-bit quantization to reduce memory usage on devices with limited GPU memory. The project is aimed at researchers experimenting with multi-device LLM pipeline inference and developers studying DAG-based scheduling, context reuse, and parallel decoding. It is not packaged as a user-facing product but rather as research scaffolding that requires familiarity with distributed PyTorch setups. No license is mentioned in the README.
A Python research project that splits large AI models across multiple GPUs or edge devices and schedules inference work between them as a dependency graph.
Mainly Python. The stack also includes Python, PyTorch.
Setup difficulty is rated hard, with roughly 1day+ to a first successful run.
Mainly researcher.
This repo across BitVibe Labs
Verify against the repo before relying on details.