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

CUDA 10 support #134

Closed
vadimkantorov opened this issue Jun 6, 2019 · 2 comments
Closed

CUDA 10 support #134

vadimkantorov opened this issue Jun 6, 2019 · 2 comments

Comments

@vadimkantorov
Copy link

CMakeLists.txt needs to be modified. Also suggested in #116 (comment) .

Otherwise test_gpu does not pass and CTCLoss returns 0.0.

   IF (CUDA_VERSION GREATER 7.6)
    set(CUDA_NVCC_FLAGS "${CUDA_NVCC_FLAGS} -gencode arch=compute_60,code=sm_60")
    set(CUDA_NVCC_FLAGS "${CUDA_NVCC_FLAGS} -gencode arch=compute_61,code=sm_61")
    set(CUDA_NVCC_FLAGS "${CUDA_NVCC_FLAGS} -gencode arch=compute_62,code=sm_62")
    set(CUDA_NVCC_FLAGS "${CUDA_NVCC_FLAGS} -gencode arch=compute_70,code=sm_70") ## new line
ENDIF()
@sdzbft
Copy link

sdzbft commented Jun 16, 2019

you can use CTC Loss in pytorch 1.0.1 directly without warp_ctc

@SeanNaren
Copy link
Owner

warp-ctc does support this compute architecture already, the change was made here

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

3 participants