Skip to content

Commit

Permalink
removed samplesCommon::setAllTensorScales()
Browse files Browse the repository at this point in the history
updated version to 0.9.6
  • Loading branch information
QueensGambit committed Oct 15, 2021
1 parent 4fe9d24 commit f7d472a
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion engine/src/constants.h
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ const string engineName = "OpenSpielAra";
const string engineName = "ClassicAra";
#endif

const string engineVersion = "0.9.5.post0";
const string engineVersion = "0.9.6";
#ifdef MODE_CRAZYHOUSE
const string engineAuthors = "Johannes Czech, Moritz Willig, Alena Beyer and CrazyAra developers (see AUTHORS file)";
#elif defined MODE_LICHESS
Expand Down
2 changes: 1 addition & 1 deletion engine/src/nn/tensorrtapi.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -288,7 +288,7 @@ void TensorrtAPI::set_config_settings(SampleUniquePtr<nvinfer1::IBuilderConfig>&
calibrator.reset(new Int8EntropyCalibrator2<ChessBatchStream>(*(dynamic_cast<ChessBatchStream*>(calibrationStream.get())), 0, "model", "data"));
#endif
config->setInt8Calibrator(calibrator.get());
samplesCommon::setAllTensorScales(network.get(), 127.0f, 127.0f);
// samplesCommon::setAllTensorScales(network.get(), 127.0f, 127.0f); -> unavailable for TensorRT >= 8.2.0.6
break;
}
}
Expand Down

0 comments on commit f7d472a

Please sign in to comment.