Browse Source

update log

tags/v1.6.0
luoyang 4 years ago
parent
commit
f3e1794a74
2 changed files with 3 additions and 2 deletions
  1. +3
    -1
      mindspore/ccsrc/minddata/dataset/engine/perf/auto_tune.cc
  2. +0
    -1
      tests/ut/python/dataset/test_autotune.py

+ 3
- 1
mindspore/ccsrc/minddata/dataset/engine/perf/auto_tune.cc View File

@@ -184,7 +184,9 @@ Status AutoTune::RunIteration() {
// Close AutoTune in Non-sink mode, since it's not ready for test.
if (!IsSink()) {
MS_LOG(ERROR) << "Dataset AutoTune doesn't support non-sink pipeline.";
return Status(StatusCode::kMDUnexpectedError, "Dataset AutoTune doesn't support non-sink pipeline.");
return Status(StatusCode::kMDUnexpectedError,
"Dataset AutoTune hasn't been supported in non-sink mode(dataset_sink_mode=False), check training "
"config or set dataset_sink_mode to True.");
}
// Run every epoch
if ((profiling_manager_->GetNumOfProfiledEpochs()) >= cur_epoch_) {


+ 0
- 1
tests/ut/python/dataset/test_autotune.py View File

@@ -232,4 +232,3 @@ class TestAutotuneWithProfiler:

with pytest.raises(ValueError):
ds.config.set_autotune_interval(-999)


Loading…
Cancel
Save