-
Notifications
You must be signed in to change notification settings - Fork 2.4k
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
Enable XeTLA LSTM for GPU #28817
base: master
Are you sure you want to change the base?
Enable XeTLA LSTM for GPU #28817
Conversation
copy_directory_if_different was added in cmake 3.26 and is not supported in older versions
In copyright lines, please update the second year in the range to "2025" as these changes will be released in 2025 year. As an example:
to be changed to
|
I updated copyright notice in all new files. @ValentinaKats please take a look. |
k.EnableTensorOffset(); | ||
k.EnableTensorPitches(); | ||
k.EnableBatching(); | ||
k.EnableDynamicShapesSupport(); |
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.
Looks like dynamic shapes are not supported, so this line should be removed
} | ||
|
||
auto num_gates = 4; | ||
auto batch_size = in_layouts[0].get_dim(0); |
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.
Please check that none of the input/output tensors have dynamic shapes. Otherwise this call will trigger the exception
|
||
auto num_gates = 4; | ||
auto batch_size = in_layouts[0].get_dim(0); | ||
auto input_size = in_layouts[0].get_dim(2); |
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.
This get_dim()
method is deprecated, please use get_shape()
and then work with ov::Shape instead
#pragma once | ||
|
||
#include "kernel_base_cm.h" | ||
#include "../lstm_kernel_base.h" |
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.
Please don't use ..
in the header path
Details: