Skip to content

F.logsigmoid(input, out=blah) crashes #36499

@zou3519

Description

@zou3519

🐛 Bug

On master,

import torch
import torch.nn.functional as F
x = torch.randn(3, 3)
y = torch.randn(9)
F.logsigmoid(x, out=y) # crashes

The crash does not occur on CUDA on master.

However, in v1.4.0, the above snippet does not crash on CPU or CUDA.

Expected behavior

Either:

Environment

Metadata

Metadata

Assignees

No one assigned

    Labels

    module: crashProblem manifests as a hard crash, as opposed to a RuntimeErrortriagedThis issue has been looked at a team member, and triaged and prioritized into an appropriate module

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions