mirror of
https://github.com/wassname/ray.git
synced 2026-08-11 11:24:51 +08:00
[Asyncio] Remove async init legacy code (#8177)
* [Asyncio] Remove async init legacy code * Fix places that call async_init
This commit is contained in:
@@ -113,8 +113,8 @@ async def test_asyncio_get(ray_start_regular_shared, event_loop):
|
||||
loop.set_debug(True)
|
||||
|
||||
# This is needed for async plasma
|
||||
from ray.experimental.async_api import _async_init
|
||||
await _async_init()
|
||||
from ray.experimental.async_api import init
|
||||
init()
|
||||
|
||||
# Test Async Plasma
|
||||
@ray.remote
|
||||
|
||||
Reference in New Issue
Block a user