Minor issue when training on grid env
engmubarak48 opened this issue · 0 comments
engmubarak48 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