A cloud instance suggestor
Project description
# Instance-picker Python module to help you pick the cheapest and the best performant instance any where across the globe on any cloud provider
### Introduction Data Science training is a computationally expensive job. With each computataionally expensive job, comes exponential costs. This repo is for Data Scientists to understand in real time to understand the best instance at any point in time which fits the exact need for the dataset and training job they have across any cloud provider
### V0 (suggest.py)
- Python Module which takes
Source data
Instance Name
Cloud Provider
Region
- and outputs
Alternate Instances across different cloud providers same region
Alternate cheapest instance on the same provider same region
Alternate cheapest instance on the same provider any region
Cheapest Instance across any cloud provider same region
Cheapest Instance across any cloud provider any region
- #### Default arguments
Instance Name : p3.16xlarge
Provider : AWS
Region : Price_US_East1
### V1 (instance-suggestor.py)
- Python Module which takes
Source data
Framework (MXNet, Tensorflow, PyTorch)
Network
Dataset
- and outputs
Similar instances across different cards
Fastest instance on all cards
Cheapest instance on all cards
- #### Default arguments
Framework : Tensorflow
Network : ResNet-50 v1.5
Dataset : ImageNet2012
### How To Use
*Requires basic Python packages like numpy, pandas preinstalled*
To run this project, clone the repository and follow below steps.
#### Using as a Python Package You can also do a pip install of the latest version of InstanceSuggestor
` $ pip install InstanceSuggestor $ python3 #open a python shell > import InstanceSuggestor as inst > inst.get_fastest_instance() #outputs result based on default arguments > inst.get_fastest_instance(url, framework, network, dataset) #to make a custom call to function > inst.get_similar_instances(url, framework, network, dataset) > inst.get_cheapest_instance(url, framework, network, dataset) > inst.predictor_sameRegion(url, instance, region) > inst.predictor_anyRegion(url, instance, provider, region) > inst.predictor_cheapest(url, instance, region) > inst.predictor_cheapest2(url, region) > inst.predictor_sameRegion2(url, instance, provider, region) `
### Example Runs
> V1
![Screenshot 2022-03-04 at 4 17 48 PM](https://user-images.githubusercontent.com/30073239/156749629-bc1119bd-75f5-4441-9887-c2aa76a81180.png)
> V0
![Screenshot 2022-03-04 at 4 27 55 PM](https://user-images.githubusercontent.com/30073239/156751131-4da9d119-51c4-4e5c-bbda-7072fe527883.png)
- ### Project Status
Ongoing
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distributions
Hashes for InstanceSuggestor-1.1.2-py3.9.egg
Algorithm | Hash digest | |
---|---|---|
SHA256 | 9ca48da97d1babfde00980d9edfd7d127b2bb8f3d2b8725faad811250d587fd7 |
|
MD5 | a18e404286c7add8de2f59289c22871b |
|
BLAKE2b-256 | 8b405259fd95491a0651ed215208c029be50418e1b59008cd9f50579cbe4db1f |
Hashes for InstanceSuggestor-1.1.2-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | f37ceeb53eebc69d19c71a3d36a1b4b8e4e6ecbae033f27905068bb50c822aba |
|
MD5 | f51cd107dac961781dc8360e19fe85b6 |
|
BLAKE2b-256 | e8c814ecfe10c2271ccaf6a3cb17601e767936c52d31bc5d2fdcf32fd816e11e |