PR: Add CMake build and function tracing tests (#2577)
* Add CMake build pipeline
* Add CMake build workflow
* Add executable permissions to script
* Install cmake on Windows/MacOS
* Install conda-build before setting up MSVC
* Install PyTorch from nightly
* Do not use conda-build variables
* Add path to CMake
* Install libpng and libjpeg
* Perform make
* Call msbuild on Windows
* Add missing yq
* Use vc_env_helper
* Use string instruction
* Escape configuration option
* Remove configuration flag
* Try to pass -p
* Use caret to escape equal sign
* Escape string option in Windows
* Try to call other bat
* Remove Windows/GPU CMake
* Add tracing cpp test
* Script model instead of tracing it
* Try to register operators manually
* Use manylinux-cuda102
* Activate conda env on Linux
* Build and run sample tracing test
* Add empty echo
* Remove unnecessary register
* Copy headers on Mac
* Revert to 2xlarge
* Include /usr/local/include on Mac
* Install pillow on Windows
* Install future
* Install torchvision on Windows
* Set include flag
* Add torchlib to PATH
* Normalize path via cygpath
* Register ops on Windows
* Minor error correction
* Register CPU/GPU ops on DLL library and register ops via reference
* Install dataclasses
* Install dataclasses using pip
* Address clang formatting issue
* Try to use an actual GPU instance on Linux
* Remove extra environment section
* Declare environment explicitly
* Regenerate
* Pass env variables to Dokcer
* Regenerate circleci
* Test tracing on GPU
* Use GPU medium
* Regenerate
* Use cuda101
* Regenerate
* Do not use pre-trained weights
Avoids having to download pretrained files, which could cause flaky tests
Co-authored-by:
Francisco Massa <fvsmassa@gmail.com>
Showing
packaging/build_cmake.sh
0 → 100755
Please register or sign in to comment