Skip to content

Commit 0d39ac4

Browse files
internal developerjedrzejmyrcha
authored andcommitted
Torch generator for PT2.6 (#5)
* Torch generator for PT2.6 --------- Co-authored-by: internal developer <developer@habana.ai>
1 parent 25639a0 commit 0d39ac4

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

aten/src/ATen/detail/HPUHooksInterface.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ struct TORCH_API HPUHooksInterface : AcceleratorHooksInterface {
2020
return false;
2121
}
2222

23-
const Generator& getDefaultHPUGenerator(
23+
virtual const Generator& getDefaultHPUGenerator (
2424
[[maybe_unused]] DeviceIndex device_index = -1) const {
2525
TORCH_CHECK(false, "Cannot get default HPU generator without HPU backend");
2626
}

0 commit comments

Comments
 (0)