Skip to content

Conversation

@virtan
Copy link
Contributor

@virtan virtan commented Jul 26, 2018

No description provided.


#define DELEGATE_INV_FUNCTION(T) \
template <> \
void Inv<T, CPUContext>(const int N, const T* x, T* y, CPUContext*) { \

This comment was marked as off-topic.

This comment was marked as off-topic.

Argument scale_arg;
scale_arg.set_name("scale");
scale_arg.set_f(0.5);
return std::vector<OperatorDef>{CreateOperatorDef(

This comment was marked as off-topic.

This comment was marked as off-topic.

This comment was marked as off-topic.

@bddppq
Copy link
Contributor

bddppq commented Jul 26, 2018

@pytorchbot test this please

@virtan
Copy link
Contributor Author

virtan commented Jul 26, 2018

I found a problem with the test and working on it.

@ezyang
Copy link
Contributor

ezyang commented Jul 27, 2018

@pytorchbot retest this please

@bddppq bddppq self-requested a review July 27, 2018 08:00
Copy link
Contributor

@bddppq bddppq left a comment

Choose a reason for hiding this comment

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

re. the build error in pr/caffe2-py2-clang3.8-rocm1.7.1-ubuntu16.04-test, you would also need to add the math::Inv functions in caffe2/utils/hip/math_hip.cc

04:54:57 ../lib/libcaffe2_hip.so: undefined reference to `void caffe2::math::Inv<float, caffe2::HIPContext>(int, float const*, float*, caffe2::HIPContext*)'


#define DELEGATE_INV_FUNCTION(T) \
template <> \
void Inv<T, CPUContext>(const int N, const T* x, T* y, CPUContext*) { \

This comment was marked as off-topic.

This comment was marked as off-topic.

@xiaomengy
Copy link
Contributor

BTW, we should create an internal diff, right?

@virtan
Copy link
Contributor Author

virtan commented Jul 27, 2018

Thank you. Yes, I'll create it.

@xiaomengy
Copy link
Contributor

You can just use "Import to Phabricator" button. Once internal tests passed, you may try to land it internally. And then the oss pr will be merged automatically.

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.

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

jramseyer pushed a commit to jramseyer/pytorch that referenced this pull request Jul 30, 2018
Summary: Pull Request resolved: pytorch#9908

Differential Revision: D9035809

Pulled By: virtan

fbshipit-source-id: bce1db46fd55faeeab18a3b266d25c8beeb08df7
goodlux pushed a commit to goodlux/pytorch that referenced this pull request Aug 15, 2018
Summary: Pull Request resolved: pytorch#9908

Differential Revision: D9035809

Pulled By: virtan

fbshipit-source-id: bce1db46fd55faeeab18a3b266d25c8beeb08df7
@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.

5 participants