Minor issue when training on grid env
engmubarak48 opened this issue · comments
Jama Hussein Mohamud commented
- Puts all tensors into the device
change:
gflownet/gflownet/envs/grid.py
Line 181 in bcb1443
To:
cols = states + torch.arange(self.n_dim, device=self.device) * self.length