Skip to content

Fix external launcher startup paths#59

Open
zxyasfas wants to merge 1 commit intoantirez:mainfrom
zxyasfas:fix/external-launch-health
Open

Fix external launcher startup paths#59
zxyasfas wants to merge 1 commit intoantirez:mainfrom
zxyasfas:fix/external-launch-health

Conversation

@zxyasfas
Copy link
Copy Markdown

Summary

  • Resolve relative model and MTP paths from the current working directory first, then from the executable directory.
  • Resolve Metal source files from the current working directory / env overrides first, then from the executable directory.
  • Add GET /health as a lightweight liveness endpoint for process managers and model routers.

Fixes #49

Validation

  • git diff --check
  • Not run: make test (this Windows environment does not provide the POSIX/macOS headers used by ds4, such as sys/mman.h and arpa/inet.h)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Problems when launching from other programs like llama-swap

1 participant