-
Notifications
You must be signed in to change notification settings - Fork 209
Waiting on channel to be ready #323
Comments
@jloveric In case you Having similar issues though:
and then it stops there forever. Here's the traceback for KeyboardInterrupt:
Am running on Do Docker Image
EDIT: Fixed URL, minimized setup example |
hmm, give me some time and let me check. Debugging a Docker env is always challenging. In the meantime, I'd like to give you a sneak peak on the ongoing effort of GNES Flow, it provides a pythonic and intuitive interface for building workflow in GNES. You can get some examples from this unit test. Once a flow is built, one can export a flow to Docker Swarm, K8S or even a SVG image in a painless way. This is not a mature feature yet, our plan is to remove GNES compose module and use GNES Flow as the main interface in tutorial and web UI. If you have any thoughts on the API design of GNES flow, feel free to give some feedback. |
@jloveric @davidlenz thanks again ❤️ for trying GNES and giving feedback at the early stage. I'd like to introduce you the new GNES Flow API (available since flow = (Flow(check_version=False, ctrl_with_ipc=True)
.add_preprocessor(name='prep', yaml_path='yaml/prep.yml', replicas=3)
.add_encoder(yaml_path='yaml/incep.yml', replicas=6)
.add_indexer(name='vec_idx', yaml_path='yaml/vec.yml')
.add_indexer(name='doc_idx', yaml_path='yaml/doc.yml', recv_from='prep')
.add_router(name='sync', yaml_path='BaseReduceRouter', num_part=2, recv_from=['vec_idx', 'doc_idx']))
# then use it for indexing
with flow(backend='process') as fl:
fl.index(bytes_gen=read_flowers(), batch_size=64) 🔰 You can find some resources here to help you getting started quickly:
🙇 Give it a try and we welcome your feedback and contribution. |
@hanxiao i think this is an truly amazing project, so you and your team are the ones to be thanked. Keep up the great work. I was able to successfully reproduce the flower example on a cloud machine using the following setup
note that i had to manually install libsndfile, as otherwise i would get an error when indexing flowers. I wonder, how can i query the cloud machine from my local machine? I couldn't figure this out. |
Hello, I have the same issue with demo-poems-ir. I'd like to reproduce this example because it's connected to my current task.
It looks like result should be delivered to frontend (not to Should I fix it? How can I fix it? For your information Frontend logs:
Thanks in advance |
It looks like problem was in
this argument is not required or might be wrong Next issue with |
I'm running the demo-poems-ir and it seems to be stuck at
Probably something with my setup. Anyone else seen this.
Thanks
The text was updated successfully, but these errors were encountered: