Closed zhyncs closed 2 days ago
before the fix
[ FAILED ] 28 tests, listed below:
[ FAILED ] SamplingDecodeTest/0.TopK, where TypeParam = float
[ FAILED ] SamplingDecodeTest/0.BatchTopK, where TypeParam = float
[ FAILED ] SamplingDecodeTest/0.TopP, where TypeParam = float
[ FAILED ] SamplingDecodeTest/0.BatchTopP, where TypeParam = float
[ FAILED ] SamplingDecodeTest/0.TopKTopP, where TypeParam = float
[ FAILED ] SamplingDecodeTest/0.BatchTopKTopP, where TypeParam = float
[ FAILED ] SamplingDecodeTest/0.TopKBatchTopP, where TypeParam = float
[ FAILED ] SamplingDecodeTest/0.BatchTopKBatchTopP, where TypeParam = float
[ FAILED ] SamplingDecodeTest/0.InvalidArgsZeroTopK, where TypeParam = float
[ FAILED ] SamplingDecodeTest/0.InvalidArgsZeroTopP, where TypeParam = float
[ FAILED ] SamplingDecodeTest/0.InvalidArgsZeroTopKTopP, where TypeParam = float
[ FAILED ] SamplingDecodeTest/0.InvalidArgsZeroBatchTopKTopP, where TypeParam = float
[ FAILED ] SamplingDecodeTest/0.InvalidArgsZeroTopKBatchTopP, where TypeParam = float
[ FAILED ] SamplingDecodeTest/0.InvalidArgsBatchTopKContainZero, where TypeParam = float
[ FAILED ] SamplingDecodeTest/0.InvalidArgsBatchTopPContainZero, where TypeParam = float
[ FAILED ] SamplingDecodeTest/0.InvalidArgsBatchTopKTopPContainZero, where TypeParam = float
[ FAILED ] SamplingDecodeTest/0.InvalidArgsTopKBatchTopPContainZero, where TypeParam = float
[ FAILED ] SamplingDecodeTest/0.InvalidArgsBatchTopKBatchTopPContainZero, where TypeParam = float
[ FAILED ] SamplingDecodeTest/0.LocalBatchBatchTopP, where TypeParam = float
[ FAILED ] SamplingDecodeTest/0.LocalBatchBatchTopKBatchTopP, where TypeParam = float
[ FAILED ] SamplingDecodeTest2/0.CorrectnessSingleRandTopK, where TypeParam = float
[ FAILED ] SamplingDecodeTest2/0.CorrectnessSingleRandTopP, where TypeParam = float
[ FAILED ] SamplingDecodeTest2/0.CorrectnessBatchRandTopK, where TypeParam = float
[ FAILED ] SamplingDecodeTest2/0.CorrectnessBatchRandTopP, where TypeParam = float
[ FAILED ] SamplingDecodeTest2/0.CorrectnessBatchRandTopKLocalBatch, where TypeParam = float
[ FAILED ] SamplingDecodeTest2/0.CorrectnessBatchRandTopPLocalBatch, where TypeParam = float
[ FAILED ] SamplingDecodeTest2/0.CorrectnessCumLogProbTopK, where TypeParam = float
[ FAILED ] SamplingDecodeTest2/0.CorrectnessCumLogProbTopP, where TypeParam = float
after
[==========] 111 tests from 14 test suites ran. (32080 ms total)
[ PASSED ] 111 tests.
Different with fastertransformer, we initialize d_curand_state
there. So in unittests, we should call invokeCurandBatchInitialize
manually.
we should call
invokeCurandBatchInitialize
manually
ok
So in unittests, we should call
invokeCurandBatchInitialize
manually.
Hi @irexyc Could you please review the latest code? Thanks.
Motivation
fix SamplingDecodeTest and SamplingDecodeTest2 unittest failure
Hi @lzhangzz @irexyc @lvhan028 May you help review this pr? Thanks.
Modification
as titled
Checklist