[Hardware][AMD][CI] Fix AMD CI image build (#46792)
Signed-off-by: Matthew Wong <Matthew.Wong2@amd.com>
This commit is contained in:
@@ -29,7 +29,6 @@ __global__ void rms_norm_kernel(
|
|||||||
float variance = 0.0f;
|
float variance = 0.0f;
|
||||||
const scalar_t* input_row;
|
const scalar_t* input_row;
|
||||||
const scalar_t* weight_row;
|
const scalar_t* weight_row;
|
||||||
int64_t weight_row_off = 0;
|
|
||||||
if constexpr (NUM_DIMS == 2) {
|
if constexpr (NUM_DIMS == 2) {
|
||||||
// 2D for layernorm normal case [batch_size, hidden]
|
// 2D for layernorm normal case [batch_size, hidden]
|
||||||
input_row = input + blockIdx.x * input_stride_d2;
|
input_row = input + blockIdx.x * input_stride_d2;
|
||||||
|
|||||||
Reference in New Issue
Block a user