setup.sh: robust interpreter selection (--python flag, 3.10-3.12 wheel-range guard)
Clean-venv build executed end-to-end on Pascal hardware: slimmed requirements.txt boots the full pipeline; torch 2.6.0+cu124, sm_61 detected.
This commit is contained in:
1 parent
61a0f353cd
commit
392fa6326f
2 files changed
+27
-16
No files matched your search
@@ -52,6 +52,10 @@ git clone https://git.plean.rip/plean/omniparse-mcp.git && cd omniparse-mcp
|
||||
curl -s http://127.0.0.1:8898/healthz
|
||||
```
|
||||
|
||||
setup.sh needs a Python **3.10–3.12** venv (the pinned numpy/torch wheels stop
|
||||
at cp312). If your default `python3` is newer or lacks venv support, point at
|
||||
any suitable interpreter: `./setup.sh --python /path/to/python3.12`.
|
||||
|
||||
`start.sh` binds **127.0.0.1 by default** — the bearer token is a static
|
||||
secret, so LAN exposure is an explicit opt-in: `OMNI_API_HOST=0.0.0.0
|
||||
./start.sh` (firewall it yourself). The token lives **outside the repo**
|
||||
|
||||
Reference in new issue
Block a user