Skip to content

Commit 950c764

Browse files
committed
fix vulkan
1 parent cbca610 commit 950c764

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

ggml/src/ggml-vulkan/vulkan-shaders/rope_multi.comp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ void main() {
3232
const uint sector = (i0 / 2) % sect_dims;
3333

3434
float theta_base = 0.0;
35-
if (p.is_imrope) {
35+
if (p.is_imrope != 0) {
3636
if (sector % 3 == 1 && sector < 3 * p.sections[1]) {
3737
theta_base = data_pos[channel_x + ne2 * 1]*pow(p.theta_scale, i0/2.0f);
3838
} else if (sector % 3 == 2 && sector < 3 * p.sections[2]) {

0 commit comments

Comments
 (0)