Commit Graph

37 Commits (rust_contract)

Author SHA1 Message Date
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 1dd2a8ed89
Add strength param for reqs that require it 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 b365614194
Add real compute test and parametrize the mocker test 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 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 e09652eaae
Drop old ipfs node docker managment 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 5f5314cd35
Remove all shebangs 2025-02-18 15:56:45 -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 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 bbc5751837
Separate worker into submodules 2023-06-04 17:51:43 -03:00
Guillermo Rodriguez d5b04a673c
Update smart contract 2023-06-04 14:18:57 -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 97f7d51782
Add img2img mode 2023-01-15 23:42:45 -03:00
Guillermo Rodriguez 1b42f288bc
Add simple heartbeat mechanic 2023-01-07 09:06:35 -03:00
Guillermo Rodriguez 6c1799e342
Switch to protobuf 2023-01-06 14:36:50 -03:00
Guillermo Rodriguez a9c237b538
Add upscaler 2022-12-24 10:39:40 -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
Guillermo Rodriguez d2e676627a
Add TLS for encrypted comms, next HMAC 2022-12-11 13:06:07 -03:00
Guillermo Rodriguez ece290d805
Remove unused import from tg module and unecesary docker command on db startup 2022-12-11 11:10:17 -03:00
Guillermo Rodriguez 9afb192251
Started making roboust testing fixtures to init fresh db and skynet
Add simple dgpu worker connection test
Make db connection handler manage schema and table init logic
Keep tweaking dgpu main handler attemtping to fix subactor hangs
Change frontend open rpc logic to return a wrapped rpc_call fn referencing the new socket
Decupled user config request validation from telegram module
Fix next_worker logic, now takes in account multiple tasks per dgpu
Add dgpu_workers and dgpu_next calls
Fixed readme, moved db init code into db module
2022-12-11 11:02:55 -03:00
Guillermo Rodriguez c3852314a7
Move gpu lifecycle tests to its own file to make torch import optional 2022-12-11 08:38:42 -03:00
Guillermo Rodriguez 139aea67b1
Add gpu worker tests to debug tractor lifecycle stuff also logging
Minor tweak to cuda docker image
Pin tractor branch
Add triton to cuda reqs
2022-12-11 08:32:25 -03:00
Guillermo Rodriguez 74d2426793
First decupled architecture, still working on integrating tractor gpu workers 2022-12-10 18:18:03 -03:00