element14 Community
element14 Community
    Register Log In
  • Site
  • Search
  • Log In Register
  • About Us
  • Community Hub
    Community Hub
    • What's New on element14
    • Feedback and Support
    • Benefits of Membership
    • Personal Blogs
    • Members Area
    • Achievement Levels
  • Learn
    Learn
    • Ask an Expert
    • eBooks
    • element14 presents
    • Learning Center
    • Tech Spotlight
    • STEM Academy
    • Webinars, Training and Events
    • Learning Groups
  • Technologies
    Technologies
    • 3D Printing
    • FPGA
    • Industrial Automation
    • Internet of Things
    • Power & Energy
    • Sensors
    • Technology Groups
  • Challenges & Projects
    Challenges & Projects
    • Design Challenges
    • element14 presents Projects
    • Project14
    • Arduino Projects
    • Raspberry Pi Projects
    • Project Groups
  • Products
    Products
    • Arduino
    • Avnet Boards Community
    • Dev Tools
    • Manufacturers
    • Multicomp Pro
    • Product Groups
    • Raspberry Pi
    • RoadTests & Reviews
  • Store
    Store
    • Visit Your Store
    • Choose another store...
      • Europe
      •  Austria (German)
      •  Belgium (Dutch, French)
      •  Bulgaria (Bulgarian)
      •  Czech Republic (Czech)
      •  Denmark (Danish)
      •  Estonia (Estonian)
      •  Finland (Finnish)
      •  France (French)
      •  Germany (German)
      •  Hungary (Hungarian)
      •  Ireland
      •  Israel
      •  Italy (Italian)
      •  Latvia (Latvian)
      •  
      •  Lithuania (Lithuanian)
      •  Netherlands (Dutch)
      •  Norway (Norwegian)
      •  Poland (Polish)
      •  Portugal (Portuguese)
      •  Romania (Romanian)
      •  Russia (Russian)
      •  Slovakia (Slovak)
      •  Slovenia (Slovenian)
      •  Spain (Spanish)
      •  Sweden (Swedish)
      •  Switzerland(German, French)
      •  Turkey (Turkish)
      •  United Kingdom
      • Asia Pacific
      •  Australia
      •  China
      •  Hong Kong
      •  India
      •  Korea (Korean)
      •  Malaysia
      •  New Zealand
      •  Philippines
      •  Singapore
      •  Taiwan
      •  Thailand (Thai)
      • Americas
      •  Brazil (Portuguese)
      •  Canada
      •  Mexico (Spanish)
      •  United States
      Can't find the country/region you're looking for? Visit our export site or find a local distributor.
  • Translate
  • Profile
  • Settings
Project Videos
  • Challenges & Projects
  • element14 presents
  • Project Videos
  • More
  • Cancel
Project Videos
Documents Home AI Image Generation Server with LattePanda and Stable Diffusion -- Episode-648
  • Documents
  • Members
  • Mentions
  • Sub-Groups
  • Tags
  • More
  • Cancel
  • New
Join Project Videos to participate - click to join for free!
Related
Recommended
Engagement
  • Author Author: tariq.ahmad
  • Date Created: 27 Mar 2024 2:01 PM Date Created
  • Last Updated Last Updated: 29 Mar 2024 1:47 PM
  • Views 1904 views
  • Likes 9 likes
  • Comments 9 comments

Home AI Image Generation Server with LattePanda and Stable Diffusion -- Episode-648

Join Clem as he shares his journey of creating a dedicated server for AI image generation, addressing the increasing demand for local image generation solutions amidst concerns over online services' limitations and privacy issues. As AI image generation gains popularity, many turn to online services, but for commercial and confidential applications, local generation becomes more desirable. However, running intensive processes on everyday work machines can lead to hardware damage and system failures, as Clem experienced firsthand while attempting to run Stable Diffusion on multiple GPUs, resulting in a complete system crash and reinstall. 

Watch the Video:

You don't have permission to edit metadata of this video.
Edit media
x
image
Upload Preview
image
 

image

The solution lies in building specialized hardware accessible from any networked computer to serve as a dedicated shared resource. Clem's approach combines repurposed server motherboards with optimized CPUs, such as Xeon processors with low core count and high boost clocks, for efficient local AI processing. Single-board computers (SBCs) emerge as ideal candidates due to their computational power and ease of integration with image generation software like Stable Diffusion, with x86 architecture being a key consideration for compatibility. 

image

Clem opts for LattePanda Alpha and Delta SBCs, both x86-based with ample RAM and NVMe ports, facilitating GPU connection via NVMe to PCIe adapters. While sacrificing M.2 SSD slots for GPU connectivity, Clem prioritizes data security by storing generated images and model data on dedicated SATA SSDs, ensuring easy system recovery if needed. With focus on capability rather than speed, Clem designs an affordable yet powerful AI server costing under €500, offering greater control and customization compared to online services. 

image 

Demonstrating the server's versatility, Clem showcases custom-trained models for image generation, emphasizing its suitability for sensitive applications like concept designs and R&D projects. Through practical examples, Clem illustrates the server's efficiency in generating motion backgrounds for social media ads within minutes, highlighting its potential for various commercial and creative endeavors. With the option for airgapped operation, Clem's homemade AI server provides an alternative to online services, prompting reflection on the future role of dedicated AI hardware in computing.

image

Downloads and Links:

  • Download CAD Files!

Supporting Videos

You don't have permission to edit metadata of this video.
Edit media
x
image
Upload Preview
image

You don't have permission to edit metadata of this video.
Edit media
x
image
Upload Preview
image

Bill of Materials:

Product Name Manufacturer Quantity Buy Kit
Lattepanda Alpha DFRobot 1 Buy Now
Lattepanda delta Dfrobot 1 Buy Now
 

Additional Parts:

Used GPU , in this video Clem used a Nvidia Quadro M4000 8GB which you can find used for about 200€
  • Affordable AI server
  • AI image generation server
  • Image generation solution
  • Local image generation hardware
  • Homemade AI server
  • Networked image processing solution
  • Local AI processing
  • Single-board computer for image processing
  • GPU-accelerated image generation
  • Custom image generation setup
  • Dedicated AI server
  • Custom AI hardware
  • LattePanda Alpha image processing
  • friday_release
  • e14p_CMM
  • Stable Diffusion on SBC
  • DIY AI server
  • Share
  • History
  • More
  • Cancel
Actions
  • Share
  • More
  • Cancel
  • Sign in to reply
  • mayermakes
    mayermakes over 1 year ago in reply to koudelad

    I did a project with the beaglebone AI before it came out, it had only pretrained models for crude image recognition at that point but worked.
    with the BeagleY-Ai coming up there migth be anew leap forward in edge Ai appliactions.

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • More
    • Cancel
  • koudelad
    koudelad over 1 year ago in reply to mayermakes

    I also have to say I was very surprised when I found out there are graphic cards without any output monitor port Slight smile

    Have you tried any special purpose embedded HW, like Google Coral or any other USB attached TPU, or BeagleBone AI etc.? I have no idea what typical tasks it can handle. We have general benchmarks for CPUs and GPUs, but I don't know about anything AI related, that could give the customer idea, what the HW can handle...

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • More
    • Cancel
  • mayermakes
    mayermakes over 1 year ago in reply to koudelad

    Yes, the main point of the video is to show how you can easily run a local instance on tiny local hardware, by focussing on the exact task and optimizing for it the energy used for these models can be cut down severly. people only think about huge datacenters with massive servers, but these are only needed when time to result and the amount of users is ciritcal. for single user applications and if you have time to spare a low budget local instance is all you need.

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • More
    • Cancel
  • mayermakes
    mayermakes over 1 year ago in reply to DAB

    I used soem quite old cards and the only requirement seems to be cuda cores. older cards just take longer and the restriction of what you can run is mainly limited by available VRAM

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • More
    • Cancel
  • mayermakes
    mayermakes over 1 year ago in reply to dougw

    oh yes that works pretty good ,you can for example generate patterns like dust and clouds and animate them which can be used as effect overlays in animations or to lighten up backgrounds.

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • More
    • Cancel
  • koudelad
    koudelad over 1 year ago

    Great episode. I remember when cloud computing started, but current trend is going back to so called edge computing. Privacy, power consumption and price can win over instantly available, but expensive high processing power.

    I would like to use AI for local searches through photos, videos, documents.

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • More
    • Cancel
  • DAB
    DAB over 1 year ago

    Interesting project.

    I have an NVDIA graphics card so I need to explore if this is a good way to use it.

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • More
    • Cancel
  • dougw
    dougw over 1 year ago

    I would likely use it to make special effects for my blogs.

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • More
    • Cancel
  • mayermakes
    mayermakes over 1 year ago

    What Ai applications would you run locally?

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • More
    • Cancel
element14 Community

element14 is the first online community specifically for engineers. Connect with your peers and get expert answers to your questions.

  • Members
  • Learn
  • Technologies
  • Challenges & Projects
  • Products
  • Store
  • About Us
  • Feedback & Support
  • FAQs
  • Terms of Use
  • Privacy Policy
  • Legal and Copyright Notices
  • Sitemap
  • Cookies

An Avnet Company © 2025 Premier Farnell Limited. All Rights Reserved.

Premier Farnell Ltd, registered in England and Wales (no 00876412), registered office: Farnell House, Forge Lane, Leeds LS12 2NE.

ICP 备案号 10220084.

Follow element14

  • X
  • Facebook
  • linkedin
  • YouTube