-
Notifications
You must be signed in to change notification settings - Fork 122
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
thrift.py3.exceptions.TransportError #92
Comments
Hi, that means that the picard backend is either not running (yet) or unresponsive. Does this happen reproducibly? |
Ran into the same issue. I wasn't using the make file but running it with
trace Traceback (most recent call last): |
It happens when I use the UnifiedSKG code to train a t5-large model, and I copy the picard_model_wrapper into the UnifiedSKG code. |
Hi, author here. It is not enough to just copy the picard model wrapper. This wrapper is just one small piece in the picard parsing approach. There are library components and a picard executable as well. In most cases, I recommend using the eval image with your model, that is, rather than trying to take picard and put it somewhere else, bring what you have (e.g. a checkpoint) to this codebase and docker images. For most people, that approach is quicker and easier. |
@david-seekai let me have a look. |
Great thanks I'm using the GKE Container-Optimized OS. https://cloud.google.com/container-optimized-os/docs/concepts/features-and-benefits Let me know if I can help in anyway or if any other info is needed. |
@tscholak yep, I do use the picard eval image as the docker environment. |
I recommend comparing the generated outputs. if they are the same, then the issue is the evaluation. if they are not the same, then something is different about how they are generated. |
Yep, I compared the generated outputs and they are different. |
Hey! I'm reproducibly getting the same error using Any ideas? |
Hello, I fixed this problem by changing time.sleep(1) to 10 in line seq2seq/utils/picard_model_wrapper.py 95. I guess because the child process has not started successfully, the main process connected, so this error will be reported. |
Hi, When I run the 'make eval' command, it comes to the following error.
Do you have any idea to fix it up?
File "/app/t5-unc/utils/picard_model_wrapper.py", line 200, in with_picard
asyncio.run(_init_picard(), debug=False)
File "/opt/conda/lib/python3.7/asyncio/runners.py", line 43, in run
return loop.run_until_complete(main)
File "/opt/conda/lib/python3.7/asyncio/base_events.py", line 587, in run_until_complete
return future.result()
File "/app/t5-unc/utils/picard_model_wrapper.py", line 127, in _init_picard
await _register_schema(db_id=db_id, db_info=db_info, picard_client=client)
File "/app/t5-unc/utils/picard_model_wrapper.py", line 133, in _register_schema
await picard_client.registerSQLSchema(db_id, sql_schema)
thrift.py3.exceptions.TransportError: (<TransportErrorType.UNKNOWN: 0>, 'Channel is !good()', 0, <TransportOptions.0: 0>)
The text was updated successfully, but these errors were encountered: