• Edgar Andrés Margffoy Tuay's avatar
    PR: Add CMake build and function tracing tests (#2577) · a075d629
    Edgar Andrés Margffoy Tuay authored
    
    
    * 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: default avatarFrancisco Massa <fvsmassa@gmail.com>
    a075d629
vision_cpu.h 3.25 KB