Optimize Faceswap Repo on AWS (roop-unleashed)
€250-750 EUR
Paid on delivery
I am adding video faceswapping to my Electron app software. I am using (link removed) for the faceswapping. It has great docker support making it easy to implement.
On my AWS, I already have the service setup on EC2 with auto scaling groups with a [login to view URL] instance. The roop-unleashed is a public repo that already has a built in API system with Gradio and the EC2 instance is connected with an API Gateway & AWS Lambda for making API calls. In my Electron app, we provide an input face and a target file and this service successfuly faceswaps the video through the API and returns the generated file in an output folder.
IMPORTANT:
Although I already have the service setup, I am considering completely changing everything because it isn't cost effective.
My main issue is that AWS charges by the hour. So if one person decides to run only 1 single faceswap, first they have an annoying 2-3 minute cold start for the instance, and then they faceswap the file. And if they only generate 1 file, we got billed a full hour which is $0.86 for g6.xlarge.
Understanding my customer base is important for this project. I have around 20 people using my software. It's mostly marketing agencies that will need to faceswap short form content for Instagram/TikTok. So the max video length is gonna be 15 seconds and just a few MB max.
I also don't expect more than 5000-10000 videos to be generated per month, and if possible, I would like to keep a budget of $50-100/mo. And with the current system, I could easily exceed $200 as it isn't the most effective.
So I am mostly trying to explore ways to save costs, the main thing I am trying to explore is only paying for the COMPUTING THAT WE ACTUALLY USE, and not being billed by the hour.
I am not deeply educated in AWS, but some things that I considered are AWS Sagemaker, AWS ECS with Fargate. I would like to know if this would be the right fit for my needs. Anything that's gonna allow us to quickly generate videos, preferably avoid 2-3 minute cold starts and only pay for the computing that we use. And since my software only has around 20 users, the faceswap won't be spammed or expect crazy amounts of usage as mentioned earlier. I don't know too much about the 2 methods I mentioned, so I hope to get more insights & professional opinions from someone more educated than me. And at the end of the day, the system I currently have might already be good but just needs better optimization. Also keep in mind since we are faceswapping, GPU matters, CPU only instances can't perform well.
So I am looking for someone to provide me with an effective solution for my problem & estimate the costs for me with the provided solution. Previous experience with faceswapping is preferred, in your application, let me know if you have it and how you would approach my issue. Check out the github repo, it's ready to be dockerized and doesn't require any model training.
IMPORTANT:
I am looking for the best way to perform faceswaps at any time of day and only pay for the computing that we use and avoid cold starts. Is it possible to achieve that, if so, what is the best way to achieve it?
Thanks!
Project ID: #38869356
About the project
30 freelancers are bidding on average €456 for this job
Hello Lunaroow, I understand that you're looking to optimize your existing faceswapping service on AWS to avoid high costs and long cold starts. Since you already have a service setup on EC2, I can evaluate alternativ More
Hello, I trust you're doing well. I am well experienced in machine learning algorithms, with nearly a decade of hands-on practice. My expertise lies in developing various artificial intelligence algorithms, including More
Hi, I’m an AI expert with professional experience in computer vision, with a proven track record of working on complex image processing and AI/ML model development. With skill sets: • Algorithm Development: Strong unde More
With AWS charging system being quite a head-scratcher, I understand your frustration at paying for idle time and outrageous pricing even when handling one simple task. Drawing on my 5+ years of Python development exper More
Hello, I am very happy to work for you. First of all, I am sure I will complete this project within 2 days. Summary of solutions: 1. Implement AWS SageMaker or AWS ECS with Fargate for cost-effective usage. 2. Optim More
I am a specialized writer who has been providing professional writing services since 2017 and I have 800+ reviews with 4.8 ratings. In this industry, to produce 100% output the most important thing is the “CREATIVITY” More
I am Faisal Mahmood, I have more than 10 Years of experience in crafting tailored solutions for success, including; Business Plans, Pitch Decks, Feasibility Reports, Resumes, Cover Letters, and LinkedIn profiles. Over More
I am a seasoned content writer with nearly a decade of expertise, I empower entrepreneurs, startups, and established businesses to articulate their unique value proposition. My portfolio showcases a proven track record More
My name is "Usama Safdar" and I am a Ph.D degree holder which means I am highly-capable to tackle this project "Content Editor " with 100 percent accuracy. I am a professional writer with over 6 years of experience More
My name is Rabia Faisal, I am working in the writing industry since 2011. During this time, I have served countless clients with a full amount of satisfaction by providing them with TOP Quality Solutions. I have comman More
As a Python and Machine Learning specialist, I'm confident that I can provide you with the optimized solution that you need for your AWS setup. While my profile doesn't directly align with faceswapping, my understandin More
As someone who is certified in Cyber Security, I believe I am uniquely qualified to address your issue of managing costs and enhancing performance while ensuring the security of your faceswap service. With solid skills More