meshd: the host daemon of the GPU mesh: the executors, the driver, the control and HTTP ports, the samplers
$ sexc add @ajax/meshd- total 3
- drwxr-xr-x-../
- drwxr-xr-x-Oct 27 05:25v/# 1 version
- drwxr-xr-x-Oct 27 05:25files/# the files of 0.1.0
- latest
- 0.1.0, published Oct 27 05:25 by ajax
- owners
- ajax
- license
- MIT
- dependencies
- @ajax/mesh-args ^0.1.0, @ajax/mesh-driver ^0.1.0, @ajax/mesh-shared ^0.1.0, @ajax/mesh-control ^0.1.0, @ajax/mesh-http-relay ^0.1.0, @ajax/mesh-samplers ^0.1.0, @ajax/mesh-infer-svc ^0.1.0, @ajax/mesh-backend ^0.1.0, @ajax/mesh-cuda ^0.1.0, @ajax/mesh-mps ^0.1.0, @ajax/mesh-mps-worker ^0.1.1, @ajax/nvjitlink ^0.1.0, @ajax/mesh-shm ^0.1.0, @ajax/mesh-native ^0.1.1, @ajax/mesh-exec-wasm ^0.1.0, @ajax/mesh-log ^0.1.0, @ajax/mesh-abi ^0.1.0, @ajax/mesh-buf ^0.1.0, @ajax/mesh-rsfmt ^0.1.0, @ajax/mesh-chan ^0.1.0, @ajax/mesh-exec-wasm-testkit ^0.1.0, @ajax/mesh-check ^0.1.0
- dependents
- none yet
- keywords
- mesh alphaos daemon gpu cuda wasm
- homepage
- https://github.com/thomasdavis/alpha-c-mesh/tree/main/apps/meshd
- repository
- https://github.com/thomasdavis/alpha-c-mesh
1# @ajax/meshd 2 3meshd: the host daemon of the GPU mesh: the executors, the driver, the control and HTTP ports, the samplers. 4 5meshd: the host daemon of the GPU mesh: the executors, the driver, the control and HTTP ports, the samplers. 6 7``` 8meshd --backend wasm --programs out/programs --autoload 9``` 10 11## Ported from 12 13[alpha-rust-mesh](https://github.com/rsafier/alpha-rust-mesh) (Richard Safier, MIT): crates/mesh-host/src/main.rs: `main`, `install_signals`, `watchdog`, `SHUTDOWN_LIMIT`, `hostname`, `bind`, `open_cuda`. 14 15## Tests 16 17- `tests/meshd.c`: a whole CPU-only meshd (`--backend wasm`) in a child process, on a catalog with the real programs/hello-wasm and a native worker (apps/mesh-test-worker): autoload, tasks, stop/start, reset, unload/load, peek, `programs`, the views, a native crash failing only that program, `--state`, SIGINT and exit 0; the CUDA backend without a GPU exits 1, a bad flag 2. 18 19## Differences 20 21- **Not wired yet**: the fleet thread (peer.rs `run`), the jobs thread (jobd.rs `run`) and the blob thread (blobd.rs `run`): `--cluster`/`--peer` is refused with that reason, `jobs` answers "the jobs thread is gone", `render` "the blob thread is gone". 22- The executors line names the C wasm interpreter where the Rust names wasmtime. 23 24## Licence 25 26MIT. See the repository's LICENSE.