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

pytorch > 1? #74

Open
sharifza opened this issue Aug 19, 2019 · 8 comments
Open

pytorch > 1? #74

sharifza opened this issue Aug 19, 2019 · 8 comments

Comments

@sharifza
Copy link

is there any pytorch > 1 fork of this work? There is no way to run it in this shape with newer GPUs such as RTX as they do not support cuda versions less than 10 while pytorch versions < 1 don't support cuda10 !

@zaynmi
Copy link

zaynmi commented Aug 20, 2019

I have the same problem with 2080Ti, throwing out error

RuntimeError: cuda runtime error (48) : no kernel image is available for execution on the device at /home/tang/pytorch/torch/lib/THC/generic/THCTensorMathPairwise.cu:21

Looking for solution

@sharifza
Copy link
Author

Yes, exactly the same error.

@truetone2022
Copy link

Anyone solved this problem? I meet it too.

@TP0609
Copy link

TP0609 commented Nov 16, 2019

is there any pytorch > 1 fork of this work? There is no way to run it in this shape with newer GPUs such as RTX as they do not support cuda versions less than 10 while pytorch versions < 1 don't support cuda10 !

Hello !
Is your problem solved? I am using RTX2070, not supporting version less than cuda10.0, but cuda10.0 needs to use pytorch>1.0, can this program be run with pytorch>1.0? !
Is your problem solved? I am using RTX2070, not supporting version less than cuda10.0, but cuda10.0 needs to use pytorch>1.0, can this program be run with pytorch>1.0?

@GreenTeaHua
Copy link

torchvision.ops.nms(boxes, scores, iou_threshold)
Performs non-maximum suppression (NMS) on the boxes according
to their intersection-over-union (IoU).

NMS iteratively removes lower scoring boxes which have an
IoU greater than iou_threshold with another (higher scoring)
box.

Parameters
----------
boxes : Tensor[N, 4])  bounding boxes坐标. 格式:(x1, y1, x2, y2)
    boxes to perform NMS on. They
    are expected to be in (x1, y1, x2, y2) format
scores : Tensor[N]   bounding boxes得分
    scores for each one of the boxes
iou_threshold : float IoU过滤阈值
    discards all overlapping
    boxes with IoU < iou_threshold

Returns
-------
keep : Tensor
    int64 tensor with the indices
    of the elements that have been kept
    by NMS, sorted in decreasing order of scores
    NMS过滤后的bouding boxes索引(降序排列)
"""

@progvasu
Copy link

is there any pytorch > 1 fork of this work? There is no way to run it in this shape with newer GPUs such as RTX as they do not support cuda versions less than 10 while pytorch versions < 1 don't support cuda10 !

Hello !
Is your problem solved? I am using RTX2070, not supporting version less than cuda10.0, but cuda10.0 needs to use pytorch>1.0, can this program be run with pytorch>1.0? !
Is your problem solved? I am using RTX2070, not supporting version less than cuda10.0, but cuda10.0 needs to use pytorch>1.0, can this program be run with pytorch>1.0?

Hey,

Where you able to figure this out? Thanks!

@Spichon
Copy link

Spichon commented Feb 24, 2020

Hi guys,
So i did figure out how to go through the "no kernel image is available for execution" issue if you are running the code with a RTX2080.
You have to edit the file /lib/lstm/highway_lstm/make.sh with the following value : CUDA_MODELS=(75).

Nevertheless, pytorch 0.4.1 can't deal with cuda10. You can refer to the following zoo model : https://download.pytorch.org/whl/cu100/torch_stable.html

The solution would be to get this code working with torch > 1.0.

@TP0609
Copy link

TP0609 commented Feb 29, 2020 via email

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

No branches or pull requests

7 participants