14 Commits

Author SHA1 Message Date
Erik Thuning
f9284286f8 Stopped sending information about earlier failed atempts in notifications 2024-06-17 16:13:37 +02:00
Erik Thuning
87da30ab93 Moved the responsibility for storing job state to disk into Job update methods.
As a consequence, the storage module no longer provides a singleton.
2024-06-03 14:27:31 +02:00
Erik Thuning
fc15d6d6cc Implemented notification retying, and replaced sqlite with flat-file storage 2024-05-29 15:56:43 +02:00
Erik Thuning
95a3092434 Made the shutdown method block by default 2024-05-22 16:43:44 +02:00
Erik Thuning
132c885f7d Several changes
- moved the database into a dedicated work directory
 - added the required config setting for said directory
 - tightened the definition of the applied_evolutions table
 - set the timestamp for applied evolutions using sqlite builtin
 - started passing the database to the notifier thread
2024-05-16 14:20:16 +02:00
Erik Thuning
7b5da1dc08 Fixed some type confusion regarding queuedir 2024-05-16 14:15:47 +02:00
Erik Thuning
868075a45d Implemented basic job prioritization based on job origin 2024-05-16 09:42:23 +02:00
Erik Thuning
4727575705 Started actually calling the callback
and made sure the logged and POSTed notifications are identical
2024-05-16 09:40:42 +02:00
Erik Thuning
e09a9309b8 Indroduced a workaround hack to deal with torch and triton not playing well together 2024-05-08 11:54:56 +02:00
Erik Thuning
d0816c6049 Stopped reporting process id in log lines in debug mode,
since the whisper processes always report it now
2024-05-08 11:52:12 +02:00
Erik Thuning
e329e4f290 Logging process startup at info, and always including pid regardless of level 2024-05-03 15:24:32 +02:00
Erik Thuning
cd7901880d Getting close to mvp, just need the callback handling 2024-05-03 14:58:32 +02:00
Erik Thuning
08a85a1386 A whisper thread has been incorporated, not quite working yet 2024-05-02 16:48:33 +02:00
Erik Thuning
fe64ae1ad8 Added an init file for the pipeline, along with classes required for queueing up jobs.
Also updated gitignore.
2024-04-29 15:05:22 +02:00