Nikhila Ravi
cf84dacf2e
fix get cuda device test error
...
Summary:
Cuda test failing on circle with the error `random_ expects 'from' to be less than 'to', but got from=0 >= to=0`
This is because the `high` value in `torch.randint` is 1 more than the highest value in the distribution from which a value is drawn. So if there is only 1 cuda device available then the low and high are 0.
Reviewed By: gkioxari
Differential Revision: D21236669
fbshipit-source-id: 46c312d431c474f1f2c50747b1d5e7afbd7df3a9
2020-04-24 16:12:49 -07:00
..
2020-04-20 14:54:16 -07:00
2020-01-23 11:53:46 -08:00
2020-03-29 14:51:02 -07:00
2020-04-24 09:11:04 -07:00
2020-03-29 14:51:02 -07:00
2020-03-29 14:51:02 -07:00
2020-03-29 14:51:02 -07:00
2020-04-14 17:22:56 -07:00
2020-03-29 14:51:02 -07:00
2020-03-29 14:51:02 -07:00
2020-04-23 19:38:35 -07:00
2020-03-29 14:51:02 -07:00
2020-03-29 14:51:02 -07:00
2020-03-29 14:51:02 -07:00
2020-03-29 14:51:02 -07:00
2020-04-17 07:44:16 -07:00
2020-04-11 00:21:24 -07:00
2020-03-29 14:51:02 -07:00
2020-04-17 07:44:16 -07:00
2020-03-29 14:51:02 -07:00
2020-03-29 14:51:02 -07:00
2020-03-29 14:51:02 -07:00
2020-03-29 14:51:02 -07:00
2020-03-29 14:51:02 -07:00
2020-03-29 14:51:02 -07:00
2020-04-24 16:12:49 -07:00
2020-04-16 14:02:16 -07:00
2020-03-29 14:51:02 -07:00
2020-04-20 12:19:45 -07:00
2020-04-17 04:38:14 -07:00
2020-04-24 09:11:04 -07:00
2020-04-17 07:44:16 -07:00
2020-04-24 09:11:04 -07:00
2020-04-24 09:11:04 -07:00
2020-04-24 09:11:04 -07:00
2020-04-24 09:11:04 -07:00
2020-04-24 09:11:04 -07:00
2020-03-29 14:51:02 -07:00
2020-03-29 14:51:02 -07:00
2020-03-29 14:51:02 -07:00
2020-03-29 14:51:02 -07:00
2020-03-29 14:51:02 -07:00
2020-03-29 14:51:02 -07:00
2020-04-11 00:21:24 -07:00
2020-04-23 19:38:35 -07:00
2020-04-06 06:41:00 -07:00
2020-04-24 09:11:04 -07:00
2020-04-17 07:44:16 -07:00
2020-04-16 18:36:19 -07:00
2020-04-24 09:11:04 -07:00
2020-04-11 00:21:24 -07:00
2020-04-17 10:50:22 -07:00
2020-04-16 18:36:19 -07:00
2020-04-24 14:56:41 -07:00
2020-04-24 14:56:41 -07:00
2020-03-29 14:51:02 -07:00
2020-04-20 14:54:16 -07:00
2020-04-20 14:54:16 -07:00
2020-03-29 14:51:02 -07:00
2020-03-29 14:51:02 -07:00
2020-04-24 09:11:04 -07:00
2020-03-29 14:51:02 -07:00
2020-03-29 14:51:02 -07:00
2020-03-29 14:51:02 -07:00
2020-03-29 14:51:02 -07:00
2020-04-05 14:44:27 -07:00
2020-04-17 10:39:43 -07:00
2020-01-23 11:53:46 -08:00