DeepSquare: Upscaling, a show-case to decentralised AI

Artificial Intelligence (AI) and Blockchain are probably two of the most transformative technologies of our time. They have already revolutionized industries like finance, healthcare, and logistics, and are now starting to converge to create even more powerful applications. 

Our core business is not AI development, but to provide a platform for other builders to build and deploy their AI powered solutions easier and faster than ever before. 

Our platform is capable of incredible things, and we’re eager to showcase its potential. We’ve been hard at work creating a series of exciting show-cases to demonstrate the incredible capabilities of our platform. Our goal? To inspire developers everywhere to create new and innovative applications on our platform, just as a new gaming console needs a strong initial lineup of games to entice developers to build new titles.

Imagine launching a new gaming console without any games in the initial lineup – it’s an uphill battle to convince developers to create new content for it. That’s why we’ve gone ahead and created a series of demo apps that showcase the platform’s power and flexibility, including some fascinating examples of GPU-based upscaling. With our platform, the possibilities are endless – and we can’t wait to see what innovative new applications developers will create with it!

Prepare to be amazed by the stunning capabilities of our upscaling demo app, which was inspired by the personal photos of Lillo, our head of infrastructure here at DeepSquare. Lillo had some old photos from his father from the 1980 Dakar Rally that were low resolution and filled with noise – and he knew there had to be a way to make them look better. That’s when he had a brilliant idea: what if he used our platform’s incredible Real-ESRGAN AI model to enhance the photos?

Using the powerful multi-GPU, multi-node capabilities of DeepSquare’s infrastructure, Lillo developed a simple demo app that could process the photos in record time, producing stunningly sharp and vivid images. It was a true testament to the power of our platform, and a shining example of what’s possible when innovative developers like Lillo harness the full potential of our technology. If you want to test the upscaling demo app, the only thing you need to do is to fill in this form.

The upscaling app was deployed using workflow files, which provide developers and other users with a way to run complex, multi-step workloads on DeepSquare. We’re currently developing an SDK that will enable developers to write their own YAML files and embed them in their own applications.

In the case of upscaling, the workflow file involves multiple steps. The first step is extracting frames, which is a straightforward process for images, but requires extracting each frame as an image for videos. The second step is upscaling, which we parallelize across multiple nodes if it’s a video. We extract all the frames, group them into four batches, and then upscale them in parallel using multiple GPUs. Finally, we combine all the frames, add the source audio, and recreate the video with the exact same frame rate.

Thanks to the incredible parallelization capabilities of our platform and the ease of use of YAML files, even complex multi-step workloads like this one can be created and run with minimal hassle. With our workflow files and the upcoming SDK, developers will have even more power to unlock the full potential of our platform and create innovative new applications.

“All the steps of the workflow are contained within the container image, which can be a different image for each step. We’ve implemented a powerful high-performance computing (HPC) trick to make large container images immediately available, as they’re stored directly on our parallel file system. This means we don’t need to download the entire container in order to run it; instead, we only need to access the specific files required for each step”, said Lillo.  This approach dramatically speeds up the load time and enables us to quickly and efficiently execute even the most demanding workloads on our platform.

As we mentioned earlier, the upscaling app serves as a showcase of the impressive capabilities of the DeepSquare platform. We’re excited to see what new applications our community and developers will create using our powerful tools and infrastructure. With our commitment to providing best-in-class resources and support, we’re confident that the possibilities for innovation and collaboration are endless.

Sign up for our Newsletter

Your e-mail
Your data is safe!
Share
This website uses cookies to ensure you get the best experience on our website. Learn more