Skip to content

Conversation

@fuzic
Copy link
Contributor

@fuzic fuzic commented Jul 10, 2018

Onnx has ReduceL1 and ReduceL2 operators that would facilitate this, so allow pytorch to export those and allow caffe2 to run them.

I only implemented this on CPU so far.

@soumith
Copy link
Contributor

soumith commented Jul 10, 2018

cc: @bddppq
@fuzic maybe needs a test?

Copy link
Member

@houseroad houseroad left a comment

Choose a reason for hiding this comment

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

@fuzic fuzic force-pushed the export-D8757381 branch from d7de934 to 8f44816 Compare July 12, 2018 01:32
@fuzic fuzic force-pushed the export-D8757381 branch from 8f44816 to 2926a3e Compare July 12, 2018 01:38
@fuzic fuzic force-pushed the export-D8757381 branch from 2926a3e to 1138e38 Compare July 12, 2018 01:46
@fuzic fuzic force-pushed the export-D8757381 branch from 1138e38 to 5b55dbb Compare July 12, 2018 04:05
@fuzic fuzic force-pushed the export-D8757381 branch from 5b55dbb to 58332bb Compare July 13, 2018 00:57
@fuzic fuzic force-pushed the export-D8757381 branch from 58332bb to bfe3479 Compare July 13, 2018 04:50
@fuzic fuzic changed the title Add support for weight_norm in onnx export Add support for .norm() pytorch onnx export and ReduceL1/ReduceL2 caffe2 operators Jul 13, 2018
@houseroad houseroad requested a review from xiaomengy July 13, 2018 17:55
…fe2 operators (pytorch#9299)

Summary:
Pull Request resolved: pytorch#9299

Onnx has ReduceL1 and ReduceL2 operators that would facilitate this, so allow pytorch to export those and allow caffe2 to run them.

I only implemented this on CPU so far.

Differential Revision: D8757381

fbshipit-source-id: 040c5b317d65de4d246f755e224e2ef0cebfc578
@fuzic fuzic force-pushed the export-D8757381 branch from bfe3479 to 4b82e8d Compare July 13, 2018 19:01
@fuzic fuzic deleted the export-D8757381 branch July 16, 2018 18:00
petrex pushed a commit to petrex/pytorch that referenced this pull request Jul 16, 2018
* upstream/master: (24 commits)
  Implement tensor weak references (pytorch#9363)
  Nuke TestCollectEnv (pytorch#9459)
  Add test case for segmentation fault fix in grad_fn (pytorch#9457)
  Add peephole optimization for type_as operators. (pytorch#9316)
  Fix out-of-range error for test_neg (pytorch#9431)
  add depthwise conv support for mkldnn (pytorch#8782)
  Refactor `_log_sum_exp` (pytorch#9173)
  Add ModuleDict and ParameterDict containers (pytorch#8463)
  Introduce SupervisedPtr, delete THAllocator and THCDeviceAllocator (pytorch#9358)
  Introducing IsInf (pytorch#9169)
  add device to CUDAEvent (pytorch#9415)
  Make localScalar error message more intuitive (pytorch#9443)
  Only accept continguous tensors in TopK for cuda (pytorch#9441)
  Add support for .norm() pytorch onnx export and ReduceL1/ReduceL2 caffe2 operators (pytorch#9299)
  Only view() rhs of index_put if we need to (pytorch#9424)
  Add BatchBucketizeOp in caffe2 (pytorch#9385)
  Implementation of Wngrad optimizer caffe2 python wrapper and unit test on least square regression (pytorch#9001)
  Implementation and operator test for Wngrad optimizer (pytorch#8999)
  Fix segmentation fault in grad_fn (pytorch#9292)
  update docs (pytorch#9423)
  ...
goldsborough pushed a commit to goldsborough/pytorch that referenced this pull request Jul 20, 2018
…fe2 operators (pytorch#9299)

Summary:
Pull Request resolved: pytorch#9299

Onnx has ReduceL1 and ReduceL2 operators that would facilitate this, so allow pytorch to export those and allow caffe2 to run them.

I only implemented this on CPU so far.

Reviewed By: pjh5

Differential Revision: D8757381

fbshipit-source-id: 68afc9e2f90042a70929b73ace05a499b5c670c7
jramseyer pushed a commit to jramseyer/pytorch that referenced this pull request Jul 30, 2018
…fe2 operators (pytorch#9299)

Summary:
Pull Request resolved: pytorch#9299

Onnx has ReduceL1 and ReduceL2 operators that would facilitate this, so allow pytorch to export those and allow caffe2 to run them.

I only implemented this on CPU so far.

Reviewed By: pjh5

Differential Revision: D8757381

fbshipit-source-id: 68afc9e2f90042a70929b73ace05a499b5c670c7
goodlux pushed a commit to goodlux/pytorch that referenced this pull request Aug 15, 2018
…fe2 operators (pytorch#9299)

Summary:
Pull Request resolved: pytorch#9299

Onnx has ReduceL1 and ReduceL2 operators that would facilitate this, so allow pytorch to export those and allow caffe2 to run them.

I only implemented this on CPU so far.

Reviewed By: pjh5

Differential Revision: D8757381

fbshipit-source-id: 68afc9e2f90042a70929b73ace05a499b5c670c7
@ezyang ezyang added the merged label Jun 26, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants