Skip to content

Commit

Permalink
update changelog
Browse files Browse the repository at this point in the history
  • Loading branch information
emjotde committed Nov 21, 2017
1 parent f6792e3 commit e378a76
Show file tree
Hide file tree
Showing 4 changed files with 9 additions and 3 deletions.
7 changes: 6 additions & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down
2 changes: 1 addition & 1 deletion CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -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")
Expand Down
2 changes: 1 addition & 1 deletion src/common/config_parser.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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);

Expand Down
1 change: 1 addition & 0 deletions src/training/validator.h
Original file line number Diff line number Diff line change
Expand Up @@ -58,6 +58,7 @@ class Validator : public ValidatorBase {
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");
Expand Down

0 comments on commit e378a76

Please sign in to comment.