Commit Graph

97 Commits

Author SHA1 Message Date
Marcin Junczys-Dowmunt
adba021a5e bump version 2020-03-12 20:49:31 -07:00
Marcin Junczys-Dowmunt
3c7a88f4e9 update changelog and version 2020-03-10 11:34:07 -07:00
Roman Grundkiewicz
aad22c9d09
Add option for printing CMake cached variables (#583)
* Add option --build-info
2020-03-10 10:29:50 -07:00
Marcin Junczys-Dowmunt
f4ea8239c4 sync with internal branch 2020-03-06 20:54:40 -08:00
Marcin Junczys-Dowmunt
bec7e029b1 bump version 2020-03-06 20:46:11 -08:00
Marcin Junczys-Dowmunt
9f29403627 version and changelog 2020-03-06 20:32:30 -08:00
Roman Grundkiewicz
ad28f99ac0
Add --valid-reset-stalled (#587) 2020-01-29 13:08:45 -08:00
Martin Junczys-Dowmunt
b3a23108b4 Merged PR 11188: Handle empty inputs with batch purging
The previous mechanism to remove empty inputs does not play well with batch purging (removal of finished sentences). Now we reuse the batch purging mechanism to get rid of empty inputs by forcing EOS for all beam entries of a batch entry for the corresponding source batch entry. The purging then takes care of the rest. We set the probability to log(1) = 0.
2020-01-17 21:52:33 +00:00
Marcin Junczys-Dowmunt
1f7a63d3ff bump version 2020-01-11 12:31:34 -08:00
Martin Junczys-Dowmunt
164d26cc36 Merged PR 10999: Splitting up add_all.h into *.h, *.cu and *.inc
Splitting up header file into header and *.cu, comes with the price of having to include specializations for combinations of types as for element.inc and add.inc. No code changes otherwise.

Add CMake options to disable specific compute capabilities.

When run with `make -j16` this compiles in about 6 minutes instead of 7 minutes. Selecting only SM70 during compilation brings down the time to 3 minutes.
2020-01-06 19:14:00 +00:00
Martin Junczys-Dowmunt
88d9980589 Merged PR 10996: A number of smaller changes and clean-up
* Downgrade NCCL to 2.3.7 as 2.4.2 is buggy (hangs with larger models)
* Actually enable gradient-checkpointing, previous option was inactive
* Clean-up training-only options that should not be displayed for decoder and scorer
* Re-enable conversion to FP16 if element types are compatible (belong to the same type class)
* A few typos and more verbose log messages.
2020-01-05 23:16:13 +00:00
Roman Grundkiewicz
24f062cd27 Add option to print word-level scores (#501)
* Add printing word level scores

* Add option --no-spm-decode

* Fix precision for word-level scores

* Fix getting the no-spm-decode option

* Update CHANGELOG

* Add comments and refactor

* Print word-level scores next to other scores in an n-best list

* Remove --word-scores from marian-scorer

* Add --no-spm-decode only if compiled with SentencePiece

* Add comments

* Printing word scores before model scores in n-best lists

* Update VERSION

Co-authored-by: Marcin Junczys-Dowmunt <Marcin.JunczysDowmunt@microsoft.com>
2020-01-03 19:10:21 -08:00
Marcin Junczys-Dowmunt
2bd986d8a7 update version and changelog 2019-12-23 12:10:30 -08:00
Martin Junczys-Dowmunt
e0500b20b8 Merged PR 10827: Sequential unlikelihood training and fixed gather operation
This implements Sequential Unlikelihood Training from https://arxiv.org/abs/1908.04319
* implementation as expensive multi-op, special node in-progress.
* fixed gather operator to work in batched cases
2019-12-13 18:55:36 +00:00
Marcin Junczys-Dowmunt
5be8558c35 ammend changelog and bump version 2019-12-12 19:17:16 -08:00
Roman Grundkiewicz
c343ced9e1 Add lexical shortlists to marian-server (#560)
* Add lexical shortlists to marian-server

* Update CHANGELOG
2019-12-05 19:41:36 -08:00
Marcin Junczys-Dowmunt
6224cb16e2 bump patch 2019-12-05 10:44:57 -08:00
Marcin Junczys-Dowmunt
82da7d5219 do not warn for a number of warnings for cpp files from src/3rd_party/.. 2019-12-03 20:32:50 -08:00
Marcin Junczys-Dowmunt
0197b89b43 bump version 2019-11-26 21:24:22 -08:00
Marcin Junczys-Dowmunt
f07042b9c3 bump version based on PRs 2019-11-25 19:20:03 -08:00
Marcin Junczys-Dowmunt
9e090e3472 bump version 2019-11-25 17:49:34 -08:00
Martin Junczys-Dowmunt
93b7ed80fe Merged PR 10553: Fix multiple problems in reduce kernels that occurred during back-prop
This fixes a number of bugs in our GPU reduce-kernels that would manifest mainly for larger matrices and during back-prop. We also drop support for CUDA 8.0 to be able to take advantage of new GPU primitives introduced by NVidia in CUDA 9.0.
2019-11-26 01:48:07 +00:00
Martin Junczys-Dowmunt
189d89e1dd Merged PR 10333: Batch-pruning in beam search
This PR introduces batch-purging in Marian, i.e. whenever a virtual beam becomes inactive (empty) the entire batch entry that corresponds to that beam can be removed from the encoder and decoder neural states. The CPU-side beam search keeps tracks of the hypotheses as before, but needs to perform mappings between original and shifted batch indices.
2019-11-12 05:13:15 +00:00
Martin Junczys-Dowmunt
9353f065f8 Merged PR 10373: Replace IntrusivePtr with std::uniq_ptr in FastOpt
In FastOpt we do not want to use locking during access, but that makes reference counting not thread-safe. We now use std::unique_ptr to const objects or const references everywhere. This fixes random segfaults with multi-GPU training. @TODO: clean-up option merging to make option generally immutable.
2019-11-11 22:04:19 +00:00
Martin Junczys-Dowmunt
5dfd8a7026 Merged PR 10383: Align items while saving at 256-byte boundary
Align items while saving at 256-byte boundary. Maintains binary-compatibility.
2019-11-11 18:56:12 +00:00
Martin Junczys-Dowmunt
233281cc26 Merged PR 10304: Remove naked pointers, add binary read mode
* Remove naked pointers in file_stream.{h,cpp}
* Add binary read mode
2019-11-05 23:18:45 +00:00
Marcin Junczys-Dowmunt
7ba804b20b bump patch version, update changelog 2019-11-05 11:46:43 -08:00
Marcin Junczys-Dowmunt
1abd12520d bump version once more 2019-11-01 16:37:12 -07:00
Marcin Junczys-Dowmunt
54fba7868e update changelog and version 2019-11-01 16:33:29 -07:00
Marcin Junczys-Dowmunt
398ed0c8d2 update version and changelog 2019-10-27 15:02:18 -07:00
Marcin Junczys-Dowmunt
55e3bcfd74 bump patch and changelog 2019-10-26 15:19:01 -07:00
Marcin Junczys-Dowmunt
68f9d90bfa fix changelog 2019-10-26 09:04:18 -07:00
Marcin Junczys-Dowmunt
e375905404 update changelog and version 2019-10-26 08:53:57 -07:00
Marcin Junczys-Dowmunt
ca37cb067a update version and changelog 2019-09-11 14:28:14 -07:00
Marcin Junczys-Dowmunt
446cff8dcf Merge branch 'master' of vs-ssh.visualstudio.com:v3/machinetranslation/Marian/marian-dev 2019-09-10 14:47:58 -07:00
Marcin Junczys-Dowmunt
86c43565f2 update changelog and version 2019-09-10 07:25:05 -07:00
Marcin Junczys-Dowmunt
a7f7f71086 Adapt changelog and version 2019-09-09 16:39:36 -07:00
Marcin Junczys-Dowmunt
789b502ac9 update changelog 2019-09-07 23:05:37 -07:00
Marcin Junczys-Dowmunt
5db4b9eed4 update version 2019-09-04 13:50:39 -07:00
Roman Grundkiewicz
ac22cf56bc Update CHANGELOG and VERSION 2019-08-14 20:02:22 +01:00
Marcin Junczys-Dowmunt
31ca4ac876 update changelog 2019-02-04 23:14:10 -08:00
Marcin Junczys-Dowmunt
2d70ecd787 update changelog 2019-01-29 10:17:18 -08:00
Marcin Junczys-Dowmunt
960a6b3737 update changelog 2019-01-24 18:55:01 -08:00
Marcin Junczys-Dowmunt
2bc18347fa changelog added information about first BERT attempts 2019-01-24 17:22:44 -08:00
Marcin Junczys-Dowmunt
b6d7c56962 bump version number 2018-12-12 17:30:18 -08:00
Marcin Junczys-Dowmunt
96c9325b2f bump to version 1.7.5 2018-12-07 14:46:48 -08:00
Marcin Junczys-Dowmunt
88324fedc4 bump version, add to changelog 2018-12-07 13:39:27 -08:00
Marcin Junczys-Dowmunt
3efcfdf7f4 adjust version 2018-12-05 21:03:05 -08:00
Marcin Junczys-Dowmunt
1714781e65
Update CHANGELOG.md 2018-12-04 08:56:46 -08:00
Marcin Junczys-Dowmunt
8d31737623 fix all warnings 2018-11-28 19:30:27 -08:00