Skip to content

Commit 44acaa2

Browse files
r-barnesfacebook-github-bot
authored andcommitted
at::optional -> std::optional
Reviewed By: gineshidalgo99 Differential Revision: D64938040
1 parent 87f7ef5 commit 44acaa2

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

torchao/csrc/cuda/tensor_core_tiled_layout/tensor_core_tiled_layout.cu

+1-1
Original file line numberDiff line numberDiff line change
@@ -73,7 +73,7 @@ template <typename Out_t, int InnerKTiles, int groupSize, bool kDequant = true>
7373
__global__ void _dequantize_int4_kernel(
7474
const at::PackedTensorAccessor32<int32_t, 4, at::RestrictPtrTraits> in,
7575
at::PackedTensorAccessor32<Out_t, 2, at::RestrictPtrTraits> out,
76-
at::optional<const at::PackedTensorAccessor32<c10::BFloat16, 3, at::RestrictPtrTraits>> scales_and_zeros = std::nullopt)
76+
std::optional<const at::PackedTensorAccessor32<c10::BFloat16, 3, at::RestrictPtrTraits>> scales_and_zeros = std::nullopt)
7777
{
7878

7979
constexpr int32_t kNTileSize = 8;

0 commit comments

Comments
 (0)