Skip to content

Conversation

datumbox
Copy link
Contributor

@datumbox datumbox commented Sep 6, 2021

Fixing issue reported at #4302 (comment)

Copy link
Member

@fmassa fmassa left a comment

Choose a reason for hiding this comment

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

Thanks!

@fmassa fmassa merged commit 5fb36a1 into pytorch:main Sep 6, 2021
@datumbox datumbox deleted the bugs/tracing_stochasticdepth branch September 6, 2021 14:53
@alexander-soare
Copy link
Contributor

@datumbox I think the next line now raises an error:

TypeError: empty() received an invalid combination of arguments - got (Proxy, device=Attribute, dtype=Attribute), but expected one of:
 * (tuple of ints size, *, tuple of names names, torch.memory_format memory_format, torch.dtype dtype, torch.layout layout, torch.device device, bool pin_memory, bool requires_grad)
 * (tuple of ints size, *, torch.memory_format memory_format, Tensor out, torch.dtype dtype, torch.layout layout, torch.device device, bool pin_memory, bool requires_grad)

Noticed as I was trying to re-enable StochasticDepth in fx feature extraction tests.

@fmassa
Copy link
Member

fmassa commented Sep 6, 2021

@alexander-soare I'm fixing this now, PR in #4373

facebook-github-bot pushed a commit that referenced this pull request Sep 9, 2021
Summary: Co-authored-by: Francisco Massa <fvsmassa@gmail.com>

Reviewed By: fmassa

Differential Revision: D30793342

fbshipit-source-id: 02f4181eab0cd0b271c639e002860771e52564fc
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