-
Notifications
You must be signed in to change notification settings - Fork 209
Error while running examples on README #248
Comments
Hi, 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. |
Hi @hanxiao , Thanks for this great contribution. I was running the very initial sample (flower classification via query).
Some sort of arg error in yml file? is it that i missed to install some packages? because i just install with |
opps, my bad. I was running under different repo, so it couldn't find the yml files under yaml directory. |
I am trying to run GNES locally on my Linux machine. However, when I run
bash run.sh
, I received the following errors.E:EncoderService:[bas:run:305]:could not determine a constructor for the tag '!GPT2Encoder'
in "gpt2.yml", line 3, column 5
Namely, there is something wrong with gpt2.yml. I replaced the value of model_path with a real path to a downloaded GPT2 model, but it still did not work.
I installed gnes and also was running the docker service. Is there anything else we need to do to get it working? Thanks!
The text was updated successfully, but these errors were encountered: