-
Notifications
You must be signed in to change notification settings - Fork 7.4k
Closed
Labels
P1Issue that should be fixed within a few weeksIssue that should be fixed within a few weeksbugSomething that is supposed to be working; but isn'tSomething that is supposed to be working; but isn'tneeds-repro-scriptIssue needs a runnable script to be reproducedIssue needs a runnable script to be reproducedtuneTune-related issuesTune-related issues
Description
Brief setup:
tuning_objective = 'loss_valid'
suggest = OptunaSearch()
suggest = ConcurrencyLimiter(suggest, max_concurrent=4)
schedule = AsyncHyperBandScheduler()
reporter = tune.CLIReporter()
parameter_columns=[...]
metric_columns=[...]
for param in parameter_columns:
reporter.add_parameter_column(param)
for metric in metric_columns:
reporter.add_metric_column(metric)
analysis = tune.run(runner,
metric=tuning_objective,
mode='min',
search_alg=suggest,
scheduler=schedule,
resources_per_trial={'cpu': 1, 'gpu': 1},
num_samples=100,
config=config,
local_dir='./ray_results',
progress_reporter=reporter,
keep_checkpoints_num=3,
checkpoint_score_attr='min-'+str(tuning_objective),
)
This error occurs after the first trial is complete (done: true):
File "/home/user/anaconda3/envs/user/lib/python3.7/site-packages/ray/tune/suggest/optuna.py", line 211, in on_trial_complete
self._storage.set_trial_value(ot_trial_id, result.get(
AttributeError: 'InMemoryStorage' object has no attribute 'set_trial_value'
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
P1Issue that should be fixed within a few weeksIssue that should be fixed within a few weeksbugSomething that is supposed to be working; but isn'tSomething that is supposed to be working; but isn'tneeds-repro-scriptIssue needs a runnable script to be reproducedIssue needs a runnable script to be reproducedtuneTune-related issuesTune-related issues