Skip to content

Conversation

xuhdev
Copy link
Collaborator

@xuhdev xuhdev commented Feb 5, 2020

They were probably mistakenly added as we do not intend to support Half
on CPUs in general and in these situations Half type would probably be
significantly slower than their float and double counterpart due to the
lack of vectorization and the need of additional casting.

cc @XiaobingSuper

@dr-ci
Copy link

dr-ci bot commented Feb 5, 2020

💊 CircleCI build failures summary and remediations

As of commit 59e5908:

Commit 59e5908 was recently pushed. Waiting for builds...


This comment was automatically generated by Dr. CI (expand for details).Follow this link to opt-out of these comments for your Pull Requests.

Please report bugs/suggestions on the GitHub issue tracker.

This comment has been revised 2 times.

@VitalyFedyunin VitalyFedyunin added the module: bc-breaking Related to a BC-breaking change label Feb 6, 2020
@gchanan
Copy link
Contributor

gchanan commented Feb 7, 2020

so, this was already released in 1.4.0. I don't think the backwards ones matter because you can't invoke them anyway (we can remove them if we want), but probably not worth doing for mse.

@xuhdev
Copy link
Collaborator Author

xuhdev commented Feb 7, 2020

@gchanan OK, I added a warning to the MSE kernel.

They were probably mistakenly added as we do not intend to support Half
on CPUs in general and in these situations Half type would probably be
significantly slower than their float and double counterpart due to the
lack of vectorization and the need of additional casting.
@xuhdev xuhdev requested a review from gchanan February 7, 2020 19:38
Copy link
Contributor

@facebook-github-bot facebook-github-bot left a comment

Choose a reason for hiding this comment

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

@VitalyFedyunin has imported this pull request. If you are a Facebook employee, you can view this diff on Phabricator.

@facebook-github-bot
Copy link
Contributor

@VitalyFedyunin merged this pull request in 45818a3.

@xuhdev xuhdev deleted the cpu/binary/half branch February 11, 2020 22:49
xuhdev added a commit to xuhdev/pytorch that referenced this pull request Feb 11, 2020
…ions on CPU

For reasons similar to pytorch#33021. Note that the support of half type has
not been available in any releases yet.
facebook-github-bot pushed a commit that referenced this pull request Feb 13, 2020
…ions on CPU (#33206)

Summary:
For reasons similar to #33021. Note that the support of half type has
not been available in any releases yet so it should be safe to remove (All forward ones concerning this PR were added in daef363 and 8cb05e7)
Pull Request resolved: #33206

Differential Revision: D19861137

Pulled By: ezyang

fbshipit-source-id: 38a3a398a716a782c26a611c56ddeab7eb7ac79e
ttumiel pushed a commit to ttumiel/pytorch that referenced this pull request Mar 4, 2020
Summary:
They were probably mistakenly added as we do not intend to support Half
on CPUs in general and in these situations Half type would probably be
significantly slower than their float and double counterpart due to the
lack of vectorization and the need of additional casting.

cc XiaobingSuper
Pull Request resolved: pytorch#33021

Differential Revision: D19795152

Pulled By: VitalyFedyunin

fbshipit-source-id: b19796db88880a46557e1b2fd06e584d46093562
ttumiel pushed a commit to ttumiel/pytorch that referenced this pull request Mar 4, 2020
…ions on CPU (pytorch#33206)

Summary:
For reasons similar to pytorch#33021. Note that the support of half type has
not been available in any releases yet so it should be safe to remove (All forward ones concerning this PR were added in daef363 and 8cb05e7)
Pull Request resolved: pytorch#33206

Differential Revision: D19861137

Pulled By: ezyang

fbshipit-source-id: 38a3a398a716a782c26a611c56ddeab7eb7ac79e
@zou3519
Copy link
Contributor

zou3519 commented Mar 27, 2020

@VitalyFedyunin @gchanan This isn't BC-breaking, right? sigmoid_backward_kernel and tanh_backward_kernel can't be accessed directly and we added a warning for MSELoss

@zou3519
Copy link
Contributor

zou3519 commented Apr 9, 2020

Confirmed with @VitalyFedyunin offline that this is not BC breaking

@zou3519 zou3519 removed the module: bc-breaking Related to a BC-breaking change label Apr 9, 2020
malfet added a commit that referenced this pull request Nov 7, 2024
Was added by #33021, but modern CPUs right now are quite capable of handling half precision types

ghstack-source-id: 739b518
Pull Request resolved: #139961
malfet added a commit that referenced this pull request Nov 7, 2024
Was added by #33021, but modern CPUs right now are quite capable of handling half precision types

ghstack-source-id: 739b518
Pull Request resolved: #139961
pytorchmergebot pushed a commit that referenced this pull request Nov 7, 2024
Was added by #33021, but modern CPUs right now are quite capable of handling half precision types.
Alternatively one can guard the warning with `#ifdef x86_64`

Pull Request resolved: #139961
Approved by: https://github.com/jgong5
atalman pushed a commit to atalman/pytorch that referenced this pull request Nov 11, 2024
Was added by pytorch#33021, but modern CPUs right now are quite capable of handling half precision types.
Alternatively one can guard the warning with `#ifdef x86_64`

Pull Request resolved: pytorch#139961
Approved by: https://github.com/jgong5
zero000064 pushed a commit to zero000064/pytorch that referenced this pull request Nov 14, 2024
Was added by pytorch#33021, but modern CPUs right now are quite capable of handling half precision types.
Alternatively one can guard the warning with `#ifdef x86_64`

Pull Request resolved: pytorch#139961
Approved by: https://github.com/jgong5
Ryo-not-rio pushed a commit to Ryo-not-rio/pytorch that referenced this pull request Dec 2, 2024
Was added by pytorch#33021, but modern CPUs right now are quite capable of handling half precision types.
Alternatively one can guard the warning with `#ifdef x86_64`

Pull Request resolved: pytorch#139961
Approved by: https://github.com/jgong5
pobin6 pushed a commit to pobin6/pytorch that referenced this pull request Dec 5, 2024
Was added by pytorch#33021, but modern CPUs right now are quite capable of handling half precision types.
Alternatively one can guard the warning with `#ifdef x86_64`

Pull Request resolved: pytorch#139961
Approved by: https://github.com/jgong5
fmo-mt pushed a commit to fmo-mt/pytorch that referenced this pull request Dec 11, 2024
Was added by pytorch#33021, but modern CPUs right now are quite capable of handling half precision types.
Alternatively one can guard the warning with `#ifdef x86_64`

Pull Request resolved: pytorch#139961
Approved by: https://github.com/jgong5
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.

7 participants