MMF has been tested on Python 3.7+ and PyTorch 1.6. We recommend using a conda environment to install MMF.
Assuming you have conda installed, run:
To install from source do:
MMF can be installed using pip with the following command:
Use this if:
- You are using MMF as a library and not developing inside MMF. Take a look at the extending MMF tutorial.
- You want easy installation and don't care about up-to-date features. Note that pip packages are always outdated relative to installing from source.
Alternatively, to install latest MMF version from GitHub using pip, use
If you are on Windows, run the pip install commands with an extra argument like:
MMF uses pytest for testing. To verify everything and run tests at your end do:
We welcome all contributions to MMF. Have a look at our contributing guidelines to get started.