PeterD1524

Results 26 comments of PeterD1524
trafficstars

> Why not both? ONNX could be one of the WASI-NN backends, and so does Piper. The WASI-NN API is very powerful. Since it accepts bytes (tensors) and outputs bytes...

> WASI-NN API should be a general API. I think all of the ML/AI-related frameworks should be one of its backends if we can do this. Otherwise, there will be...

I have created a fork of WasmEdge which supports piper as a backend at https://github.com/PeterD1524/WasmEdge/tree/wasi_nn_piper. It works almost the same as piper's command line but with json as input. Piper...

I think this just allows renumbering STDIN, STDOUT, and STDERR? Correct me if I'm wrong but I think this is not the goal of the issue. If I understand correctly,...

https://github.com/WasmEdge/WasmEdge/blob/daa64485df0ca827cbf69660442a92e7bf4471b4/include/host/wasi/environ.h#L58-L60 I don't know if using `Span` is ideal. If it is, you should probably check the size of the `Span`. The default host Fd should be `{0, 1, 2}`...

@Wck-iipi The function is exposed on both Windows and UNIX, so you have to make sure people don't call it on Windows. But this is an internal API so I...