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

Can nnfusion train VHR images whoes feature map in a CNN model exceeds the gpu memory? #530

Open
AugustineYang opened this issue Dec 25, 2023 · 3 comments

Comments

@AugustineYang
Copy link

AugustineYang commented Dec 25, 2023

Hi. I'm trying to do some segmentation tasks on FCN32s on some 25000*25000 RGB RS images. In your paper of "Welder: Scheduling Deep Learning Memory Access via Tile-graph", you mentioned that your work supports handling DNN models with large input (e.g. high-resolution images). But I still get "CUDA out of memory" ERROR following the instruction How to use NNFusion Python interface for inference/training here. I guess it comes from "PTTrainer(model, loss_func, "cuda:0")". How should I set the args of the trainer to achieve the goal? Thanks for your help.

@AugustineYang
Copy link
Author

AugustineYang commented Dec 25, 2023

It seems that "Welder" is implemented in a seperated branch other than "main" branch. What should I do to make Welder engage in the compilation stage?

@LeiWang1999
Copy link
Contributor

@AugustineYang
Copy link
Author

AugustineYang commented Dec 27, 2023

checkout this branch https://github.com/microsoft/nnfusion/tree/osdi2023welder or https://github.com/nox-410/Welder

Thanks for your reply. Does Welder provide python interface for training or inference, just like this link How to use NNFusion Python interface for inference/training?

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