Skip to content
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

Fix AOT bundle CMake build and regression tests #3027

Closed
wants to merge 1 commit into from

Conversation

nickgg
Copy link
Contributor

@nickgg nickgg commented May 31, 2019

Summary: The AOT bundle examples had multiple makefiles, of which the CMake version did not work properly. This fixes the CMakeLists for the two bundle examples (plus the two extra quantized versions) and deletes the extra Makefile.

We did regression test the mnist bundle using the non-CMake makefile, but not resnet50 - I've modified the CI script to test both bundles using the CMakeList version.

Documentation: updated AOT.md to remove references to the Run*Bundle targets which never worked as described and I have removed.

fixes #3013

Test Plan: ran manually, waiting to see if it works in CI.

@nickgg
Copy link
Contributor Author

nickgg commented May 31, 2019

fixed portability of uint64_t printfs in bundle example code

Copy link
Contributor

@jfix71 jfix71 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM, modulo CI working correctly. I'm surprised we were already downloading all of the C2 models. I'm not sure why it's necessary -- perhaps we can just download those we are testing?

@nickgg
Copy link
Contributor Author

nickgg commented May 31, 2019

We download what we're using for the bundles, not 100% sure why we need all models. My guess was because we ran run.sh but looks like we don't so maybe we can remove the model download?

Copy link

@facebook-github-bot facebook-github-bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@nickgg has imported this pull request. If you are a Facebook employee, you can view this diff on Phabricator.

@facebook-github-bot
Copy link

@nickgg merged this pull request in 1af031c.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

AOT Bundles should be regression tested
3 participants