Commit Graph

1 Commits

Author SHA1 Message Date
abhay-codes07
c2cabcfeeb
Fix HyperTile random_divisor never picking the last option
torch.randint's high bound is exclusive, so randint(low=0, high=len(ns) - 1)
sampled indices 0..len(ns)-2 and never selected the final candidate. With
swap_size=2 this always returned the first tile count, silently disabling
the node's randomization. Use high=len(ns) so every option is reachable.
2026-07-12 14:44:35 +05:30