I follow the suggestion ,
config["framework"] = "torch"config["num_gpus"] = 0.001 # can't workconfig["num_gpus_per_worker"] = (1 - 0.001) / 4
but I get the error,
I use num_gpus_per_worker uncorrectly, and I use tf and tfe, it works well, but torch will return list index out of range. And I downgraded ray from 1.4 to 0.8.7, and now it works well.It is a bug for ray 1.4?
I follow the suggestion ,
config["framework"] = "torch"
config["num_gpus"] = 0.001 # can't work
config["num_gpus_per_worker"] = (1 - 0.001) / 4
but I get the error,And after I debug, i found that ray/rllib/policy/torch_policy.py#L150
ray.get_gpu_ids()
will return a empty list, how can i use gpu for training?