Installing/Upgrading From the PyPI

CPU version

$ pip install malaya

GPU version

$ pip install malaya[gpu]

We recommend to use virtualenv for development.

From Source

Malaya is actively developed on Github.

You can clone the public repo:

git clone

Once you have the source, you can install it into your site-packages with:

python install


Malaya only supported Python 3.6 and above.


Malaya only supported Tensorflow 1.15 and above.

All examples tested on Tensorflow version 1.15.4, 2.4.1 and 2.5.