Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -74,6 +74,12 @@ def causal_mask(_, __, q_idx, kv_idx):
batch_sizes = [16, 32, 64] if throughput_test else [batch_size]
fa_kernel_mode = os.getenv('FA_KERNEL_MODE', 'fwd')

if torch.xpu.get_device_name() == '580':
old_count = len(batch_sizes)
batch_sizes = [size for size in batch_sizes if size < 16]
if len(batch_sizes) != old_count:
print('Skipping running batch_sizes >= 16 on b580')


# Kernel profiling for Backward mode is not working as expected:
# For details: https://github.com/pytorch/pytorch/issues/144778
Expand Down
Loading