Guillermo Rodriguez
47dda50f32
Add support for both protocol versions on worker daemon
2025-02-21 11:14:36 -03:00
Guillermo Rodriguez
7edca49e95
Further simplification of daemon code, remove NetConnector
2025-02-21 11:14:36 -03:00
Guillermo Rodriguez
0a5c06e312
First version integrated to rust contract
2025-02-21 11:14:34 -03:00
Guillermo Rodriguez
eeb27d5bbf
Set py-leap to remote dep again
2025-02-21 11:09:28 -03:00
Guillermo Rodriguez
239fb59431
Port discord chatbot to abc framework
2025-02-21 11:09:28 -03:00
Guillermo Rodriguez
f5a734a622
Finally have feature parity, callback query redo works
2025-02-21 11:09:28 -03:00
Guillermo Rodriguez
cf7ee1b001
Add unkown cmd handler
2025-02-21 11:09:27 -03:00
Guillermo Rodriguez
83b44e5e69
Finish testing img2img
2025-02-21 11:09:27 -03:00
Guillermo Rodriguez
fedbd95ca8
Start creating generic abstraction for chatbot
2025-02-21 11:09:25 -03:00
Guillermo Rodriguez
5b935e5b4d
Add Zolty review comments
2025-02-21 11:05:20 -03:00
Guillermo Rodriguez
ecf21be7c8
Update and pin py-leap
2025-02-20 14:58:44 -03:00
Guillermo Rodriguez
6a991561de
Mostly minor typing and comment changes remaining from fomos re-review, only big change is removed BaseException catch inside compute_one
2025-02-18 16:07:57 -03:00
Guillermo Rodriguez
1dd2a8ed89
Add strength param for reqs that require it
2025-02-18 16:07:57 -03:00
Guillermo Rodriguez
63c849a41e
Fixes to tui and compatibility with frontend formated requests found while running worker
2025-02-18 16:07:57 -03:00
Guillermo Rodriguez
f60e582ad5
Enable and fix all tests, make upscaler just use pipeline_for function, add upscaler mocker
2025-02-18 16:07:57 -03:00
Guillermo Rodriguez
f4804b61d9
Increase ipfs startup timeout & update lock (new dockerctl v)
2025-02-18 16:07:57 -03:00
Guillermo Rodriguez
9eb46862ae
Add CI, finish structification, break smart contract table sync logic to its own class with context manager, add better test helpers
2025-02-18 16:07:57 -03:00
Guillermo Rodriguez
08b6b983a2
First pass adding msgspec structs
...
Added nix-shell dev file
Switch to dev branch of py-leap for get_table row auto struct unpack
Add testing module with helpers like override global load config function
Add types for Queue V0
Rename test contract to gpu.scd to match current
Add new enqueue test
Update lock
2025-02-18 16:07:57 -03:00
Guillermo Rodriguez
868e2489b3
Merge pull request #47 from skygpu/fomo_polish
...
Fomo polish
2025-02-18 15:57:28 -03:00
Guillermo Rodriguez
a4e40ba662
Added auto-download through hf for the upscaler
2025-02-18 15:56:47 -03:00
Guillermo Rodriguez
8828fa13fc
Add table_index system in poller in order for daemon to be aware of stale data
2025-02-18 15:56:47 -03:00
Guillermo Rodriguez
30eaa6c194
Switch to non interator poller, NetConnector has wait_data_update() now
2025-02-18 15:56:47 -03:00
Guillermo Rodriguez
5d67b3cd60
Address last of fomo\'s comments, related to pinner logging, cleanup ipfs module
2025-02-18 15:56:46 -03:00
Guillermo Rodriguez
5edd7f4db4
Log information about non custom pipelines
2025-02-18 15:56:46 -03:00
Guillermo Rodriguez
b365614194
Add real compute test and parametrize the mocker test
2025-02-18 15:56:46 -03:00
Guillermo Rodriguez
80633627da
Remove un-used util
2025-02-18 15:56:46 -03:00
Guillermo Rodriguez
a652fdd781
Move skynet.utils to skynet.dgpu submodule
2025-02-18 15:56:46 -03:00
Guillermo Rodriguez
cebbd1059e
Fix Upscaler hardcoding, add mockerpipeline and streamline dgpu tests
2025-02-18 15:56:46 -03:00
Guillermo Rodriguez
d0e084b867
Update example config
2025-02-18 15:56:46 -03:00
Guillermo Rodriguez
f39859943d
Update py-leap and use its new apis on testing, add a comment on fields of DgpuConfig struct, minor name changing and mechanics of open_worker, make logging configurable
2025-02-18 15:56:46 -03:00
Guillermo Rodriguez
149d9f9f33
Factor out WorkerDaemon, split into functions, made poller into an async gen and moved it to NetConnector as well as should_cancel
2025-02-18 15:56:46 -03:00
Guillermo Rodriguez
ea3b35904c
Create msgspec struct for config
2025-02-18 15:56:46 -03:00
Guillermo Rodriguez
5a3a43b3c6
Refactoring tui to be functional style
2025-02-18 15:56:46 -03:00
Guillermo Rodriguez
12b32a7188
Refactor ModelMngr to be a context manager + function combo
2025-02-18 15:56:46 -03:00
Guillermo Rodriguez
8b45fb5979
Begin adding TUI
2025-02-18 15:56:45 -03:00
Guillermo Rodriguez
e66f8d74fd
Fix asks -> httpx bug on get_ipfs_link response handling
2025-02-18 15:56:45 -03:00
Guillermo Rodriguez
4c9be4e63e
Fix cancellation system and provide a reason for the raise
2025-02-18 15:56:45 -03:00
Guillermo Rodriguez
a5dbe5ab12
Further improvements in indentation and logic in daemons maybe_serve_one, also might of fixed a bug related to using id instead of request_id in the search existing results phase, and add way more logging
2025-02-18 15:56:45 -03:00
Guillermo Rodriguez
cc7015eb03
Rework if statement to reduce indentation, add comment about logic
2025-02-18 15:56:45 -03:00
Guillermo Rodriguez
e09652eaae
Drop old ipfs node docker managment
2025-02-18 15:56:45 -03:00
Guillermo Rodriguez
eaad7d9112
Remove todo about hardcoded numbers in test setup
2025-02-18 15:56:45 -03:00
Guillermo Rodriguez
62f891c017
Rename my_results
2025-02-18 15:56:45 -03:00
Guillermo Rodriguez
1b437b761b
Change dgpu submodules classes name per fomos suggestion
2025-02-18 15:56:45 -03:00
Guillermo Rodriguez
f0604f54fb
Fix some import related TODOs
2025-02-18 15:56:45 -03:00
Guillermo Rodriguez
5f5314cd35
Remove all shebangs
2025-02-18 15:56:45 -03:00
Guillermo Rodriguez
f2a8f0367f
Switch failable to use outcome
2025-02-18 15:56:43 -03:00
Tyler Goodlet
336c0122eb
Tell vim about `uv.lock` toml-ness
2025-02-18 15:56:17 -03:00
Tyler Goodlet
18cdffa700
Doc `GPUConnector.get_full_queue_snapshot()`
2025-02-18 15:56:17 -03:00
Tyler Goodlet
1b528e1fa4
Fix non-f-string
2025-02-18 15:56:17 -03:00
Tyler Goodlet
286d49a7f5
Drop unused `as err`, suggest `logging.exception()`
2025-02-18 15:56:17 -03:00