evilsocket / cake

Distributed LLM and StableDiffusion inference for mobile, desktop and server.
Other
2.64k stars 141 forks source link

Error in model.forward: error in forward batch operation for block #13

Closed hash-momo closed 1 month ago

hash-momo commented 4 months ago

The first time I call the API, it works fine. However, when I call the REST API for the second time, the master node reports the error: cake/api/mod.rs:98:10: called Result::unwrap() on an Err value: error in model.forward: error in forward batch operation for block 29: error receiving response for Batch Additionally, one of my workers will also trigger an error and then stop: src/cake/worker.rs:225:26: called Result::unwrap() on an Err value: cannot broadcast [28, 28] to [1, 32, 28, 65]

caohuilong commented 4 months ago

The problem still exists and has not been solved. When sending the second request, the master reports an error image

one of the worker reports image

evilsocket commented 4 months ago

@caohuilong are you sure you pulled the fix before compiling?

caohuilong commented 4 months ago

@caohuilong are you sure you pulled the fix before compiling?

yes, i pull the repo today and have check the code is the newest.

angive commented 4 months ago

I hope the author can resolve this issue as soon as possible.

evilsocket commented 4 months ago

the author works at this project for fun during his free time

evilsocket commented 1 month ago

closed with https://github.com/evilsocket/cake/pull/32