Closed michael-a-green closed 1 year ago
Hi, thanks for using mmf!
Do you mind doing a which pytest
to make sure that your pytest is downloaded in the conda site packages?
Also, please paste the output of: python -m torch.utils.collect_env
for us to better assist you.
~> which pytest
/home/<USERNAME>/anaconda3_2020_07/envs/mmf2_venv/bin/pytest
~> python -m torch.utils.collect_env
Collecting environment information...
PyTorch version: 1.6.0
Is debug build: No
CUDA used to build PyTorch: 10.2
OS: openSUSE Tumbleweed
GCC version: (SUSE Linux) 9.2.1 20200109 [gcc-9-branch revision 280039]
CMake version: version 3.16.2
Python version: 3.7
Is CUDA available: Yes
CUDA runtime version: Could not collect
GPU models and configuration: GPU 0: TITAN RTX
Nvidia driver version: 440.33.01
cuDNN version: Could not collect
Versions of relevant libraries:
[pip3] numpy==1.19.4
[pip3] torch==1.6.0
[pip3] torchtext==0.5.0
[pip3] torchvision==0.7.0
[conda] numpy 1.19.4 pypi_0 pypi
[conda] torch 1.6.0 pypi_0 pypi
[conda] torchtext 0.5.0 pypi_0 pypi
[conda] torchvision 0.7.0 pypi_0 pypi
The error messages might be caused due to platform and GPU differences. Did you try a sample run to see if you can reproduce the results?
The error messages might be caused due to platform and GPU differences. Did you try a sample run to see if you can reproduce the results?
Hi apsdehal,
Not sure what you mean by "sample run." How do I run that?
Looks like your pytest is not installed in the mmf
env, but rather mmf2_venv
env, try install pytest in the mmf
env and run pytest in the mmf
env, and see if the error repros.
The sample run @apsdehal was talking about was probably the first step under here to make sure that mmf runs.
❓ Questions and Help
I setup mmf following the instructions documented here: https://mmf.sh/docs/getting_started/installation/
conda create -n mmf python=3.7
conda activate mmf
git clone https://github.com/facebookresearch/mmf.git
cd mmf
pip install --editable .
I then run the tests with this command:
pytest ./tests/
I get the following assertion errors:
Are these error messages OK? If not, what do I need to do to resolve them? Thank you.
Here's some info on the system I'm using. Please let me know if you need more info:
Full Log is below:
More info: