Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

conv(None) -> hang or segfault #1356

Closed
adamlerer opened this issue Apr 25, 2017 · 2 comments
Closed

conv(None) -> hang or segfault #1356

adamlerer opened this issue Apr 25, 2017 · 2 comments
Assignees

Comments

@adamlerer
Copy link
Contributor

import torch
import torch.nn as nn
from torch.autograd import Variable
c = nn.Conv2d(3, 3, 3)
c(None)

Segmentation fault: 11

@colesbury

@soumith
Copy link
Member

soumith commented Apr 25, 2017

maybe fixed by #1293 ?

@soumith
Copy link
Member

soumith commented Apr 25, 2017

oh None input is not checked, that is for double backward.

@colesbury colesbury added the bug label Apr 26, 2017
@colesbury colesbury self-assigned this Apr 26, 2017
colesbury added a commit to colesbury/pytorch that referenced this issue Apr 26, 2017
colesbury added a commit to colesbury/pytorch that referenced this issue May 18, 2017
eqy pushed a commit to eqy/pytorch that referenced this issue Jan 20, 2022
* Refactor War Sync Insertion Pass (pytorch#1339)
* Remove kir::Expr::scope_ (pytorch#1341)
* Fusion IR Refactor (pytorch#1343)
* Refactor KIR Step 1 - Remove kir::Node (pytorch#1347)
* Refactor KIR Step 2 - TMP IrUtils change (pytorch#1348)
* Refactor KIR Step 3 - Remove kir::Expr and kir::Val. (pytorch#1349)
* Refactor KIR Step 4 - Remove kir::Bool,Double,Int,NamedScalar. (pytorch#1350)
* Refactor KIR Step 5 - Remove kir::IterDomain/TensorDomain/TensorView (pytorch#1351)
* Refactor KIR Step 6 - Remove 
 kir::UnaryOp/BinaryOp/TernaryOp/ReductionOp/WelfordOp/BroadcastOp. (pytorch#1352)
* Refactor KIR Step 7 - Remove kir dispatch (pytorch#1353)
* Refactor KIR Step 8 - Clean up lower_utils (pytorch#1355)
* Refactor KIR Step 9 - lower_utils ir_utils::applyReplacements. (pytorch#1354)
* Refactor KIR Step 10 - Remove kir_printer in favor of io_stream (pytorch#1356)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

4 participants