-
Notifications
You must be signed in to change notification settings - Fork 25.6k
[ATen][CUDA] Use new CCCL API in v2.8 #160554
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
Conversation
🔗 Helpful Links🧪 See artifacts and rendered test results at hud.pytorch.org/pr/160554
Note: Links to docs will display an error until the docs builds have been completed. ✅ No FailuresAs of commit 9799b95 with merge base 114a6c4 ( This comment was automatically generated by Dr. CI and updates every 15 minutes. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thank you!
@pytorchbot merge |
Merge startedYour change will be merged once all checks pass (ETA 0-4 Hours). Learn more about merging in the wiki. Questions? Feedback? Please reach out to the PyTorch DevX Team |
Silences deprecation warnings like: ``` In file included from tmpxft_003a195d_00000000-6_Nonzero.cudafe1.stub.c:1: /tmp/tmpxft_003a195d_00000000-6_Nonzero.cudafe1.stub.c: At global scope: /tmp/tmpxft_003a195d_00000000-6_Nonzero.cudafe1.stub.c:243:219: warning: 'template<class ValueType, class OffsetT> class at_cuda_detail::cub::CountingInputIterator' is deprecated: Use thrust::counting_iterator instead [-Wdeprecated-declarations] 243 | static void __device_stub__ZN2at6native43_GLOBAL__N__3cee4041_10_Nonzero_cu_cba1aaa011flag_kernelILi512ELi16EhEEvPKT1_PlPKllli( const _ZN3c104impl20ScalarTypeToCPPTypeTILNS_10ScalarTypeE0EEE *__par0, int64_t *__par1, const int64_t *__par2, int64_t __par3, int64_t __par4, int __par5) { __cudaLaunchPrologue(6); __cudaSetupArgSimple(__par0, 0UL); __cudaSetupArgSimple(__par1, 8UL); __cudaSetupArgSimple(__par2, 16UL); __cudaSetupArgSimple(__par3, 24UL); __cudaSetupArgSimple(__par4, 32UL); __cudaSetupArgSimple(__par5, 40UL); __cudaLaunch(((char *)((void ( *)(const _ZN3c104impl20ScalarTypeToCPPTypeTILNS_10ScalarTypeE0EEE *, int64_t *, const int64_t *, int64_t, int64_t, int))at::native::_NV_ANON_NAMESPACE::flag_kernel<(int)512, (int)16, unsigned char> ))); }namespace at{ | ^~~~~~~~~~~~~~~~~~~~~ /usr/local/cuda-12.9/include/cub/iterator/counting_input_iterator.cuh:93:63: note: declared here 93 | class CCCL_DEPRECATED_BECAUSE("Use thrust::counting_iterator instead") CountingInputIterator | ^~~~~~~~~~~~~~~~~~~~~ ``` Pull Request resolved: #160554 Approved by: https://github.com/ngimel, https://github.com/malfet, https://github.com/atalman
Silences deprecation warnings like: ``` In file included from tmpxft_003a195d_00000000-6_Nonzero.cudafe1.stub.c:1: /tmp/tmpxft_003a195d_00000000-6_Nonzero.cudafe1.stub.c: At global scope: /tmp/tmpxft_003a195d_00000000-6_Nonzero.cudafe1.stub.c:243:219: warning: 'template<class ValueType, class OffsetT> class at_cuda_detail::cub::CountingInputIterator' is deprecated: Use thrust::counting_iterator instead [-Wdeprecated-declarations] 243 | static void __device_stub__ZN2at6native43_GLOBAL__N__3cee4041_10_Nonzero_cu_cba1aaa011flag_kernelILi512ELi16EhEEvPKT1_PlPKllli( const _ZN3c104impl20ScalarTypeToCPPTypeTILNS_10ScalarTypeE0EEE *__par0, int64_t *__par1, const int64_t *__par2, int64_t __par3, int64_t __par4, int __par5) { __cudaLaunchPrologue(6); __cudaSetupArgSimple(__par0, 0UL); __cudaSetupArgSimple(__par1, 8UL); __cudaSetupArgSimple(__par2, 16UL); __cudaSetupArgSimple(__par3, 24UL); __cudaSetupArgSimple(__par4, 32UL); __cudaSetupArgSimple(__par5, 40UL); __cudaLaunch(((char *)((void ( *)(const _ZN3c104impl20ScalarTypeToCPPTypeTILNS_10ScalarTypeE0EEE *, int64_t *, const int64_t *, int64_t, int64_t, int))at::native::_NV_ANON_NAMESPACE::flag_kernel<(int)512, (int)16, unsigned char> ))); }namespace at{ | ^~~~~~~~~~~~~~~~~~~~~ /usr/local/cuda-12.9/include/cub/iterator/counting_input_iterator.cuh:93:63: note: declared here 93 | class CCCL_DEPRECATED_BECAUSE("Use thrust::counting_iterator instead") CountingInputIterator | ^~~~~~~~~~~~~~~~~~~~~ ``` Pull Request resolved: #160554 Approved by: https://github.com/ngimel, https://github.com/malfet, https://github.com/atalman
Silences deprecation warnings like: ``` In file included from tmpxft_003a195d_00000000-6_Nonzero.cudafe1.stub.c:1: /tmp/tmpxft_003a195d_00000000-6_Nonzero.cudafe1.stub.c: At global scope: /tmp/tmpxft_003a195d_00000000-6_Nonzero.cudafe1.stub.c:243:219: warning: 'template<class ValueType, class OffsetT> class at_cuda_detail::cub::CountingInputIterator' is deprecated: Use thrust::counting_iterator instead [-Wdeprecated-declarations] 243 | static void __device_stub__ZN2at6native43_GLOBAL__N__3cee4041_10_Nonzero_cu_cba1aaa011flag_kernelILi512ELi16EhEEvPKT1_PlPKllli( const _ZN3c104impl20ScalarTypeToCPPTypeTILNS_10ScalarTypeE0EEE *__par0, int64_t *__par1, const int64_t *__par2, int64_t __par3, int64_t __par4, int __par5) { __cudaLaunchPrologue(6); __cudaSetupArgSimple(__par0, 0UL); __cudaSetupArgSimple(__par1, 8UL); __cudaSetupArgSimple(__par2, 16UL); __cudaSetupArgSimple(__par3, 24UL); __cudaSetupArgSimple(__par4, 32UL); __cudaSetupArgSimple(__par5, 40UL); __cudaLaunch(((char *)((void ( *)(const _ZN3c104impl20ScalarTypeToCPPTypeTILNS_10ScalarTypeE0EEE *, int64_t *, const int64_t *, int64_t, int64_t, int))at::native::_NV_ANON_NAMESPACE::flag_kernel<(int)512, (int)16, unsigned char> ))); }namespace at{ | ^~~~~~~~~~~~~~~~~~~~~ /usr/local/cuda-12.9/include/cub/iterator/counting_input_iterator.cuh:93:63: note: declared here 93 | class CCCL_DEPRECATED_BECAUSE("Use thrust::counting_iterator instead") CountingInputIterator | ^~~~~~~~~~~~~~~~~~~~~ ``` Pull Request resolved: pytorch#160554 Approved by: https://github.com/ngimel, https://github.com/malfet, https://github.com/atalman
Silences deprecation warnings like: ``` In file included from tmpxft_003a195d_00000000-6_Nonzero.cudafe1.stub.c:1: /tmp/tmpxft_003a195d_00000000-6_Nonzero.cudafe1.stub.c: At global scope: /tmp/tmpxft_003a195d_00000000-6_Nonzero.cudafe1.stub.c:243:219: warning: 'template<class ValueType, class OffsetT> class at_cuda_detail::cub::CountingInputIterator' is deprecated: Use thrust::counting_iterator instead [-Wdeprecated-declarations] 243 | static void __device_stub__ZN2at6native43_GLOBAL__N__3cee4041_10_Nonzero_cu_cba1aaa011flag_kernelILi512ELi16EhEEvPKT1_PlPKllli( const _ZN3c104impl20ScalarTypeToCPPTypeTILNS_10ScalarTypeE0EEE *__par0, int64_t *__par1, const int64_t *__par2, int64_t __par3, int64_t __par4, int __par5) { __cudaLaunchPrologue(6); __cudaSetupArgSimple(__par0, 0UL); __cudaSetupArgSimple(__par1, 8UL); __cudaSetupArgSimple(__par2, 16UL); __cudaSetupArgSimple(__par3, 24UL); __cudaSetupArgSimple(__par4, 32UL); __cudaSetupArgSimple(__par5, 40UL); __cudaLaunch(((char *)((void ( *)(const _ZN3c104impl20ScalarTypeToCPPTypeTILNS_10ScalarTypeE0EEE *, int64_t *, const int64_t *, int64_t, int64_t, int))at::native::_NV_ANON_NAMESPACE::flag_kernel<(int)512, (int)16, unsigned char> ))); }namespace at{ | ^~~~~~~~~~~~~~~~~~~~~ /usr/local/cuda-12.9/include/cub/iterator/counting_input_iterator.cuh:93:63: note: declared here 93 | class CCCL_DEPRECATED_BECAUSE("Use thrust::counting_iterator instead") CountingInputIterator | ^~~~~~~~~~~~~~~~~~~~~ ``` Pull Request resolved: pytorch#160554 Approved by: https://github.com/ngimel, https://github.com/malfet, https://github.com/atalman
Silences deprecation warnings like:
cc @ptrblck @msaroufim @eqy @jerryzh168 @manuelcandales @SherlockNoMad @angelayi