Skip to content

Commit f24b4f7

Browse files
committed
fix distributed relative path bug (ray 2.10 onwards starts ray in /tmp/ray)
Signed-off-by: Jack Luar <[email protected]>
1 parent 27cfc5f commit f24b4f7

File tree

4 files changed

+154
-89
lines changed

4 files changed

+154
-89
lines changed

tools/AutoTuner/requirements-dev.txt

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -176,7 +176,7 @@ mypy-extensions==1.0.0
176176
# via
177177
# black
178178
# typing-inspect
179-
narwhals==1.26.0
179+
narwhals==1.27.1
180180
# via plotly
181181
networkx==3.4.2
182182
# via
@@ -352,7 +352,7 @@ scikit-learn==1.6.1
352352
# ax-platform
353353
# bayesian-optimization
354354
# gpytorch
355-
scipy==1.15.1
355+
scipy==1.15.2
356356
# via
357357
# ax-platform
358358
# bayesian-optimization
@@ -385,7 +385,7 @@ tensorboard-data-server==0.7.2
385385
# via tensorboard
386386
tensorboardx==2.6.2.2
387387
# via ray
388-
textual==2.0.1
388+
textual==2.0.4
389389
# via memray
390390
threadpoolctl==3.5.0
391391
# via scikit-learn

tools/AutoTuner/requirements.txt

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -170,7 +170,7 @@ multipledispatch==1.0.0
170170
# via botorch
171171
mypy-extensions==1.0.0
172172
# via typing-inspect
173-
narwhals==1.26.0
173+
narwhals==1.27.1
174174
# via plotly
175175
networkx==3.4.2
176176
# via
@@ -342,7 +342,7 @@ scikit-learn==1.6.1
342342
# ax-platform
343343
# bayesian-optimization
344344
# gpytorch
345-
scipy==1.15.1
345+
scipy==1.15.2
346346
# via
347347
# ax-platform
348348
# bayesian-optimization
@@ -375,7 +375,7 @@ tensorboard-data-server==0.7.2
375375
# via tensorboard
376376
tensorboardx==2.6.2.2
377377
# via ray
378-
textual==2.0.1
378+
textual==2.0.4
379379
# via memray
380380
threadpoolctl==3.5.0
381381
# via scikit-learn

tools/AutoTuner/src/autotuner/distributed.py

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -87,9 +87,7 @@ def setup(self, config):
8787
# We create the following directory structure:
8888
# 1/ 2/ 3/ 4/ 5/ 6/
8989
# <repo>/<logs>/<platform>/<design>/<experiment>/<id>/<cwd>
90-
# Run by Ray in directory specified by `local_dir`
91-
repo_dir = os.getcwd() + "/../" * 6
92-
self.repo_dir = os.path.abspath(repo_dir)
90+
self.repo_dir = os.path.abspath(LOCAL_DIR + "/../" * 4)
9391
self.parameters = parse_config(
9492
config=config,
9593
base_dir=self.repo_dir,

0 commit comments

Comments
 (0)