Description
FlowLine is an automation tool that schedules Python programs across GPUs. It watches GPU memory use, utilization and running processes, and it starts each queued task only when the required GPUs and memory are free. If a run fails with an out-of-memory error such as CUDA Out of Memory, the task goes back into the queue, which suits batches of training experiments. Each command can declare the number of GPUs it needs, a minimum free memory amount and a maximum number of parallel runs, and a custom ordering function can rank GPUs. You can stop or restart a running process to change the queue. Tasks are described in a spreadsheet or a CSV or JSON file, where each row is a task and each column becomes a command line argument. There is a command line interface for scripting on Linux servers, and a beta web interface for viewing and managing tasks. The project is written in Python and can be installed with pip or used by copying the flowline folder into a project. The README is in Chinese and English.…
Highlights
- Schedules Python tasks across available GPUs
- Requeues tasks after out-of-memory failures
- Task lists from .xlsx, .csv or .json files
- Command line and beta web interfaces
- Custom GPU priority ordering
Ratings & Reviews
No ratings yet
Be the first to rate FlowLine.
People also visit
FlowLine FAQ
What does FlowLine do?
It runs queued Python programs on GPUs, starting each task when the GPUs and memory it needs are free.
How do I describe the tasks?
In a .xlsx, .csv or .json file, where each row is one task and each column is a parameter passed as --key value on the command line.
What happens when a task runs out of GPU memory?
The task is put back in the queue and tried again, instead of stopping the whole batch.
Is there a web interface?
Yes, in beta. It lets you view task status, monitor progress and step in on runs.
How do I install it?
Install with pip from the project, or copy the flowline folder into your project root. The packages pandas, psutil and openpyxl are needed.
What are the best FlowLine alternatives?
Popular alternatives to FlowLine include Labml, PyRunner and Pi Workflow. See all FlowLine alternatives




