Comments (2)
thanks for yoru interest.
lowmem
has been induced when struggling with high resolution rendering for some project, and definitely helped to win some decent amount of pixels for inference/processing. i remember, that was surprise for me as well, but i just tried every possibility then, and this move suddenly worked. thus, i decided to keep it like that.
unfortunately, that was while ago, and i don't have any exact numbers about that.
you may try youself; just in case, here's a debugging snippet i used back then (replacing vars
as needed):
def cudamem(): return int(torch.cuda.memory_allocated() / (1024*1024))
def cudacache(): return int(torch.cuda.memory_cached() / (1024*1024))
mem_, cache_ = cudamem(), cudacache()
del vars; torch.cuda.empty_cache()
print(' clean mem', mem_, cache_, '=>', cudamem(), cudacache())
from stargan2.
Thanks, I will figure it out!
from stargan2.
Related Issues (6)
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from stargan2.