The steps are as follows:
1-Generate the images. Rows are distributed into task per #GPU.
2-Combine all the images into one grid.
Implementation
We with the input, output and resources.
For the sake of readability, we use YAML. You can use an online YAML to #JSON converter if you wish to execute the workflow on the dev environment: app.deepsquare.run/sandbox
Resource allocation, environment variable and input/output. We will use 4 parallel tasks. Each task has 8 #CPU, 8 GB of #RAM, 1 #GPU
1. Inference loop: we need to execute a for directive which executes 4 steps in parallel.
DeepSquare already hosts its own models at /opt/models. If you plan to use your own model, you should import the model using the input directive.
2. Combine the rows
Our docker image already includes #ImageMagick, meaning we can compose a new image from the generated images.
We send the "grid" image to transfer.deepsquare.run. The output directory contains all the images in their original resolution
Conclusion
We have developed an #ML inference workflow. Most inference processes with an output will follow the same pattern:
-Launch the inference in parallel
-Reassemble the output
The team has been hard at work developing a #decentralized platform that allows users to access powerful #computing resources from anywhere in the world.
By leveraging #blockchain technology with @Avalanche#Subnet solutions, we created a network that is both fast and secure, ensuring that users can trust the platform with their most sensitive data and applications.
We’re thrilled to launch our cutting-edge development environment, designed to revolutionize the world of #ArtificialIntelligence & High-Performance Computing
The app.DeepSquare.run Customer Portal provides easy access to our infrastructure and an array of pre-built applications, including #Text2Image, #Blender, @unity Render Streaming, and #AI Upscaling.
The Developer App within the portal is a game-changer for those looking to create and run custom jobs in an #HPC environment.
It offers unmatched flexibility and ease of use, enabling users to develop and deploy their applications on the @DeepSQUAREio infrastructure.
We invite you to test our #Decentralized Infrastructure by deploying #Upscaling and #Text2Image#AImodels to unleash your creativity and upscale your memories like never before.
Real-ESRGAN, for image restoration; #stablediffusion v2.1 and #waifudiffusion v1.4 to create realistic images and art from descriptions in natural language.
3/5 - We've received some fantastic feedback from users who have tried these new features. It is exciting to see our community members sharing their #aigeneratedart