Skip to content

Commit beb4a92

Browse files
internal developeraostrowski-hbn
authored andcommitted
Torch generator for PT2.6 (#5)
* Torch generator for PT2.6 --------- Co-authored-by: internal developer <[email protected]>
1 parent 2fc9355 commit beb4a92

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

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)