8bc3ada5028661b5f42cf624f7f88444d22ec7f0,studio/ec2cloud_worker.py,EC2WorkerManager,_get_image_id,#EC2WorkerManager#,98
Before Change
self.logger.warn("User startup script argument is deprecated")
def _get_image_id(self):
return "ami-cd0f5cb6" // vanilla ubuntu 16.04 image
// return "ami-b5f576cf" // studio.ml gpu image with python2 and python3
def _get_block_device_mappings(self, resources_needed):
After Change
def _get_image_id(self):
price_path = os.path.join(os.path.dirname(__file__), "aws/aws_amis.yaml")
with open(price_path) as f:
ami_dict = yaml.loads(f.read())
region = self.client._client_config.region_name
image_type = "ubuntu16.04"
return ami_dict[image_type][region]
def _get_block_device_mappings(self, resources_needed):
return [{
"DeviceName": "/dev/sda1",
In pattern: SUPERPATTERN
Frequency: 3
Non-data size: 7
Instances
Project Name: studioml/studio
Commit Name: 8bc3ada5028661b5f42cf624f7f88444d22ec7f0
Time: 2017-11-17
Author: peter.zhokhov@sentient.ai
File Name: studio/ec2cloud_worker.py
Class Name: EC2WorkerManager
Method Name: _get_image_id
Project Name: QUANTAXIS/QUANTAXIS
Commit Name: abe5858bdd8ec63beaa0437c8b896f5d9af57777
Time: 2017-05-07
Author: yutiansut@qq.com
File Name: QUANTAXIS/QAFetch/QATushare.py
Class Name:
Method Name: QA_fetch_get_stock_day
Project Name: alfredfrancis/ai-chatbot-framework
Commit Name: 3c75af0232f645941d7a5c85d0ad1a0b43e6d014
Time: 2016-07-04
Author: alfred.francis@pearldatadirect.com
File Name: ikyActions/actions.py
Class Name:
Method Name: checkTransactionStatus