Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Don't use compressed lexical reordering as it breaks testing wasm build: #10

Closed
XapaJIaMnu opened this issue Mar 10, 2021 · 2 comments
Closed

Comments

@XapaJIaMnu
Copy link
Contributor

[2021-03-10 13:57:18] Error: .gz file decompression not supported in decoder-only build of Marian: /mnt/Storage/bergamot-translator/bergamot-translator-tests/models/deen/ende.student.tiny11/lex.s2t.gz
[2021-03-10 13:57:18] Error: Aborted from marian::io::InputFileStream::InputFileStream(const string&) in /mnt/Storage/bergamot-translator/3rd_party/marian-dev/src/common/file_stream.cpp:51
[2021-03-10 13:57:18] Error: .gz file decompression not supported in decoder-only build of Marian: /mnt/Storage/bergamot-translator/bergamot-translator-tests/models/deen/ende.student.tiny11/lex.s2t.gz
Aborted from marian::io::InputFileStream::InputFileStream(const string&) in /mnt/Storage/bergamot-translator/3rd_party/marian-dev/src/common/file_stream.cpp:51
[2021-03-10 13:57:18] Error: .gz file decompression not supported in decoder-only build of Marian: /mnt/Storage/bergamot-translator/bergamot-translator-tests/models/deen/ende.student.tiny11/lex.s2t.gz
Aborted from marian::io::InputFileStream::InputFileStream(const string&) in /mnt/Storage/bergamot-translator/3rd_party/marian-dev/src/common/file_stream.cpp:51
[2021-03-10 13:57:18] Error: .gz file decompression not supported in decoder-only build of Marian: /mnt/Storage/bergamot-translator/bergamot-translator-tests/models/deen/ende.student.tiny11/lex.s2t.gz
Aborted from marian::io::InputFileStream::InputFileStream(const string&) in /mnt/Storage/bergamot-translator/3rd_party/marian-dev/src/common/file_stream.cpp:51

The solution is to add gunzip lex.s2t.gz and change the path that loads the shortlist

@jerinphilip
Copy link
Contributor

Oh, linking: browsermt/marian-dev#24 (comment)

The browser executable doesn't need gzip support and Abhishek is just trying to cut dependencies out.

I question whether DECODER_ONLY is the right flag to use for this though, since a decoder-only executable can and should > > support gzipped models outside of the narrow browser context.

@jerinphilip
Copy link
Contributor

Closing. uncompressed is now default.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants