[rllib] Fixes typo in RolloutWorker.__init__ (#17583)

Fixes the typo in RolloutWorker.__init__, closes #17582
This commit is contained in:
akern40 2021-08-13 16:17:36 -04:00 committed by GitHub
parent 9f5dc5ec9f
commit 0cb2c602db
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -538,7 +538,7 @@ class RolloutWorker(ParallelIteratorWorker):
# Not all Operations support this.
torch.use_deterministic_algorithms(True)
else:
torch.set_determinstic(True)
torch.set_deterministic(True)
# This is only for Convolution no problem.
torch.backends.cudnn.deterministic = True
# Tf2.x.