Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
use public trainer API to re-create data loader for QAT
Summary: Pull Request resolved: facebookresearch#4458 X-link: facebookresearch/d2go#353 - The QAT was using old code prior to D36786902 (facebookresearch@e566079), update to use public API - Make `trainer:reset_data_loader` to take lazy lambda expression in order to delay the creation of dataloader. It's possible that we don't have enough RAM to hold two data loader at the same time, so we need to delete the first one, then create the second one. Differential Revision: D38330148 fbshipit-source-id: aae28a48eabf211fe00cafe5d9ea8aeaf56e4e0c
- Loading branch information