Commit Graph

171 Commits (7f62bf00444d2714a91c01ba14f6d795df879d9c)

Author SHA1 Message Date
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 c8a0a390a6
Fix for img2img mode on new worker system 2023-06-08 21:25:07 -03:00
Guillermo Rodriguez 91edb2aa56
Frontend db model name related fixes, and gpu worker fixes when swapping models 2023-06-06 12:27:40 -03:00
Guillermo Rodriguez aa41c08d2f
Upscaler fix & frontend model selection naming chanes 2023-06-05 11:52:16 -03:00
Guillermo Rodriguez bbc5751837
Separate worker into submodules 2023-06-04 17:51:43 -03:00
Guillermo Rodriguez fc513b89af
Retry pin 2023-06-04 14:41:26 -03:00
Guillermo Rodriguez d5b04a673c
Update smart contract 2023-06-04 14:18:57 -03:00
Guillermo Rodriguez 64a15a0ab9
Fix db schema for users outside int32 range 2023-06-04 01:11:03 -03:00
Guillermo Rodriguez 27fe05c3e7
Vast improvement to telegram frontedn 2023-06-03 20:17:56 -03:00
Guillermo Rodriguez 31cca4f487
Woops fixed import 2023-06-03 12:46:21 -03:00
Guillermo Rodriguez 006d15137c
Updated ipfs remote and ipfs launch logic 2023-06-03 12:44:22 -03:00
Guillermo Rodriguez 13c6e85ac9
Make pinner less spammy lool, and gpu more resiliant 2023-06-03 12:22:24 -03:00
Guillermo Rodriguez 320f13260c
Update nodeos genesis init 2023-06-01 19:21:42 -03:00
Guillermo Rodriguez 40ba84c109
Drop cleos docker container usage for push action in frontend and dgpu, also make pinner way more agresive 2023-05-30 00:32:17 -03:00
Guillermo Rodriguez 25413a68cc
Fix logging bug on pinner 2023-05-29 23:34:02 -03:00
Guillermo Rodriguez 731a64494f
Update url defaults 2023-05-29 21:00:47 -03:00
Guillermo Rodriguez 33d2ca281b
Pin all the things 2023-05-29 19:44:31 -03:00
Guillermo Rodriguez 1494e47b34
Snappier dgpu, fix captioning & gitignores 2023-05-29 19:03:39 -03:00
Guillermo Rodriguez c26b4fc468
Changes to frontend schema for better accuracy on configs
New fix for nonce / request hashing system which had a bug with multi request per user case
Add queue command to frontend
Better meta info captions
2023-05-29 14:48:10 -03:00
Guillermo Rodriguez 25c86b5eaf
Rework gpu worker logic to work better in parallel with other workers 2023-05-29 13:43:03 -03:00
Guillermo Rodriguez 2b18fa376b
Add redo support to img2img also switch pinner to use http api 2023-05-29 13:08:01 -03:00
Guillermo Rodriguez 22c403d3ae
Add autowithdraw switch, start storing input images on ipfs 2023-05-29 00:46:47 -03:00
Guillermo Rodriguez 303ed7b24f
Add wait time on pinner and autocreate ipfs node directories on startup 2023-05-28 22:20:06 -03:00
Guillermo Rodriguez a85518152a
Add frontend image reduction and fix ipfs sudo issue 2023-05-28 20:44:47 -03:00
Guillermo Rodriguez e63d395d5c
Frontend DB fixes and starting to add img2img 2023-05-28 20:17:55 -03:00
Guillermo Rodriguez 5e017ffac0
Telegram frontend fixes and create pinner 2023-05-28 18:23:51 -03:00
Guillermo Rodriguez 1d7d11a9c1
Add .ini example & new account config
Add new smart contract clis config etc
Update GPU worker software to match contract updates
Do dynamic nodeos genesis
2023-05-27 22:42:27 -03:00
Guillermo Rodriguez 3607c568de
Drop separate reqs file for tests
Update docker containers
Create cli helpers for interacting with skynet
Add test
Begin adding hyperion api to telegram frontend
2023-05-27 17:50:47 -03:00
Guillermo Rodriguez dcd020f0da
Init chain with GPU token, tweak dgpu init 2023-05-24 13:24:46 -03:00
Guillermo Rodriguez 0b312ff961
Use leap as network + auth layer, we decentarlized now 2023-05-22 06:10:51 -03:00
Guillermo Rodriguez 5e8787b4fc
Add download command
Fix ini config loading
Update test requirements
Fix attempt_insecure and connection simple dgpu tests
2023-03-20 11:09:32 -03:00
Guillermo Rodriguez 4feed81662
Network rework in progress, also swap db to be on frontend layer
Simplify protobuf proto
Add manual telegram test
Add new .ini config system add example and gitignore entry
Expose ports on dgpu Dockerfile
2023-03-20 11:09:30 -03:00
Guillermo Rodriguez 71c6270a03
Add redo button to txt2img mode on telegram frontend 2023-01-22 16:10:46 -03:00
Guillermo Rodriguez 737b937ec9
OMG finally found the issue, missing comma on config attr list 2023-01-18 07:47:02 -03:00
Guillermo Rodriguez edc4924ef8
Add more logging in case wrong config param 2023-01-18 07:44:46 -03:00
Guillermo Rodriguez 15c49ca9a0
Woops forgot to add new strength param to CONFIG_ATTRS list 2023-01-18 07:37:58 -03:00
Guillermo Rodriguez 4b2d8a3525
Bump version, fix redo help text and add media group response on img2img 2023-01-18 07:25:15 -03:00
Guillermo Rodriguez aaecd41fb6
Add strength parameter for img2img 2023-01-18 07:10:49 -03:00
Guillermo Rodriguez 8427165a76
Add image resize before img2img calc, add strength parameter to local img2img tools 2023-01-17 19:01:31 -03:00
Guillermo Rodriguez 5a365180ff
More telegram reply text changes 2023-01-17 07:16:29 -03:00
Guillermo Rodriguez 5d6b3c2edb
More tg tweaks 2023-01-17 07:11:54 -03:00
Guillermo Rodriguez 122de1af9c
Fix redo and change a bit of telegram logic to allow pm 2023-01-17 07:06:18 -03:00
Guillermo Rodriguez ab893393e3
Woops missing awaits 2023-01-16 00:50:02 -03:00
Guillermo Rodriguez d1fc9ab952
Change img2img msg handler on telegram frontend 2023-01-16 00:42:48 -03:00
Guillermo Rodriguez 67286bfa23
Forgot about meta 2023-01-16 00:38:06 -03:00
Guillermo Rodriguez e916188b93
Fixing more telegram deseralization errors 2023-01-16 00:35:33 -03:00
Guillermo Rodriguez 6453240f3a
Woops wrong img deseralization 2023-01-16 00:04:20 -03:00
Guillermo Rodriguez 97f7d51782
Add img2img mode 2023-01-15 23:42:45 -03:00
Guillermo Rodriguez 585d304f86
Add reconnect mechanic to dgpu bus 2023-01-08 07:31:03 -03:00
Guillermo Rodriguez 10e77655c6
Remove rpc heartbeat service and add it to gpu bus 2023-01-07 13:01:03 -03:00
Guillermo Rodriguez 1b42f288bc
Add simple heartbeat mechanic 2023-01-07 09:06:35 -03:00
Guillermo Rodriguez e1dba908e7
Fix bug where we only supported square imgs on telegram frontend reply 2023-01-07 09:05:17 -03:00
Guillermo Rodriguez afec780286
Bump version number 2023-01-06 22:36:25 -03:00
Guillermo Rodriguez 4ff1dc7a5d
Fix a couple bugs on telegram frontend image deseralization and sending metainfo back 2023-01-06 15:14:39 -03:00
Guillermo Rodriguez 6c1799e342
Switch to protobuf 2023-01-06 14:36:50 -03:00
Guillermo Rodriguez 021e9ce72d
Fix big caption bug, and add logging 2022-12-24 15:38:40 -03:00
Guillermo Rodriguez 07321ee5ee
Add logging 2022-12-24 14:32:17 -03:00
Guillermo Rodriguez e2257b4fb5
Disable private msging with skynet 2022-12-24 12:13:05 -03:00
Guillermo Rodriguez ce5d847565
Add say command to telegram frontend 2022-12-24 11:58:03 -03:00
Guillermo Rodriguez 193f60035d
Woops forgot about redo 2022-12-24 11:54:28 -03:00
Guillermo Rodriguez 820c856e55
Fix image meta and add logging on telgram 2022-12-24 11:49:20 -03:00
Guillermo Rodriguez 2ccae8d08a
Fix telegram frontend bug sending upscaled images based on wrong size 2022-12-24 11:42:30 -03:00
Guillermo Rodriguez 2b0ed25605
Add more logging on msg passing 2022-12-24 11:34:00 -03:00
Guillermo Rodriguez 55781688cd
Testing unlimited msg size 2022-12-24 11:28:17 -03:00
Guillermo Rodriguez 8427eaafd7
Need to add more cmd line params to be able to deploy 2022-12-24 11:20:25 -03:00
Guillermo Rodriguez a656be62b6
Disable torch import on cuda-less runs 2022-12-24 10:54:33 -03:00
Guillermo Rodriguez a9c237b538
Add upscaler 2022-12-24 10:39:40 -03:00
Guillermo Rodriguez cb92aed51c
Finish telegram frontend integration
Correctly update user stats after a txt2img request
Swap tg_id to BIGINT on database
Refactor help topic system to be more generic
Fix skynet brain cli entry point
Fix multi request rpc session, we werent creating a context on the req side
Fix redo method
DGPU now returns image metadata
Improve error messages brain to frontend
Add version as constant
Add telegram dep to requirements
2022-12-21 11:53:50 -03:00
Guillermo Rodriguez 896b0f684b
Minor fixes to upscaler cli tool 2022-12-19 12:42:31 -03:00
Guillermo Rodriguez 6bc555f0d6
Add authenticated messaging, also cmd line utils txt2img and upscale 2022-12-19 12:36:02 -03:00
Guillermo Rodriguez f6326ad05c
Rework dgpu client to be single task
Add a lot of dgpu real image gen tests
Modified docker files and environment to allow for quick test relaunch without image rebuild
Rename package from skynet_bot to skynet
Drop tractor usage cause cuda is oriented to just a single proc managing gpu resources
Add ackwnoledge phase to image request for quick gpu disconnected type scenarios
Add click entry point for dgpu
Add posibility to reuse postgres_db fixture on same session by checking if schema init has been already done
2022-12-17 11:39:42 -03:00