Skip to content

Conversation

@ssnl
Copy link
Collaborator

@ssnl ssnl commented Apr 17, 2018

  1. Change mentions of Variable to Tensor in doc text and examples
  2. Change tests against Variable to Tensor, e.g. isinstance
  3. Use the new style tensor factory methods.
  4. Update the doc to be more consistent in naming
  5. Add data_parallel functionals docs
  6. Remove a obsolete test that compares blas results when called on Variable and on Tenors
  7. Remove lowercase variable

Test scripts are not completely updated (too many)

Also addresses #6276

@ezyang
Copy link
Contributor

ezyang commented Apr 17, 2018

What are the particular codemods you did?

Copy link
Contributor

@ezyang ezyang left a comment

Choose a reason for hiding this comment

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

I spot checked a few codemods and they looked good. Merge when green, lest we merge conflict soon...

@ssnl
Copy link
Collaborator Author

ssnl commented Apr 17, 2018

@ezyang Thanks. I updated the description.

@ssnl
Copy link
Collaborator Author

ssnl commented Apr 17, 2018

FYI the PyTorch CI build passes. onnx build fails with merge conflicts. I'll rebase and merge when onnx passes.

@ssnl
Copy link
Collaborator Author

ssnl commented Apr 17, 2018

blocked by onnxbot/onnx-fb-universe#1621

@ssnl ssnl merged commit 1c01eab into pytorch:master Apr 18, 2018
@ssnl ssnl deleted the dp_fn branch April 18, 2018 02:07
Jorghi12 pushed a commit to wsttiger/pytorch that referenced this pull request May 10, 2018
* Codemod to update our codebase to 0.4 standard

* Update some of the test scri[ts

* remove Variable in test_clip_grad_value

* fix _symbolic_override_wrapper_maker
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.

2 participants