Skip to content

Fix deprecated functions #32

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 2 commits into from
Apr 16, 2019
Merged

Fix deprecated functions #32

merged 2 commits into from
Apr 16, 2019

Conversation

ClementPinard
Copy link
Contributor

This PR is aimed at using more up to date function and API calls
See #31 for more info.

Side note : Even though pytorch master emits warnings about AT_DISPATCH_FLOATING_TYPES (as far as I understood, it should now be based on input.scalar_type() instead of input.type() ), I didn't upgrade it because it would make it incompatible with pytorch 1.0.1

Clément Pinard added 2 commits April 16, 2019 16:54
* include torch/extension.h instead of torch/torch.h or Aten/Aten.h
* replace all at:: calls to torch::
* dismiss deprecated Variable semantics
* use dtype and device keywords
* add possibility to benchmark with float64
@soumith soumith merged commit 07b1598 into pytorch:master Apr 16, 2019
@soumith
Copy link
Member

soumith commented Apr 16, 2019

thanks!

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.

2 participants