Skip to content

Commit 49d0a9b

Browse files
Update README.md with information about asyncio related error in FAQ
1 parent 022c65e commit 49d0a9b

File tree

1 file changed

+11
-0
lines changed

1 file changed

+11
-0
lines changed

README.md

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -200,6 +200,17 @@ The typestate analysis is used to enforce that methods on an object are called i
200200
### Joint Monitoring
201201
Multiple monitors can be used simultaneously to guide LMs to adhere to multiple properties. Example demonstration with 2 monitors used jointly are present in [tests/monitor_guided_decoding/test_joint_monitors.py](tests/monitor_guided_decoding/test_joint_monitors.py).
202202

203+
## Frequently Asked Questions (FAQ)
204+
### ```asyncio``` related Runtime error when executing the tests for MGD
205+
If you get the following error:
206+
```
207+
RuntimeError: Task <Task pending name='Task-2' coro=<_AsyncGeneratorContextManager.__aenter__() running at
208+
python3.8/contextlib.py:171> cb=[_chain_future.<locals>._call_set_state() at
209+
python3.8/asyncio/futures.py:367]> got Future <Future pending> attached to a different loop python3.8/asyncio/locks.py:309: RuntimeError
210+
```
211+
212+
Please ensure that you create a new environment with Python ```>=3.10```. For further details, please have a look at the [StackOverflow Discussion](https://stackoverflow.com/questions/73599594/asyncio-works-in-python-3-10-but-not-in-python-3-8).
213+
203214
## Contributing
204215

205216
This project welcomes contributions and suggestions. Most contributions require you to agree to a

0 commit comments

Comments
 (0)