-
Notifications
You must be signed in to change notification settings - Fork 424
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
CI setup that runs tests e2e testing using GPU machines #63
Conversation
.circleci/config.yml
Outdated
export PATH=$HOME/miniconda/bin:$PATH | ||
conda create -y -n habitat python=3.6 | ||
. activate habitat | ||
conda install -y numpy pyyaml scipy ipython mkl mkl-include pytest |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Let's add a conda install -y -c conda-forge ninja
-- This should help with build speed
.circleci/config.yml
Outdated
python examples/example.py --scene data/scene_datasets/habitat-test-scenes/van-gogh-room.glb | ||
export PYTHONPATH=$PYTHONPATH:$(pwd) | ||
./build.sh --headless | ||
pip install -e . |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Possibly bad things will happen as the pip install isn't headless.
pip install -e . | |
HEADLESS=True pip install -e . |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Great to see CI setup landing! 🙂 Left a minor typo comment, otherwise looks good.
.circleci/config.yml
Outdated
sudo apt-get --yes --force-yes install cuda | ||
nvidia-smi | ||
- run: | ||
name: Install habtiat-sim |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
typo: habtiat
-> habitat
b61d14f
to
f016ebb
Compare
|
CI tests passed, merging. |
…ookresearch#63) CI setup that runs tests using GPU machines: Builds and installs habitat-sim with python setup.py install and ./build.sh --headless Runs pytest tests on habitat-sim with testing data Added speed regression test with FPS threshold (900 FPS) , thanks @erikwijmans for advice how to do it in elegant way. Added run of habitat-api tests on master branch. That will guarantee that HSIM changes won't break HAPI Added pytorch installation and running habitat baseline test in prediction mode. That maybe too much of testing, but decided to keep it for now.
Motivation and Context
CI setup that runs tests using GPU machines:
python setup.py install
and./build.sh --headless
pytest
tests on habitat-sim with testing dataHave ideas how to speed up and parallelize jobs. Will follow up in next PRs.
How Has This Been Tested
Tests time estimations:
Types of changes
Checklist