Skip to content

Quick implementation/experimentation with OpenNMT's CTranslate2 library, primarily meant to just serve as an example of the core setup that is required.

License

Notifications You must be signed in to change notification settings

NM-20/CTranslate2Test

Repository files navigation

CTranslate2Test

Quick implementation/experimentation with OpenNMT's CTranslate2 library, primarily meant to just serve as an example of the core setup that is required.

Compiling

Prerequisites

Ensure you have extracted cuDNN within your CUDA Developer Toolkit installation and that such libraries are within the system PATH, then: git clone --recursive "https://github.com/NM-20/CTranslate2Test.git". The converted model should be placed within the TranslateTest project's "res" directory.

Compile the libraries within externals, ensuring that CTranslate2 is compiled with the following settings: -G "Visual Studio 16 2019" -DOPENMP_RUNTIME=COMP -DWITH_CUDA=ON -DWITH_CUDNN=ON -DWITH_MKL=OFF

From there, you may proceed with building the TranslateTest project in VS 2022.

About

Quick implementation/experimentation with OpenNMT's CTranslate2 library, primarily meant to just serve as an example of the core setup that is required.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published