Commit Graph

30 Commits (933063f766391363b2635a7f5f8e32e07996b16c)

Author SHA1 Message Date
Guillermo Rodriguez 933063f766
Fix some import related TODOs 2025-02-03 18:28:53 -03:00
Guillermo Rodriguez 6db87acd1b
Remove all shebangs 2025-02-03 18:28:45 -03:00
Guillermo Rodriguez 36cb7b758a
Switch failable to use outcome 2025-02-03 17:17:05 -03: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
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 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 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 7c1681f76e
Switch to gpu.scd in all relevant segments 2024-11-26 21:40:13 -03:00
Guillermo Rodriguez 20ee6c0317
Add configurable explorer and ipfs links 2023-10-08 20:12:07 -03:00
Guillermo Rodriguez 3d2069d151
Simplify pipeline_for function and add the infra needed for diferent io/types than png 2023-10-08 18:00:18 -03:00
Guillermo Rodriguez 359e491d1f
Fix enqueue cli for img2img also fix worker img2img input get bug 2023-10-08 12:19:46 -03:00
Guillermo Rodriguez 16df97d731
Improve tg frontend ipfs results gathering parallelism 2023-10-08 10:13:55 -03:00
Guillermo Rodriguez d749dc4f57
Improve worker ipfs input data parallelizm 2023-10-08 09:54:31 -03:00
Guillermo Rodriguez d3b5d56187
Add new data gathering mechanic on worker and mp tractor backend 2023-10-07 21:28:52 -03:00
Guillermo Rodriguez e802689523
Add new/legacy ipfs image mechanic on input image gathering 2023-10-07 14:55:30 -03:00
Guillermo Rodriguez cc4a4b5189
Fix cli entrypoints to use new config, improve competitor cancel logic and add default docker image to py311 image 2023-10-07 12:32:00 -03:00
Guillermo Rodriguez 7cd539a944
Make new non_compete optional, also ipfs_gateway 2023-10-07 11:11:47 -03:00
Guillermo Rodriguez ad1a9ef9ea
Add anyio error to failable 2023-10-07 11:01:41 -03:00
Guillermo Rodriguez 3622c8ea11
Add venv to dockerignore
Improve readme
Improve dockerization as ipfs cli exec runs not needed anymore
Fix pyproject toml for gpu workers
Add more sections on example config
Drop and siomplify many cli commands, try to use config.ini for everything now
Use more dynamic imports on cli to speed up startup
Improve model pipelines to allow low mem cards to run big models
Add upscaler download to `skynet download` cmd
2023-10-07 11:01:40 -03:00
Guillermo Rodriguez 1b13cf25cc
Add test for new ipfs async apis, fix cli entrypoints endpoint loading to new format 2023-09-24 15:23:25 -03:00
Guillermo Rodriguez 01cbc736a0
Create fully async ipfs client, and stop using docker on worker 2023-09-24 13:12:49 -03:00
Konstantine Tsafatinos 6a6bdaab0d update check_connect to return list of peers 2023-06-26 12:43:00 -04:00
Konstantine Tsafatinos acd8ba91e5 change ipfs reconnect logic, use config vars 2023-06-26 09:59:32 -04:00
Konstantine Tsafatinos 8f24c72762 add ipfs reconnect before publishing if not connected to peers 2023-06-25 17:21:25 -04:00
Guillermo Rodriguez cbc9a89bb8
Fix old hardcoded domain on img2img input data fetcher 2023-06-12 09:43:27 -03:00
Guillermo Rodriguez 44bfc5e9e7
Make worker more resilient by using failable wrapper on network calls, modularize ipfs module and pinner code, drop ipfs links from telegram response and make explorer link easily configurable 2023-06-10 09:34:03 -03:00
Guillermo Rodriguez bbc5751837
Separate worker into submodules 2023-06-04 17:51:43 -03:00