Skip to content

Conversation

ezyang
Copy link
Contributor

@ezyang ezyang commented Jan 28, 2020

Stack from ghstack:

VariableTensorId is the only key with this treatment today,
but BackendSelect and CompoundOp are coming soon.

Signed-off-by: Edward Z. Yang ezyang@fb.com

Differential Revision: D19628091

VariableTensorId is the only key with this treatment today,
but BackendSelect and CompoundOp are coming soon.

Signed-off-by: Edward Z. Yang <ezyang@fb.com>

[ghstack-poisoned]
ezyang added a commit that referenced this pull request Jan 28, 2020
VariableTensorId is the only key with this treatment today,
but BackendSelect and CompoundOp are coming soon.

Signed-off-by: Edward Z. Yang <ezyang@fb.com>

ghstack-source-id: 203c7d6
Pull Request resolved: #32734
@ezyang ezyang requested review from izdeby and smessmer January 28, 2020 23:13
@kostmo
Copy link
Member

kostmo commented Jan 29, 2020

💊 CircleCI build failures summary and remediations

As of commit fd13557:

  • 1/1 failures introduced in this PR

Detailed failure analysis

One may explore the probable reasons each build failed interactively on the Dr. CI website.

🕵️ 1 new failure recognized by patterns

The following build failures do not appear to be due to upstream breakage:

See CircleCI build pytorch_macos_10_13_py3_test (1/1)

Step: "Test" (full log | pattern match details)

Jan 30 09:19:53 RuntimeError: distributed/test_distributed failed!
Jan 30 09:19:53 Ran 94 tests in 345.913s 
Jan 30 09:19:53  
Jan 30 09:19:53 FAILED (failures=1, skipped=20) 
Jan 30 09:19:53  
Jan 30 09:19:53 Generating XML reports... 
Jan 30 09:19:53 Traceback (most recent call last): 
Jan 30 09:19:53   File "test/run_test.py", line 457, in <module> 
Jan 30 09:19:53     main() 
Jan 30 09:19:53   File "test/run_test.py", line 450, in main 
Jan 30 09:19:53     raise RuntimeError(message) 
Jan 30 09:19:53 RuntimeError: distributed/test_distributed failed! 
Jan 30 09:19:53 + cleanup 
Jan 30 09:19:53 + retcode=1 
Jan 30 09:19:53 + set +x 

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 11 times.

@izdeby
Copy link
Contributor

izdeby commented Jan 29, 2020

This PR made me think of a centralized place for fallback registrations as the number of DispatchKeys that are available is growing. Do we need a mechanism like that? OR its too soon to make this call as there are only 2 keys like that - variable and backendSelect?

@ezyang
Copy link
Contributor Author

ezyang commented Jan 29, 2020

This PR made me think of a centralized place for fallback registrations as the number of DispatchKeys that are available is growing. Do we need a mechanism like that? OR its too soon to make this call as there are only 2 keys like that - variable and backendSelect?

Yeah, I dunno. It's not strictly necessary to centralize registrations; e.g., CPU/CUDA are registered in CPUType/CUDAType, and then Variable is registered in VariableType. But I agree it's not that clear what the most obvious place to put registrations is.

VariableTensorId is the only key with this treatment today,
but BackendSelect and CompoundOp are coming soon.

Signed-off-by: Edward Z. Yang <ezyang@fb.com>

Differential Revision: [D19628091](https://our.internmc.facebook.com/intern/diff/D19628091)

[ghstack-poisoned]
VariableTensorId is the only key with this treatment today,
but BackendSelect and CompoundOp are coming soon.

Signed-off-by: Edward Z. Yang <ezyang@fb.com>

Differential Revision: [D19628091](https://our.internmc.facebook.com/intern/diff/D19628091)

[ghstack-poisoned]
@facebook-github-bot
Copy link
Contributor

@ezyang merged this pull request in 690d41f.

1 similar comment
@facebook-github-bot
Copy link
Contributor

@ezyang merged this pull request in 690d41f.

@facebook-github-bot facebook-github-bot deleted the gh/ezyang/612/head branch February 3, 2020 15:17
jhjun37 pushed a commit to jhjun37/pytorch_copy that referenced this pull request Feb 18, 2020
VariableTensorId is the only key with this treatment today,
but BackendSelect and CompoundOp are coming soon.

Signed-off-by: Edward Z. Yang <ezyang@fb.com>

ghstack-source-id: b7abf99
Pull Request resolved: pytorch/pytorch#32734
ttumiel pushed a commit to ttumiel/pytorch that referenced this pull request Mar 4, 2020
Summary:
Pull Request resolved: pytorch#32734

VariableTensorId is the only key with this treatment today,
but BackendSelect and CompoundOp are coming soon.

Signed-off-by: Edward Z. Yang <ezyang@fb.com>

Test Plan: Imported from OSS

Differential Revision: D19628091

Pulled By: ezyang

fbshipit-source-id: 250753f90528fa282af7a18d8d2f7736382754bd
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants