Find Jobs
Hire Freelancers

Speed Optimization Expert for Forward Passing Through 200 PyTorch Neural Networks in <20ms, on Linux

$15-25 CAD / hour

Closed
Posted 10 days ago

$15-25 CAD / hour

Quick Description: I need a professional who would know how to forward pass through 200 already trained PyTorch neural networks, and obtain their outputs, in <20ms, on a provided Linux server. This task is only for the ML inference step, and not for the training stage. Key Requirements: - Expertise in Python and Machine Learning: You should be well-versed in Python and have a strong understanding of machine learning principles. - Previous Experience in Speed Optimization: Experience in optimizing machine learning inference for high-speed applications is crucial. - Proficiency in PyTorch: Experience working with PyTorch specifically is highly preferred, as this is the library we are currently using. - Expertise in Linux - Knowledgeable about how to parallelize computations. Your responsibilities will include: - Implementing necessary software/code changes to reduce execution time to under 20 ms. - Ensuring the accuracy and reliability of the algorithm are not compromised during optimization (for example, don't employ data quantization) If you can deliver high-quality results within a reasonable timeframe, please reach out. And if you have additional clarifying questions and would like more details from me, I'm happy to help. ____________________________________________________________________________________________________ Detailed Description: The ML algorithm that was developed consists of 200 individual pytorch neural networks (i.e. uses python). The goal is to be able to forward pass through these already trained 200 neural networks, and obtain their outputs, in <20 ms. In the zipped file attached, I include the weights of the 200 neural networks, I include the architecture of the neural network, I include the 2D data matrix that is used as input, and I include various example scripts of different things I've tried. I describe the contents in more detail below (See "Zipped file contents"). On my end, I have set up a Linux server on OVH, where all the experiments are to be conducted; this standardizes the hardware, so the emphasis is on software solutions. Upon accepting this project, we will provide the login information required to ssh into this server. In the home directory of "/home/almalinux", you'll find two folders: miniconda3 and PySpeedTest. The miniconda3 is the folder containing the conda version I installed, and is how I am using Python and managing my packages. With miniconda, I created an environment called "ML", which has PyTorch installed, and allows my scripts to run. I recommend that you create your own new environment if you wish to try additional things out. The PySpeedTest folder is the unzipped folder which is attached to this post, and has all the data and example scripts, if you wish to play around with them. Zipped file contents (in the file PySpeedTest): - Long: Folder that contains 100 of the total 200 neural networks - Short: Folder that contains the other 100 of the total 200 neural networks - [login to view URL]: Pytorch architecture of each of the 200 neural networks. - test_data: numpy array of size 2000 by 22, that represents the input data, for each NN - [login to view URL] - Easiest example to start with; shows how to load the test data and the neural networks. Then, it times how long it takes to forward pass through the 200 NNs in sequence, i.e. back to back. To run in command line: python [login to view URL] - The rest of the python scripts are the various experiments I personally tried, via various multithreading and multiprocessing techniques, to parallelize the computations in an effort to reduce the runtime. The time benchmarks I achieved are: a) Sequential: 94ms b) HighLevelMultiThread (5 threads): 67ms c) LowLevelMultiThread (5 threads):~60-65 ms d) HighLevelMultiProcess (max_workers ? chunksize ?): Didn't stop running for a while. Didn't let it time out. Tried a few different combos of max_workers and chunksize. e) LowLevelMultiProcess (num_cores=4): Didn't stop running for a while. Didn't let it time out. f) MultiProcessThroughBashSpeedTestScript (4 processes): 160 - 500ms. Processes start at the same time, but finish at different times. Core issues I've ran into: 1) Windows versus Linux issue. On my own windows server with identical hardware to the linux server, I achieved the same speeds as on the linux server; BUT all 3 of the multiprocessing scripts (d, e, f) actually worked, where (d) had a runtime of 2.2 seconds, and (e, f) had a runtime of ~47ms. It is only on the Linux server, that 2/3 multiprocessing scripts (d and e) take very long to run, while 1/3 (f) runs significantly slower than the windows server. Seems to be some OS related issue that hampers the multi-processing on the linux server.
Project ID: 38032234

About the project

38 proposals
Remote project
Active 8 days ago

Looking to make some money?

Benefits of bidding on Freelancer

Set your budget and timeframe
Get paid for your work
Outline your proposal
It's free to sign up and bid on jobs
38 freelancers are bidding on average $24 CAD/hour for this job
User Avatar
Hey Good afternoon , Just finished reading the brief details and currently going through attached files . I see you have been looking for someone who has experience with these tech stacks Linux, Machine Learning (ML), Python, Pytorch and Software Architecture. I will request you to review my profile, skills, projects and customer feedbacks to confirm that I will be good fit for this job. I would like you to start the chat so we can discuss the project in detail and we will see how it goes. Questions: 1. These are all the requirements? If not, Please share more detailed requirements. 2. Do you currently have anything done for the job or it has to be done from scratch? 3. What is the timeline to get this done? Why Choose Me? 1. I have done more than 250 major projects only on freelancer.com. 2. I have not received a single bad feedback since last 5-6 years. 3. You will find 5 star feedback on last 100+ major projects which shows my clients are happy with my work. Portfolio: https://www.freelancer.com/u/AwaisChaudhry Timings: 9am - 9pm Eastern Time (I work as a full time freelancer) Thanks and regards, Awais
$34 CAD in 31 days
4.9 (107 reviews)
8.6
8.6
User Avatar
Hi there Adrian D., Good afternoon , Hope you're having a great time. I have skimmed thorough the attachment on your project I'm bidding on your project "Speed Optimization Expert for Forward Passing Through 200 PyTorch Neural Networks in <20ms, on Linux" I am expert in Machine Learning (ML), Software Architecture, Pytorch, Python and Linux. please leave a message on my chat so we can discuss the budget and deadline of the project. I have read your project description and i'm confident i can do this project for you perfectly. Thanks ..
$54 CAD in 858 days
5.0 (45 reviews)
7.4
7.4
User Avatar
Hi, Your project resonates closely with an assignment I recently completed where I successfully parallelized computations through 500 PyTorch neural networks within a stipulated time-frame on Ubuntu server. My expertise saw me reduce run-times by an incredible 40% on average across all tested paradigms. Additionally, proficiency in Python allowed me to create efficient code modifications without compromising on accuracy or reliability, thus ensuring the maintenance of optimal performance while handling multiple neural networks simultaneously. When it comes to speed optimization in Machine Learning (ML) inference stage, my results speak louder than words. Given my previous accomplishments in this domain, I'm confident that I can deliver not just high-quality results but even exceed your expectations by forwarding your 200 trained PyTorch neural networks through their outputs in under 20 milliseconds while preserving data integrity and reliability without resorting to data quantization. With these skills on board, I assure you that this project will be handled seamlessly and efficiently from start to completion administering an adherent strategy to meet all your unique needs and requirements.
$30 CAD in 40 days
5.0 (240 reviews)
7.5
7.5
User Avatar
Hi, I am writing to express my interest in the Speed Optimization Expert position focused on achieving forward passing through 200 PyTorch neural networks in under 20ms on Linux. With a strong background in performance optimization and a deep understanding of PyTorch, I am eager to contribute my expertise to help your team achieve its ambitious goals. Technical Proficiency: My experience in performance optimization spans various domains, including deep learning frameworks like PyTorch. I possess a comprehensive understanding of PyTorch's internals, enabling me to identify bottlenecks and implement efficient solutions to improve computation speed without sacrificing accuracy. Optimization Strategies: I am well-versed in a variety of optimization techniques, including but not limited to algorithmic optimizations, parallelization, memory management, and hardware acceleration. By leveraging these strategies effectively, I can optimize the forward-passing process through multiple neural networks to meet your performance targets. Warm regards,
$20 CAD in 40 days
4.7 (118 reviews)
8.0
8.0
User Avatar
Dear Adrian D.,   We carefully studied the description of your project and we can confirm that we understand your needs and are also interested in your project. Our team has the necessary resources to start your project as soon as possible and complete it in a very short time.   We are 25 years in this business and our technical specialists have strong experience in Python, Linux, Software Architecture, Machine Learning (ML), Pytorch and other technologies relevant to your project.   Please, review our profile https://www.freelancer.com/u/tangramua where you can find detailed information about our company, our portfolio, and the client's recent reviews.   Please contact us via Freelancer Chat to discuss your project in details or let's appoint time for Zoom meeting to meet and discuss your project in details.    Best regards, Sales department Tangram Canada Inc.   
$30 CAD in 5 days
4.5 (135 reviews)
7.9
7.9
User Avatar
Hi, I hope you are doing fine. I have almost 10 years of experience in machine learning algorithms. I can implement various types of artificial intelligence algorithms including yours with Matlab, Python and etc. I have PhD from Tohoku University and have several journal publications on the subjects. You can see portfolio for my previous projects. I read about your project and am interested in working with you. Please send me a message so that we can discuss more. Best regards.
$50 CAD in 40 days
5.0 (46 reviews)
6.8
6.8
User Avatar
Hi Mate, I'm confident I can help optimize your PyTorch inference for <20ms execution time. With expertise in Python, PyTorch, and Linux, I'll ensure accuracy while reducing runtime. Let's discuss details to get started. Please note that this is a placeholder proposal, we can be more specific once we get all the requirements and information required to execute the project.
$20 CAD in 40 days
4.8 (41 reviews)
6.8
6.8
User Avatar
As a seasoned Python developer with over six years of experience, I have honed my skills specifically in machine learning and optimization. Precisely, I have an in-depth understanding and proficiency in PyTorch as well as substantial Linux experience. Your project aligns seamlessly with my expertise and I'm confident I can help you achieve the desired goal of forwarding passing through 200 already trained PyTorch neural networks in less than 20ms. Moreover, your emphasis on software solutions aligns perfectly with my Modus Operandi. Before proceeding with any optimization techniques, I always ensure that there is no compromise on the accuracy and reliability of the algorithm - a critical requirement you've explicitly highlighted. Lastly, I appreciate not relying on hardware to achieve the target speed but rather focusing on software optimizations. This resonates strongly with my philosophy too. To be insightful, parallelizing computations have been a significant focal point for me over my career so far. With a strong penchant for efficiency, I have successfully implemented 'high-speed' machine learning applications without compromising data quantization or overall performance quality. Choosing me for this project guarantees not just expertise, but also an unfailing commitment towards client satisfaction. Let's commence our journey to optimizing your AI operations within microseconds!
$25 CAD in 40 days
5.0 (33 reviews)
6.2
6.2
User Avatar
Hello, Greetings! I have carefully checked your job post and am interested in working with you on this project, as it aligns with my skill set. Please take a look at my profile for confirmation. After talking about it, we should go ahead and finalize the specifics. Please allow me the chance to demonstrate my capabilities. I aspire to be a valuable asset to you and your organization, and I am committed to meeting your expectations with my performance. I am prepared to start immediately and can commit to 40+ hours per week. Thank you
$15 CAD in 40 days
5.0 (10 reviews)
5.4
5.4
User Avatar
Technical Question: How critical is it to maintain the accuracy and reliability of the algorithm while optimizing the speed of the machine learning inference process for the 200 PyTorch neural networks? Critical Technical Questions: 1. Are there any specific constraints or limitations in terms of hardware resources on the provided Linux server that need to be considered during the optimization process? 2. Could you provide additional details on the parallelization requirements for the computations across the 200 neural networks to achieve the sub-20ms target? Proposed Solution: With a strong background in Python, Machine Learning, PyTorch, and Linux, I propose to implement efficient software/code changes to reduce the execution time to under 20ms for the ML inference step. By leveraging my experience in optimizing machine learning inference processes and parallelizing computations effectively, I aim to ensure high-speed performance without compromising the accuracy and reliability of the algorithm. Flexibility with Payment Terms: I am open to discussing flexible payment terms that align with the successful completion of the project milestones. I look forward to further discussing the project details and requirements with you. Please feel free to schedule a meeting or continue the conversation through chat. Best Regards, Rahul
$20 CAD in 7 days
5.0 (5 reviews)
5.3
5.3
User Avatar
Hi, I hope you’re doing well! I’m interested in the job you posted. Based on my experience as a senior software engineer, I believe I could be a good fit. Are you open to a quick chat to discuss the details? I’d love to discuss more about it, and share about my own qualifications. I look forward to hearing from you. Thanks & Regards!
$25 CAD in 40 days
5.0 (9 reviews)
5.3
5.3
User Avatar
Good Day Adrian, Are there specific constraints on acceptable accuracy loss due to potential optimizations? Can you share the hardware specifications of your OVH Linux server (CPU, RAM)? I can help you optimize your PyTorch code to achieve sub-20ms inference speed for your ensemble of 200 pre-trained neural networks. Upon receiving your answers and accessing the server, I can provide a more detailed timeline and cost estimate. By combining my expertise with your insights, we can achieve the desired sub-20ms inference speed for your ensemble of neural networks. Bidding amount is not fixed we can negotiate budget via chat. Please start chat to work together.I can start work immediately . sincerely, Abrar Gulzar PS: Portfolio can be shared on your request via chat
$20 CAD in 40 days
5.0 (4 reviews)
5.5
5.5
User Avatar
As a highly experienced Machine Learning, Deep Learning, and Data Science professional with specialized knowledge in Python and PyTorch, I am well-versed in the intricacies of your project. Throughout my MSc in Artificial Intelligence, I've dealt with similar parallel computing challenges that required reducing runtime without compromising accuracy - a skillset that aligns perfectly with what you need. My meticulous approach to optimization aligns with your project's aims. In numerous past projects, I've been successful in developing and applying techniques to reduce execution time and improve algorithm efficiency, all while maintaining the required level of precision. This includes using techniques like high-level multiprocessing, low-level multithreading and more as demonstrated in your experiment documentation. Moreover, I bring extensive experience working within a Linux environment and a diverse technology stack including CUDA, Azure and AWS which will ensure smooth operation on your OVH Linux server. My ability to adapt quickly to new technologies (like this provided miniconda3) combined with my comprehensive background in machine learning uniquely positions me to fulfill every key requirement of your project. As a result-oriented professional, I am dedicated to not just meeting but exceeding expectations; I guarantee top-quality results delivered within the specified timeframe. With me on board, your project is in safe hands.
$20 CAD in 40 days
5.0 (15 reviews)
5.1
5.1
User Avatar
Dear Adrian D., I have extensive experience in Python, Machine Learning (ML), Linux, PyTorch, and Software Architecture. My expertise includes optimizing machine learning inference for high-speed applications and parallelizing computations for efficient processing. I am confident in my ability to implement the necessary software/code changes to achieve sub-20ms execution time while maintaining algorithm accuracy and reliability. I am eager to discuss how I can contribute to your project and deliver exceptional results within the specified timeframe. Looking forward to the opportunity to collaborate on this exciting project. Best regards,
$15 CAD in 7 days
5.0 (2 reviews)
4.6
4.6
User Avatar
Hello, I understand your requirement to forward pass through 200 already trained PyTorch neural networks and obtain their outputs in under 20 ms on a provided Linux server. Based on your detailed description, I propose the following: Time Estimate: 8-10 hours Budget Estimate: $200-$300 Scope of Work: - Analysis and Understanding - Reviewing the provided zipped file contents and example scripts - Understanding the current implementation and challenges - Optimization and Implementation - Implementing necessary software/code changes to reduce execution time to under 20 ms - Ensuring accuracy and reliability are not compromised during optimization - Utilizing parallelization techniques (e.g., multithreading, multiprocessing) to optimize inference - Testing and Verification - Testing the optimized implementation on the provided Linux server - Verifying the execution time and accuracy of the results Assumptions: - You will provide necessary access and credentials for the Linux server - The provided zipped file contents and example scripts are accurate and up-to-date Deliverables: - Optimized PyTorch inference code with execution time under 20 ms With my expertise in Python, machine learning, and PyTorch, as well as experience in speed optimization, I'm confident in delivering high-quality results within a reasonable timeframe. Please let me know if this proposal meets your expectations, and we can proceed with the project! BR, G.
$20 CAD in 40 days
5.0 (33 reviews)
4.6
4.6
User Avatar
Greetings, To introduce, I am a python engineer and expert in python. I have been working as a freelancer for the last 8 years and I can easily handle this project. I have over 8 years of experience in AWS, Azure, Google Cloud, Linux, Ubuntu, CentOS, RedHat, Windows Server, Apache, Nginx, Jenkins, Docker, MYSQL, Postgress, MongoDB, Flask, Django. Can we have a quick chat to discuss more about this project? Looking forward to hearing from you. Regards, Naveed
$20 CAD in 40 days
5.0 (11 reviews)
4.3
4.3
User Avatar
⭐ Hi, My availability is immediate. I read your project post on Python/AI/ML Developer for Speed Optimization Expert for Forward Passing Through 200 PyTorch Neural Networks. We are experienced full-stack Python developers with skill sets in - Python, Django, Flask, FastAPI, Jupyter Notebook, Selenium, Data Visualization, ETL - React, JavaScript, jQuery, TypeScript, NextJS, React Native - NodeJS, ExpressJS - Web App Development, Data Science, Web/API Scrapping - API Development, Authentication, Authorization - SQLAlchemy, PostegresDB, MySQL, SQLite, SQLServer, Datasets - Web hosting, Docker, Azure, AWS, GPC, Digital Ocean, GoDaddy, Web Hosting - Python Libraries: NumPy, pandas, scikit-learn, tensorflow, etc. - ML Toos: ChatGPT, Llama, Google Bard, OpenAI, Artificial Intelligence, - AWS SageMaker, AWS Bedrock, AWS Machine Learning Services, AWS AI Services - Azure Cognitive Services, Azure Bot Service, Azure QnA Maker, Azure Vision, Azure Document Intelligence, Azure OpenAI - Tableau, PowerBI - AI: Generative AI, Langchain, LLM, RAG - Artificial Intelligence, Machine Learning, Deep Learning, Chatbot Please send a message So we can quickly discuss your project and proceed further. I am looking forward to hearing from you. Thanks
$18 CAD in 40 days
4.3 (17 reviews)
4.3
4.3
User Avatar
Hello Adrian D. After checking the job posting - Speed Optimization Expert for Forward Passing Through 200 PyTorch Neural Networks in <20ms, on Linux, I felt that your project was similar to one I had worked on before. I have undertaken similar projects to ensure I can provide you with satisfactory results. I can start your project right away and you would be interested in discussing the project details. Thank you for taking the time to review our letter. I look forward to hearing from you regarding further steps. thank you Paulo
$34 CAD in 37 days
5.0 (1 review)
2.6
2.6
User Avatar
❤️ Hi ❤️ Equipped with robust Python, PyTorch, and Linux expertise, I'm prepared to optimize your PyTorch neural network inference speed to under 20ms. My experience in parallelizing computations and optimizing ML algorithms ensures efficient execution. I'll tackle OS-related challenges head-on to meet your project goals. Let's collaborate to deliver high-quality results promptly. Warm Regards, Tetiana.
$20 CAD in 40 days
3.2 (1 review)
2.6
2.6
User Avatar
As an experienced Python developer with a deep understanding of machine learning principles, I am more than proficient to handle your project's speed optimization demands. My longstanding expertise encompasses large scale data processing and clear-cut solutions in Python, aligning perfectly with your task of optimizing 200 PyTorch networks for ML inference on a Linux server. Having worked extensively in parallelizing computations, I assure you that I can efficiently implement the necessary software/code changes to ensure your desired execution time of under 20ms. PyTorch has been one of my major tools throughout my adaptable career, and I'm well-versed in harnessing its capabilities to achieve high-speed and accurate machine learning inferences. My finesse also extends to Linux environment, which you've emphasized as important, ensuring the software solutions we develop together fully leverage the standard hardware you've arranged. More importantly, my track record of delivering high-quality work within set deadlines is proven. I understand the importance of reliable algorithms in real applications; therefore, rest assured that I will optimize your network inference without compromising any accuracy or reliability. Let me prove this to you: let's connect!
$20 CAD in 40 days
0.0 (0 reviews)
0.0
0.0

About the client

Flag of CANADA
Montreal, Canada
4.5
6
Payment method verified
Member since Mar 19, 2008

Client Verification

Thanks! We’ve emailed you a link to claim your free credit.
Something went wrong while sending your email. Please try again.
Registered Users Total Jobs Posted
Freelancer ® is a registered Trademark of Freelancer Technology Pty Limited (ACN 142 189 759)
Copyright © 2024 Freelancer Technology Pty Limited (ACN 142 189 759)
Loading preview
Permission granted for Geolocation.
Your login session has expired and you have been logged out. Please log in again.