You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+11Lines changed: 11 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -200,6 +200,17 @@ The typestate analysis is used to enforce that methods on an object are called i
200
200
### Joint Monitoring
201
201
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).
202
202
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
+
203
214
## Contributing
204
215
205
216
This project welcomes contributions and suggestions. Most contributions require you to agree to a
0 commit comments