Optimize Faceswap Repo on AWS (roop-unleashed)

Closed Posted 2 weeks ago Paid on delivery
Closed 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!

Amazon Web Services Python Docker Git Machine Learning (ML)

Project ID: #38869356

About the project

30 proposals Remote project Active 2 weeks ago

30 freelancers are bidding on average €456 for this job

AwaisChaudhry

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

€750 EUR in 13 days
(25 Reviews)
7.7
sajjadtaghvaeifr

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

€700 EUR in 7 days
(51 Reviews)
7.0
ahmadayaz

With over a decade of experience in Full Stack Development, WordPress, Mobile App Design, SAAS Development, and more, I have a proven track record of delivering successful projects to organizations of all sizes. I ca More

€675 EUR in 5 days
(5 Reviews)
6.4
amirrmusavifr

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

€500 EUR in 7 days
(16 Reviews)
5.7
elhadfi

Hey there, I am a Python developer with experience in AWS, Docker, and GPU-accelerated applications, including video processing. I can help you optimize your current setup for cost-effectiveness and performance. Based More

€500 EUR in 3 days
(18 Reviews)
5.2
trm66614

Hi there,Good morning I am Talha. I have read you project details i saw you need help with Docker, Machine Learning (ML), Python, Amazon Web Services and Git I am writing to propose an innovative approach to tackle yo More

€250 EUR in 8 days
(5 Reviews)
4.7
sarbtech123

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

€390 EUR in 5 days
(22 Reviews)
4.4
VasiliosMakris

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

€250 EUR in 2 days
(6 Reviews)
3.1
jonsykes4

Hello As a seasoned freelance developer, I bring a comprehensive skill set that aligns perfectly with your project needs. My extensive experience in programming languages and development frameworks will ensure an effic More

€500 EUR in 7 days
(2 Reviews)
3.1
rmttdmkk

Welcome As a cloud infrastructure and ML deployment specialist with hands-on experience optimizing GPU-accelerated workloads on AWS, I am excited to apply for this faceswapping optimization project. I have direct expe More

€500 EUR in 7 days
(4 Reviews)
3.0
HelpingHut

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

€250 EUR in 1 day
(5 Reviews)
2.7
assignsolver

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

€250 EUR in 1 day
(3 Reviews)
3.0
IdealExpert

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

€250 EUR in 1 day
(2 Reviews)
2.6
mihajlom3

Hi ! I have to say, this job post really stuck out to me – I’m a perfect fit for this project-Optimize Faceswap Repo on AWS (roop-unleashed). I have carefully reviewed your project requirements and I am confident th More

€300 EUR in 4 days
(1 Review)
2.2
PentabayC

Hello Lunaroow, I am Vijay, a seasoned professional with 16 years of expertise in Python and Amazon Web Services. I have carefully reviewed your project requirements and understand the challenges you are facing with t More

€250 EUR in 10 days
(2 Reviews)
1.8
SolutionMart

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

€250 EUR in 1 day
(2 Reviews)
1.4
TopWritingGuru

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

€250 EUR in 1 day
(1 Review)
1.0
Steff999

Hi I am Stefan from Serbia. I have carefully read your job description "Optimize Faceswap Repo on AWS (roop-unleashed)". I am confident that I will be able to complete your job perfectly with my proficiency in skills More

€555 EUR in 7 days
(0 Reviews)
0.0
pablomontoro040

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

€500 EUR in 2 days
(0 Reviews)
0.0
ExpertGlen1

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

€250 EUR in 1 day
(0 Reviews)
0.0