mirror of
https://github.com/vladmandic/automatic
synced 2026-09-19 01:04:32 +02:00
HyperTile add swap size and depth options
This commit is contained in:
@@ -122,9 +122,9 @@ def torch_bmm_32_bit(input, mat2, *, out=None):
|
||||
mat2[start_idx:end_idx],
|
||||
out=out
|
||||
)
|
||||
torch.xpu.synchronize(input.device)
|
||||
else:
|
||||
return original_torch_bmm(input, mat2, out=out)
|
||||
torch.xpu.synchronize(input.device)
|
||||
return hidden_states
|
||||
|
||||
original_scaled_dot_product_attention = torch.nn.functional.scaled_dot_product_attention
|
||||
|
||||
Reference in New Issue
Block a user