Closed eatpk closed 7 months ago
Overall, LGTM. A few small questions are:
Have you measure the change in the size of metadata before/after this PR? Since it's called "diet", I assume this reduces the metadata size? Also, if you see any changes in the data loading speed (even if it's not significant, like 5-10%) by changing the metadata structure, can you report it too?
Oh yes, for the speed, there was no difference.. I ran 10 times The average of before diet was logging time: 29.70412812 sec, Computation time: 15.85226355 sec The average time for after diet was logging time: 28.76126018 sec, computation time: 15.23824615 sec
For the size, it was 4.3MB before and now it is 2.8MB for 6000 MNIST with 3 module paths, about 35% reduction.
An execution example of metadata elemet looks like such: