Open 842974287 opened 1 month ago
Summary: index select will implicitly move the indices to device if it was in CPU. However, this copy would be blocking.
An additional improvement we could do is to make sure indices tensor is on pinned memory.
Differential Revision: D64840859
This pull request was exported from Phabricator. Differential Revision: D64840859
Summary: index select will implicitly move the indices to device if it was in CPU. However, this copy would be blocking.
An additional improvement we could do is to make sure indices tensor is on pinned memory.
Differential Revision: D64840859