3 ms·
Someone can explains the tech limitation of the size ( 512*512 ) for those AI generated arts?
by Thaxll 4y ago
Someone can explains the tech limitation of the size ( 512*512 ) for those AI generated arts?
- thakoppno 4y agobyte alignment has always been a consideration for high performance computing. this alludes to a fascinating, yet elementary, fact about computer science to me: there’s a physical atomic constraint in every algorithm.
- dekhn 4y agothat's not byte alignment, though- those constraints are what can be held in GPU RAM during a training batch, which is subject to a number of limits, such as "optimal texture size is a power of 2 or the next power of 2 larger than your preferred size". Byte alignment would be more like "it's three channels of data, but we use 4 bytes (wasting 1 byte) to keep the data aligned on a platform that only allows word-level access"
- thakoppno 4y agothanks for the insight. you obviously understand the domain better than me. let me try and catch up before I say anything more.
- fragmede 4y agoIt's limited by the RAM on the GPU, with most consumer-grade cards having closer to 8 GiB VRAM than the 80 GiB VRAM datacenter cards have.