mirror of
https://github.com/wassname/ray.git
synced 2026-06-29 07:23:55 +08:00
[Multi-tenancy] Delete flag enable_multi_tenancy and remove old code path (#10573)
This commit is contained in:
@@ -1,5 +1,6 @@
|
||||
import argparse
|
||||
import logging
|
||||
import sys
|
||||
import time
|
||||
|
||||
import ray
|
||||
@@ -65,7 +66,7 @@ if __name__ == "__main__":
|
||||
args = parser.parse_args()
|
||||
titles_file = str(args.titles_file)
|
||||
|
||||
ray.init(_load_code_from_local=True)
|
||||
ray.init(job_config=ray.job_config.JobConfig(code_search_path=sys.path))
|
||||
|
||||
ctx = StreamingContext.Builder() \
|
||||
.option(Config.CHANNEL_TYPE, Config.NATIVE_CHANNEL) \
|
||||
|
||||
Reference in New Issue
Block a user