start.sh: find the engine under edge0-strata/ in a clone of Edge0-AI/Edge0

#16
by 0xericy - opened

start.sh looks for $EDGE0/strata/{build,serve,.venv}. In a clone of github.com/Edge0-AI/Edge0, the engine is under edge0-strata/, so it always fails:

no strata binary under <clone>/strata

This change looks in $EDGE0/edge0-strata, then $EDGE0/strata, then $EDGE0, so existing layouts keep working.

Tested on Ubuntu 22.04 with an A100 40GB and Edge0-120B-NVFP4. With EDGE0=<clone root>, the server reached ready and answered a chat request. This needed Edge0-AI/Edge0#358 too: without it, server.py resolves "exe": "strata" against the model folder and fails with FileNotFoundError: '<model folder>/strata'.

Issue: https://github.com/Edge0-AI/Edge0/issues/359 , server-side fix: https://github.com/Edge0-AI/Edge0/pull/358

Edge0 org

Thanks β€” merged!

bupalinyu changed pull request status to merged

Sign up or log in to comment