Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/marian-nmt/marian.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/gpu/decoder/ape_penalty.cu2
-rw-r--r--src/gpu/decoder/encoder_decoder.cu2
2 files changed, 2 insertions, 2 deletions
diff --git a/src/gpu/decoder/ape_penalty.cu b/src/gpu/decoder/ape_penalty.cu
index 2f17cd23..a912bd36 100644
--- a/src/gpu/decoder/ape_penalty.cu
+++ b/src/gpu/decoder/ape_penalty.cu
@@ -75,7 +75,7 @@ void ApePenaltyLoader::Load() {
penalties_.resize(tvcb.size(), -1.0);
if(Has("path")) {
- LOG(info) << "Loading APE penalties from " << Get<std::string>("path");
+ LOG(info, "Loading APE penalties from {}",Get<std::string>("path"));
YAML::Node penalties = YAML::Load(InputFileStream(Get<std::string>("path")));
for(auto&& pair : penalties) {
std::string entry = pair.first.as<std::string>();
diff --git a/src/gpu/decoder/encoder_decoder.cu b/src/gpu/decoder/encoder_decoder.cu
index da659f23..ef42aa01 100644
--- a/src/gpu/decoder/encoder_decoder.cu
+++ b/src/gpu/decoder/encoder_decoder.cu
@@ -141,7 +141,7 @@ void EncoderDecoderLoader::Load(const God &god) {
for(auto d : devices) {
devicePool.enqueue([d, &path, this] {
- LOG(info, "Loading model {} onto gpu", path, d);
+ LOG(info, "Loading model {} onto gpu {}", path, d);
HANDLE_ERROR(cudaSetDevice(d));
weights_[d].reset(new Weights(path, d));
});