Skip to content

Conversation

@EscapeZero
Copy link
Contributor

Summary: Ideally I would just use one of the existing preprocessor flags such as FBCODE_CAFFE2, but this implies a whole bunch of other things elsewhere, so it is not really a solution for ovrsource.

Test Plan: CI green, we are able to disable it internally with -DNVALGRIND

Differential Revision: D24227360

@facebook-github-bot
Copy link
Contributor

This pull request was exported from Phabricator. Differential Revision: D24227360

@codecov
Copy link

codecov bot commented Oct 10, 2020

Codecov Report

Merging #46116 into master will decrease coverage by 0.00%.
The diff coverage is n/a.

Impacted file tree graph

@@            Coverage Diff             @@
##           master   #46116      +/-   ##
==========================================
- Coverage   68.26%   68.26%   -0.01%     
==========================================
  Files         410      410              
  Lines       53533    53533              
==========================================
- Hits        36543    36542       -1     
- Misses      16990    16991       +1     
Impacted Files Coverage Δ
torch/testing/_internal/expecttest.py 77.55% <0.00%> (-1.03%) ⬇️

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 31ee5d8...5f781b5. Read the comment docs.

Copy link

@robieta robieta left a comment

Choose a reason for hiding this comment

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

LGTM. Thanks for the fix.

Copy link
Contributor

@malfet malfet left a comment

Choose a reason for hiding this comment

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

Thank you for the patch, but can you please extend it a bit and add a corresponding CMAKE option?

Summary:
Pull Request resolved: pytorch#46116

Ideally I would just use one of the existing preprocessor flags such as `FBCODE_CAFFE2`, but this implies a whole bunch of other things elsewhere, so it is not really a solution for ovrsource.

Test Plan: CI green, we are able to disable it internally with `-DNVALGRIND`

Differential Revision: D24227360

fbshipit-source-id: 2145827bbb1fad22f4885b0c0a64352732c0de14
@facebook-github-bot
Copy link
Contributor

This pull request was exported from Phabricator. Differential Revision: D24227360

@facebook-github-bot
Copy link
Contributor

This pull request has been merged in b1d24dd.

Miriup pushed a commit to Miriup/pytorch-cuda-10.2 that referenced this pull request Dec 9, 2024
Summary:
Pull Request resolved: pytorch#46116

Ideally I would just use one of the existing preprocessor flags such as `FBCODE_CAFFE2`, but this implies a whole bunch of other things elsewhere, so it is not really a solution for ovrsource.

Test Plan: CI green, we are able to disable it internally with `-DNVALGRIND`

Reviewed By: malfet

Differential Revision: D24227360

fbshipit-source-id: 24a3b393cf46d6a16acca0a9ec52610d4bb8704f
(cherry picked from commit b1d24dd)
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.

4 participants