update changelog

This commit is contained in:
Marcin Junczys-Dowmunt 2017-11-21 09:45:46 +00:00
parent f6792e3f49
commit e378a764ce
4 changed files with 9 additions and 3 deletions

View File

@ -6,9 +6,14 @@ The format is based on [Keep a Changelog](http://keepachangelog.com/en/1.0.0/)
and this project adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0.html).
## [Unreleased]
- Added support for CUBLAS_TENSOR_OP_MATH mode for cublas in cuda 9.0
## [1.1.0] - 2017-11-21
### Added
- Batched translation for all model types, significant translation speed-up
- Batched translation during validation with translation
- `--maxi-batch-sort` option for `marian-decoder`
- Support for CUBLAS_TENSOR_OP_MATH mode for cublas in cuda 9.0
## [1.0.0] - 2017-11-13

View File

@ -27,7 +27,7 @@ set(CMAKE_CXX_FLAGS ${CMAKE_CXX_FLAGS_RELEASE})
# Find packages
find_package(CUDA "8.0" REQUIRED)
if(CUDA_FOUND)
set(EXT_LIBS ${EXT_LIBS} ${CUDA_curand_LIBRARY} ${CUDA_cusparse_LIBRARY})
set(EXT_LIBS ${EXT_LIBS} ${CUDA_curand_LIBRARY} ${CUDA_cusparse_LIBRARY} tcmalloc_minimal)
endif(CUDA_FOUND)
if (CMAKE_BUILD_TYPE STREQUAL "Debug")

View File

@ -804,7 +804,7 @@ void ConfigParser::parseOptions(int argc, char** argv, bool doValidate) {
SET_OPTION("mini-batch", int);
SET_OPTION("maxi-batch", int);
if(mode_ == ConfigMode::training)
if(mode_ == ConfigMode::training || mode_ == ConfigMode::translating)
SET_OPTION("maxi-batch-sort", std::string);
SET_OPTION("max-length", size_t);

View File

@ -58,6 +58,7 @@ public:
opts->set("max-length", options_->get<size_t>("valid-max-length"));
if(options_->has("valid-mini-batch"))
opts->set("mini-batch", options_->get<size_t>("valid-mini-batch"));
opts->set("mini-batch-sort", "src");
// Create corpus
auto validPaths = options_->get<std::vector<std::string>>("valid-sets");