Skip to content

Commit 21dab8b

Browse files
committed
adding address to ray.init()
1 parent 8c2e044 commit 21dab8b

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

‎modules/api/ray.py‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010
#ray.init(os.environ.get("RAY_HEAD_ADDRESS", ""))
1111
#ray.init("ray://localhost:10001")
1212
if "RAY_HEAD_ADDRESS" in os.environ:
13-
ray.init(os.environ.get("RAY_HEAD_ADDRESS"))
13+
ray.init(address=os.environ.get("RAY_HEAD_ADDRESS"))
1414
else:
1515
ray.init()
1616

‎webui-user.sh‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@
4141
#export BLIP_COMMIT_HASH=""
4242

4343
# Uncomment to enable accelerated launch
44-
export ACCELERATE="True"
44+
#export ACCELERATE="True"
4545

4646
# Uncomment to disable TCMalloc
4747
#export NO_TCMALLOC="True"

0 commit comments

Comments
 (0)