This module provides API that allows generating Russian Proverbs with the power of AI.
For Windows builds:
In the current version we use Python 3.10.4, Tensorflow 2.3.1 and CUDA 10.1.
-
Python 3.10.x x64 (tested with Python 3.10.4x64).
-
Install dependencies:
2.1 Install dependencies and virtual env:
poetry install
.2.2 Optionally install and configure CUDA support.
-
Download CUDA Toolkit and unpack into e.g.
D:\DevTools\cuda\v10.1
. -
Download matching cuDNN version (e.g. v7.6.5 for CUDA 10.1) and unpack under the versioned CUDA folder, e.g.
D:\DevTools\cuda\v10.1\cudnn
. -
Add CUDA paths to environment variables and
PATH
:Create
CUDA_HOME
andCUDA_PATHS
env variables with the following values:SET CUDA_HOME=D:\DevTools\cuda\v10.1 SET CUDA_PATHS=%CUDA_HOME%\bin;%CUDA_HOME%\include;%CUDA_HOME%\extras;%CUDA_HOME%\libnvvp;%CUDA_HOME%\cudnn\bin;
Add
CUDA_PATHS
toPATH
:SET PATH=%CUDA_PATHS%;%PATH%
.