Commit Graph

261 Commits (5aefaf22e50c53c527e9a39402f9130bcee7ce1c)

Author SHA1 Message Date
Guillermo Rodriguez 5aefaf22e5
Factor out WorkerDaemon, split into functions, made poller into an async gen and moved it to NetConnector as well as should_cancel 2025-02-07 22:49:29 -03:00
Guillermo Rodriguez d8de028814
Create msgspec struct for config 2025-02-07 22:49:29 -03:00
Guillermo Rodriguez 3d601272fc
Refactoring tui to be functional style 2025-02-07 22:49:29 -03:00
Guillermo Rodriguez c6ae11843a
Refactor ModelMngr to be a context manager + function combo 2025-02-07 22:49:29 -03:00
Guillermo Rodriguez 4a16118f18
Begin adding TUI 2025-02-07 22:49:29 -03:00
Guillermo Rodriguez 251892806d
Fix asks -> httpx bug on get_ipfs_link response handling 2025-02-07 22:49:29 -03:00
Guillermo Rodriguez 60c9605aa0
Fix cancellation system and provide a reason for the raise 2025-02-07 22:49:29 -03:00
Guillermo Rodriguez e8866b2c35
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-07 22:49:29 -03:00
Guillermo Rodriguez b1fa31ba58
Rework if statement to reduce indentation, add comment about logic 2025-02-07 22:49:29 -03:00
Guillermo Rodriguez 44910a70de
Drop old ipfs node docker managment 2025-02-07 22:49:29 -03:00
Guillermo Rodriguez 52903a198d
Remove todo about hardcoded numbers in test setup 2025-02-07 22:49:29 -03:00
Guillermo Rodriguez 4a5b73a8b1
Rename my_results 2025-02-07 22:49:28 -03:00
Guillermo Rodriguez f7594cfbe6
Change dgpu submodules classes name per fomos suggestion 2025-02-07 22:49:28 -03:00
Guillermo Rodriguez c3b078b2fb
Fix some import related TODOs 2025-02-07 22:49:28 -03:00
Guillermo Rodriguez 661ec159c2
Remove all shebangs 2025-02-07 22:49:28 -03:00
Guillermo Rodriguez d5a5c06332
Switch failable to use outcome 2025-02-07 22:49:28 -03:00
Tyler Goodlet 463a15ad27 Tell vim about `uv.lock` toml-ness 2025-02-04 12:08:46 -05:00
Tyler Goodlet d5bd2c24c5 Doc `GPUConnector.get_full_queue_snapshot()` 2025-02-04 12:07:43 -05:00
Tyler Goodlet eee19f1953 Fix non-f-string 2025-02-03 10:49:03 -05:00
Tyler Goodlet 9721451d5a Drop unused `as err`, suggest `logging.exception()` 2025-02-03 10:48:37 -05:00
Tyler Goodlet e829c6c569 Bit more multi-line styling in `.cli`
Such that i could more easily read the flag specs in a vsplit `vim`
buffer set ;)

Also includes the same for some (internal) `tuple`-imports.
2025-02-03 10:46:09 -05:00
Tyler Goodlet fd3e0feffe Some more `import` fixes
Removing unused imports in a few modules as well as converting a few
more tuple imports to multi-line style.

We should prolly consider a linter as part of pre-merge machinery;
I noticed a few pretty low hanging pep8 violations just spelunking rando
modules ;)
2025-02-03 10:44:01 -05:00
Tyler Goodlet 7cb9f09d95 Suggest `skynet.dgpu` docs, typing, pythonisms
From the deep-ish dive drafting our first set of design/architecture
diagrams in https://github.com/skygpu/cyberdyne/pull/2, this adds
a buncha suggestions, typing, and styling adjustments.

Namely the code tweaks include,
- changing to multi-line import tuples where appropriate (since they're
  much handier to modify ;)
- adding typing in many spots where it wasn't clear to me the types
  being returned/operated-with in various (internal) methods.
- doc strings (in mostly random spots Xp ) where i had the need to
  remember the impl's purpose but didn't want to re-read the code in
  detail again.
- ALOT of TODOs surrounding various potential style changes,
  re-factorings, naming and in some cases "modernization" according to
  the latest python3.12 feats/spec/stdlib.
2025-02-03 10:25:14 -05:00
Tyler Goodlet c0ac6298a9 Doc and type `skynet.dgpu` pkg mod 2025-01-30 15:29:56 -05:00
Guillermo Rodriguez 2e50b1a542
Merge pull request #45 from skygpu/uv_migration
Switch to uv package manager
2025-01-22 14:42:59 -03:00
Guillermo Rodriguez 8f4429bd06
Switch to uv package manager 2025-01-22 01:18:21 -03:00
Guillermo Rodriguez b5f52b3b5b
Merge pull request #44 from skygpu/inpainting
Add Inpainting to telos_testnet branch
2025-01-20 20:54:17 -03:00
Guillermo Rodriguez 12d015f0b9
Fix resp none error and params on flux inpaint pipe 2025-01-20 00:50:39 -03:00
Guillermo Rodriguez 48a0d0db79
Add new leap error 2025-01-18 23:33:09 -03:00
Guillermo Rodriguez 67cff51085
Consolidate GPU abi location in constants and drop asks 2025-01-18 15:31:14 -03:00
Guillermo Rodriguez 656693e719
Add httpx error to failable handler 2025-01-18 15:14:57 -03:00
Guillermo Rodriguez e757105444 Fix telegram frontend 2025-01-18 18:05:29 +00:00
Guillermo Rodriguez 07b211514d
First attempt at adding flux models, update all deps, upgrade to cuda 12, add custom pipe sys 2025-01-17 11:38:52 -03:00
Guillermo Rodriguez 00dcccf2bb
Add missing deps 2025-01-10 16:36:32 -03:00
Guillermo Rodriguez 7108543709
Fix minor issues on compute daemon found thanks to tests, vastly improve pipeline_for function and support old diffuse method 2025-01-10 12:33:23 -03:00
Guillermo Rodriguez 22e40b766f
Add dgpu fixture 2025-01-09 22:03:26 -03:00
Guillermo Rodriguez 8d35e5ed9a
Start testing inpainting mode 2025-01-09 21:10:07 -03:00
Guillermo Rodriguez 1e40c05da6
Fix minor errors, update lockfile, add cli entrypoints in pyproject.toml fix README 2025-01-09 17:04:35 -03:00
Guillermo Rodriguez 18ca8c573a
Add inpainting cli 2025-01-09 16:27:06 -03:00
Guillermo Rodriguez 7274fb017d
Drop old ipfs stuff 2025-01-09 14:03:56 -03:00
Guillermo Rodriguez 99fe66135e
Merge pull request #28 from skygpu/discord-upate
Discord update
2024-11-27 13:20:27 -03:00
zoltan 687ff6f118 update ipfs_gateway_url reqs for discord config to be optional 2024-11-27 16:19:08 +00:00
Zoltan 361f717867
Merge branch 'telos_testnet' into discord-upate 2024-11-27 11:11:26 -05:00
Guillermo Rodriguez 3eab407c00 Switch to gpu.scd in all relevant segments 2024-11-27 14:59:13 +00:00
Guillermo Rodriguez 7c1681f76e
Switch to gpu.scd in all relevant segments 2024-11-26 21:40:13 -03:00
Guillermo Rodriguez e88792c9d6
Fix docker paths 2024-11-02 14:52:22 -03:00
zoltan 7f62bf0044 update discord link 2024-06-19 22:04:26 +00:00
zoltan d3cf3bc6f2 fix img to img bug 2024-01-25 19:06:04 +00:00
zoltan 9821aac16a change log info for caption 2023-10-14 03:58:38 +00:00
zoltan 1234d6c555 change work request function to work with new ipfs logic 2023-10-14 03:53:59 +00:00