[GitHub] [incubator-mxnet] waytrue17 edited a comment on issue #20959: GPU memory leak when using gluon.data.DataLoader with num_workers>0

2022-03-26 Thread GitBox
waytrue17 edited a comment on issue #20959: URL: https://github.com/apache/incubator-mxnet/issues/20959#issuecomment-1079551643 It looks like the memory leak in the above script is due to instantiating multiple dataloader objects in the for loop. Having one dataloader object seems to

[GitHub] [incubator-mxnet] waytrue17 edited a comment on issue #20959: GPU memory leak when using gluon.data.DataLoader with num_workers>0

2022-03-25 Thread GitBox
waytrue17 edited a comment on issue #20959: URL: https://github.com/apache/incubator-mxnet/issues/20959#issuecomment-1079551643 It looks like the memory leak in the above script is due to instantiating multiple dataloader objects in the for loop. Having one dataloader object seems to

[GitHub] [incubator-mxnet] waytrue17 edited a comment on issue #20959: GPU memory leak when using gluon.data.DataLoader with num_workers>0

2022-03-25 Thread GitBox
waytrue17 edited a comment on issue #20959: URL: https://github.com/apache/incubator-mxnet/issues/20959#issuecomment-1079551643 It looks like the memory leak in the above script is due to instantiating multiple dataloader objects in the for loop. Having one dataloader object seems to

[GitHub] [incubator-mxnet] waytrue17 edited a comment on issue #20959: GPU memory leak when using gluon.data.DataLoader with num_workers>0

2022-03-25 Thread GitBox
waytrue17 edited a comment on issue #20959: URL: https://github.com/apache/incubator-mxnet/issues/20959#issuecomment-1079551643 It looks like the memory leak in the above script is because we instantiate multiple dataloader objects in the for loop. Having one dataloader object seems to