Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

how much memory was used #19

Open
YiChuangDai opened this issue May 23, 2023 · 1 comment
Open

how much memory was used #19

YiChuangDai opened this issue May 23, 2023 · 1 comment

Comments

@YiChuangDai
Copy link

in paper said that we can use cpu with small memory source ,but when i run sh tools/dist_search.sh configs/classification/deepmad_29M_224.py 32G memory was used in 10 sec and the job has been aborted.

@xiuyu-sxy
Copy link
Collaborator

To ensure unified implementation of different methods, our repo first transforms the model description into a PyTorch model before computing relevant scores. As a result, more content is cached during the search process, which is unnecessary for DeepMAD. To reduce the memory usage, the simple way is to change the "nproc=64" to "nproc=32/16/8" in the dist_search.sh . It will cost more search time.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants