CDial-GPT icon indicating copy to clipboard operation
CDial-GPT copied to clipboard

nll_loss_forward_reduce_cuda_kernel_2d: block: [0,0,0], thread: [18,0,0] Assertion t >= 0 && t < n_classes failed.

Open erminga opened this issue 1 year ago • 0 comments

出现报错:C:/cb/pytorch_1000000000000/work/aten/src/THCUNN/ClassNLLCriterion.cu:108: block: [0,0,0], thread: [0,0,0] Assertion t >= 0 && t < n_classes failed. C:/cb/pytorch_1000000000000/work/aten/src/THCUNN/ClassNLLCriterion.cu:108: block: [0,0,0], thread: [1,0,0] Assertion t >= 0 && t < n_classes failed. C:/cb/pytorch_1000000000000/work/aten/src/THCUNN/ClassNLLCriterion.cu:108: block: [0,0,0], thread: [2,0,0] Assertion t >= 0 && t < n_classes failed. C:/cb/pytorch_1000000000000/work/aten/src/THCUNN/ClassNLLCriterion.cu:108: block: [0,0,0], thread: [3,0,0] Assertion t >= 0 && t < n_classes failed. C:/cb/pytorch_1000000000000/work/aten/src/THCUNN/ClassNLLCriterion.cu:108: block: [0,0,0], thread: [4,0,0] Assertion t >= 0 && t < n_classes failed. C:/cb/pytorch_1000000000000/work/aten/src/THCUNN/ClassNLLCriterion.cu:108: block: [0,0,0], thread: [5,0,0] Assertion t >= 0 && t < n_classes failed. C:/cb/pytorch_1000000000000/work/aten/src/THCUNN/ClassNLLCriterion.cu:108: block: [0,0,0], thread: [6,0,0] Assertion t >= 0 && t < n_classes failed. C:/cb/pytorch_1000000000000/work/aten/src/THCUNN/ClassNLLCriterion.cu:108: block: [0,0,0], thread: [7,0,0] Assertion t >= 0 && t < n_classes failed. C:/cb/pytorch_1000000000000/work/aten/src/THCUNN/ClassNLLCriterion.cu:108: block: [0,0,0], thread: [8,0,0] Assertion t >= 0 && t < n_classes failed. C:/cb/pytorch_1000000000000/work/aten/src/THCUNN/ClassNLLCriterion.cu:108: block: [0,0,0], thread: [9,0,0] Assertion t >= 0 && t < n_classes failed. C:/cb/pytorch_1000000000000/work/aten/src/THCUNN/ClassNLLCriterion.cu:108: block: [0,0,0], thread: [10,0,0] Assertion t >= 0 && t < n_classes failed. C:/cb/pytorch_1000000000000/work/aten/src/THCUNN/ClassNLLCriterion.cu:108: block: [0,0,0], thread: [11,0,0] Assertion t >= 0 && t < n_classes failed. C:/cb/pytorch_1000000000000/work/aten/src/THCUNN/ClassNLLCriterion.cu:108: block: [0,0,0], thread: [12,0,0] Assertion t >= 0 && t < n_classes failed. C:/cb/pytorch_1000000000000/work/aten/src/THCUNN/ClassNLLCriterion.cu:108: block: [0,0,0], thread: [13,0,0] Assertion t >= 0 && t < n_classes failed. C:/cb/pytorch_1000000000000/work/aten/src/THCUNN/ClassNLLCriterion.cu:108: block: [0,0,0], thread: [14,0,0] Assertion t >= 0 && t < n_classes failed. C:/cb/pytorch_1000000000000/work/aten/src/THCUNN/ClassNLLCriterion.cu:108: block: [0,0,0], thread: [15,0,0] Assertion t >= 0 && t < n_classes failed. C:/cb/pytorch_1000000000000/work/aten/src/THCUNN/ClassNLLCriterion.cu:108: block: [0,0,0], thread: [16,0,0] Assertion t >= 0 && t < n_classes failed. C:/cb/pytorch_1000000000000/work/aten/src/THCUNN/ClassNLLCriterion.cu:108: block: [0,0,0], thread: [17,0,0] Assertion t >= 0 && t < n_classes failed. C:/cb/pytorch_1000000000000/work/aten/src/THCUNN/ClassNLLCriterion.cu:108: block: [0,0,0], thread: [18,0,0] Assertion t >= 0 && t < n_classes failed. C:/cb/pytorch_1000000000000/work/aten/src/THCUNN/ClassNLLCriterion.cu:108: block: [0,0,0], thread: [19,0,0] Assertion t >= 0 && t < n_classes failed. C:/cb/pytorch_1000000000000/work/aten/src/THCUNN/ClassNLLCriterion.cu:108: block: [0,0,0], thread: [20,0,0] Assertion t >= 0 && t < n_classes failed. C:/cb/pytorch_1000000000000/work/aten/src/THCUNN/ClassNLLCriterion.cu:108: block: [0,0,0], thread: [21,0,0] Assertion t >= 0 && t < n_classes failed. C:/cb/pytorch_1000000000000/work/aten/src/THCUNN/ClassNLLCriterion.cu:108: block: [0,0,0], thread: [22,0,0] Assertion t >= 0 && t < n_classes failed. ERROR:ignite.engine.engine.Engine:Current run is terminating due to exception: CUDA error: CUBLAS_STATUS_ALLOC_FAILED when calling cublasCreate(handle). ERROR:ignite.engine.engine.Engine:Engine run is terminating due to exception: CUDA error: CUBLAS_STATUS_ALLOC_FAILED when calling cublasCreate(handle).

erminga avatar Jun 26 '23 03:06 erminga