1. 06 Sep, 2019 2 commits
  2. 05 Sep, 2019 7 commits
    • Amy Zhuang's avatar
      Use mkl-dnn v1.0 or v0.x depending on compilation flag. (#3227) · e26d602a
      Amy Zhuang authored
      * Use mkl-dnn v1.0 or v0.x depending on compilation flag.
      
      * Change cpu builder files.
      
      * Modify cmake files.
      
      Use mkldnn-v1.0 for DEX if NGRAPH_USE_MKLDNN_V1 is set to true, otherwise use mkldnn-v0.x.
      
      CODEGEN only builds with mkldnn-v1.0.
      
      * Implement mkldnn utility functions for mkldnn-v1.0.
      
      User mode scratchpad management for mkldnn-v1.0.
      
      * Query scratchpad size and allocate a buffer of max scratchpad size.
      
      * Do not create mkldnn::memory when query scratchpad size of Reorder.
      
      Modify mkldnn utility functions.
      
      Fix convolution_forward_init and inner_product_forward_init.
      
      Modify CPURuntimeContextCG.
      
      * Add user mode scratchpad to CODEGEN.
      
      * mkldnn-v1.0 splits LSTM states. Update Rnn/Lstm Op accordingly.
      
      * Address PR feedback: use MKLDNN_MAJOR_VERSION.
      
      * Modify cpu rnn fusion pass and related unit tests.
      
      * Change Rnn/Lstm arg types to Output.
      
      * Fix Lstm for CODEGEN.
      
      * Set native layout for Slice when input format is blocked.
      
      * Do not print scratchpad size.
      
      * Change external_mkldnn_v1.cmake.
      
      Fix a typo.
      
      * Add mkldnn_v1.patch for mkldnn-v1.0.
      
      * Address PR feedback.
      
      * Define MKLDNN_ERROR_MESSAGE.
      
      * Address PR feedback: change to NGRAPH_USE_LEGACY_MKLDNN.
      
      * Fix a bug.
      
      * Remove unused variable.
      
      * Fix compiler warnings.
      
      * Fix a bug for CODEGEN.
      
      * Move variable only needed for mkldnn-v0.20 inside #if.
      
      * Remove unused variables.
      
      * No in place Reshape rotation for blocked data layout with mkldnn-v1.0.
      
      * Modify mkldnn_v1.patch to force mkldnn to link to libiomp.
      
      * Fix style.
      
      * Change path for find_library and find_file.
      
      * Do not insert ConvertLayout before/after Quantize/DeQuantize for blocked data layout.
      
      * Write strides information to visualized graph.
      
      * Move variables only needed for mkldnn-v0 under #if.
      
      * Move more variables in rnn fusion.
      
      * Fix ConvertLayout constant folding for mkldnn-v1.0.
      e26d602a
    • Robert Kimball's avatar
      Add missing includes to power.hpp (#3567) · cc1daca8
      Robert Kimball authored
      * Add missing includes
      
      * style
      cc1daca8
    • Nagy Mostafa's avatar
      [MLIR] Clear SubGraph construction info (#3559) · bbe4735e
      Nagy Mostafa authored
      * Don't hold to shared pointers after sub-graph extraction pass is done
      
      * style
      bbe4735e
    • Adam Procter's avatar
      Add replace_nodes function (#3468) · 0a6f5bca
      Adam Procter authored
      * Add replace_by_friendly_name function
      
      * Add replace_nodes function
      
      * Nuke replace_by_friendly_name
      
      * Modify replace_nodes to handle parameter replacement
      0a6f5bca
    • Łukasz Durka's avatar
      8e7d10df
    • Tomasz Socha's avatar
      [FUSED] Add new MatMul fused operator (#3330) · 7df89837
      Tomasz Socha authored
      * Move required reshape helpers to builders
      
      * Remove warning from matmul_factory
      
      * Rid off onnx dependency from matmul factory
      
      * Move malmul_factory into builders
      
      * Add implementation of fused MatMul
      
      * Add MatMul to serializer
      
      * Add type_prop tests
      
      * Remove reference.
      
      * Make more metods private
      
      * Use protected instead of private
      
      * Fix compilation issues
      
      * Change construction of matmul_factory in matmul op
      
      * Add MatMul operator into switch of is_supported_impl function
      
      * Change transpose flags from int to bool
      
      * Review Fix I
      
      * Update MatMul op
      
      * Use OutputVector instead of NodeVector in MatmulFactories
      
      * Fix usage of OutputVector
      
      * Convert more shared_ptrs to Outputs
      
      * Fix comments after merge
      
      * Fix comments after merge II
      
      * Fix comments after merge III
      7df89837
    • Denise Kutnick's avatar
      22af2395
  3. 04 Sep, 2019 7 commits
    • Robert Kimball's avatar
      Performance optimize reference TopK op (#3552) · 78c145e6
      Robert Kimball authored
      * wip
      
      * r50 test
      
      * update test
      
      * R50 topk calls
      
      * Faster topk
      
      * Finish topk implementation
      
      * cleanup
      
      * checkpoint
      
      * new test working
      
      * more unit test
      
      * style
      
      * wip
      
      * fix tests
      
      * add needed header
      
      * Add new TopK test to plaid manifest
      
      * Fix windows build error:
      78c145e6
    • Amy Zhuang's avatar
      Fold Constant + ConvertLayout to reduce memory footprint. (#3465) · 429776d2
      Amy Zhuang authored
      * Fold Constant + ConvertLayout.
      
      * Address PR Feedback.
      
      * No folding if data layout is padded.
      
      * Add unit test.
      
      * Fix style error.
      429776d2
    • Michał Karzyński's avatar
      Add support for operator sets and Softmax:1 (#3420) · d218ccf9
      Michał Karzyński authored
      * Add opset_version field to Node
      
      * Add opset version aliases to Softmax
      
      * Add op::set1::Softmax operator
      
      * Disable opset 1 ops in INTERPRETER
      
      * Add serializer support for Softmax opset 1
      
      * Opset1Transformation pass
      
      * Added unit tests to softmax pass
      
      * Code refactoring
      
      * Added missing virtual to set_opset_version
      
      * Clang styles applied
      
      * Update src/ngraph/pass/opset1_transform.cpp
      Co-Authored-By: 's avatarAdam Procter <adam.m.procter@intel.com>
      
      * Part.1 Code review remarks introduced
      
      * Part.2 Code review remarks introduced
      
      * Changed opset_version to op_version
      
      * Code review remarks introduced
      
      * Code review remarks introduced
      
      * Set Op as base class for Softmax instead of UnaryElementwiseArithmetic
      
      * Fixed unit tests
      
      * v1::Softmax::generate_adjoints mark temporarily as not supported
      
      * Fix CI. Part.2
      
      * Fix CI. Part.3
      
      * Code review remarks introduced
      
      * Rename Opset1Transformation to Opset1Upgrade
      
      * Fixed clag style problem with enum switch
      
      * Fixes clang compilator error
      
      * Removed unused foward declaration
      
      * Code review remarks introduced
      
      * Added checking if input rank is static
      d218ccf9
    • Amy Zhuang's avatar
    • Ewa Tusień's avatar
      [Py] Added Dequantize, Quantize, Quantized Convolution, Quantized Dot… (#3527) · 7809effd
      Ewa Tusień authored
      * [Py] Added Dequantize, Quantize, Quantized Convolution, Quantized Dot operators to Python API.
      
      * [Py] Removed unnecess import.
      
      * [Py] Changed docstring.
      Co-Authored-By: 's avatarTomasz Socha <tomasz.socha@intel.com>
      
      * [Py] Changed docstring.
      
      * [Py] Changed docstring.
      
      * [Py] Added missed imports.
      7809effd
    • Denise Kutnick's avatar
      Clean up and triage unit tests (#3546) · 4954b8d5
      Denise Kutnick authored
      * clean up and triage unit tests
      
      * add back in onnx and closeness fails
      
      * Update unit_test.manifest
      4954b8d5
    • Diego Caballero's avatar
      [MLIR] Clean up MLIR related CMake files (#3541) · f6425cbd
      Diego Caballero authored
      * [MLIR] Move MLIR compiler files to contrib/mlir/compiler
      
      We'll add contrib/mlir/tools directory in subsequent PRs for ngrpah-opt
      and other tools.
      
      * [MLIR] Clean up MLIR related CMake files
      
      This PR prepares the introduction of src/contrib/mlir/tools and LIT testing by
      refactoring and cleaning up the common part with src/contrib/mlir/compiler:
      
      - Common code for src/contrib/mlir/tools and src/contrib/mlir/compiler is
      moved to src/contrib/mlir/CMakeList.txt.
      - More generic code, common for src/contrib/mlir/* and LIT configuration
      files, is moved to cmake/external_mlir.cmake with pre-existing similar code.
      - Redundant environment var LLVM_DIR is removed in favor of LLVM_CMAKE_PATH.
      - Redundant cmake messages are removed.
      
      * Replacing LLVM_CMAKE_PATH with LLVM_DIR
      f6425cbd
  4. 03 Sep, 2019 1 commit
  5. 30 Aug, 2019 9 commits
  6. 29 Aug, 2019 5 commits
    • Scott Cyphers's avatar
      Cyphers/from25 (#3545) · 7c540e52
      Scott Cyphers authored
      * Fix crash when NGRAPH_ENABLE_{VISUALIZE,SERIALIZE}_TRACING=1
      
      * Initialization for kw (#3413)
      
      * Fix sum reference to handle corner cases with +-inf (#3412)
      
      * Fix sum reference to handle corner cases with +-inf
      
      * Review comments, and try to make Windows happy
      
      * Update GPU unit_test.manifest
      
      * More template grindery, to make macOS happy
      
      * Update jenkins-trigger.groovy (#3428)
      
      * Cyphers/exec can create tensors (#3445)
      
      * Add method to check if an Executable can create tensors
      
      * Add a Backend check to see if Executable can create tensors
      
      * Update per review comment
      
      * style
      
      * Possible fix so that backend does not keep holding on to the dummy ng_exec
      
      * Separate dynamic loading from static linking (#3456)
      
      * Separate dynamic loading from static linking
      
      * Missed find_my_pathname
      
      * Update jenkins-trigger.groovy (#3518)
      
      * add rank id to trace file name (#3525)
      7c540e52
    • pawelpiotrowicz's avatar
      no_fork : Remove allocation for empty vector (#3544) · 49a0ae55
      pawelpiotrowicz authored
      * no_fork : Remove allication for empty vector
      
      * style
      49a0ae55
    • pawelpiotrowicz's avatar
      no_fork: Performance issue vector of string to T (#3542) · d6f933d5
      pawelpiotrowicz authored
      * no_fork: Performance issue vector of string to T
      
      * style
      d6f933d5
    • Nagy Mostafa's avatar
      [MLIR] Fixes for cpu_fusion.validate_fuse_gru_inputs (#3511) · ef58667f
      Nagy Mostafa authored
      * WIP
      
      * Fix incorrect CK output adjustment
      
      * Bug fix and enroce sanity check
      
      * Change cycle search depth, and fix sanity check
      
      * cpu_fusion.validate_fuse_gru_inputs passes.
      
      * Fix as_single_output to be able to always create a GOE
      
      * minor fix. style-apply
      
      * Clean up debug msgs
      
      * Switch to backward cycle check
      
      * Enable failing test
      
      * PR fixes
      
      * Address feedback: Add fwd cycle checks. Make cycle checking depth configurable
      ef58667f
    • Scott Cyphers's avatar
      a1f3202c
  7. 28 Aug, 2019 7 commits
  8. 27 Aug, 2019 2 commits
    • Adam Procter's avatar
      clang-format comments: /src/ngraph/op (#3509) · cdfd67cd
      Adam Procter authored
      * New clang-format rules for src/ngraph/op/util
      
      * Restore root .clang-format
      
      * Remove redundant .clang-formats
      
      * Revert "Remove redundant .clang-formats"
      
      This reverts commit e158df1e507570b55348ce326fd7e8b4ae819f36.
      
      * Remove redundant .clang-formats
      
      * New clang-format rules for src/ngraph/op/fused
      
      * New clang-format rules for src/ngraph/op/experimental
      
      * New clang-format rules for src/ngraph/op/.
      cdfd67cd
    • Adam Procter's avatar
      clang-format comments: /src/ngraph/frontend (#3503) · afa062d5
      Adam Procter authored
      * New clang-format rules for src/ngraph/frontend
      
      * Remove now-redundant .clang-format
      afa062d5