mirror of
https://github.com/baketnk/frame-yap.git
synced 2026-10-06 06:00:04 +02:00
feat(worker): dispatch verified backends and preserve request-level failures
This commit is contained in:
1 parent
ebaae02b97
commit
9832ec1fd4
8 files changed
+549
-18
No files matched your search
+3
-1
@@ -23,7 +23,9 @@ public:
|
||||
Worker(const Worker&) = delete;
|
||||
Worker& operator=(const Worker&) = delete;
|
||||
void start(const std::string& python, const std::string& script,
|
||||
const std::string& model, int threads = 2, bool advanced_debug = false);
|
||||
const std::string& model, int threads = 2, bool advanced_debug = false,
|
||||
const std::string& backend = {}, const std::string& manifest_dir = {},
|
||||
const std::string& root = {});
|
||||
bool ready() const;
|
||||
void submit(uint64_t id, const std::vector<float>& pcm);
|
||||
std::optional<WorkerReply> poll();
|
||||
|
||||
Reference in new issue
Block a user