modal-omniparser

A serverless compute port of the OmniParser vision model for the Modal platform.
git clone https://unitehenry.com/git/modal-omniparser.git
Log | Files | Refs | README

commit 67b983b4466091d6a9c1157b336b45d3e550161b
parent 0cc65e7114af5a086e1d6f1fc0f28de3edaebf1d
Author: Henry Unite <unitehenry@gmail.com>
Date:   Sat, 14 Mar 2026 22:44:50 +0000

docs: building omniparser

Diffstat:
MREADME.md | 11+++++++++++
1 file changed, 11 insertions(+), 0 deletions(-)

diff --git a/README.md b/README.md @@ -20,3 +20,14 @@ uvx modal run -w response.json parse.py ``` uvx ruff format *.py ``` + +## Building OmniParser + +The current image configuration is setup to support [OmniParser v.2.0.1](https://github.com/microsoft/OmniParser/releases/tag/v.2.0.1). The dependencies are pinned in `omniparser-requirements.txt` with tweaks to get the model to actually run. These tweaks include the following: + +- `paddleocr<=2.8` +- `torch== 2.2.0` +- `transformers==4.38.2` +- `paddlepaddle<=2.8` +- `cuda-12.2.0` +- `flash_attn-2.6.0+cu122torch2.2cxx11abiFALSE-cp312-cp312-linux_x86_64.whl`