Commit 75871dcf authored by Daniele Venzano's avatar Daniele Venzano 🏇

Add AML ZApp.

parent 83766342
Pipeline #11905 passed with stages
in 1 minute
......@@ -26,16 +26,20 @@ test:json:
script:
- python gen_json.py
- python /scripts/validate.py ${ZOE_VALIDATION_URL} pydatasci.json
- python /scripts/validate.py ${ZOE_VALIDATION_URL} pydatasci-malis.json
- python /scripts/validate.py ${ZOE_VALIDATION_URL} pydatasci-aml.json
- python /scripts/validate.py ${ZOE_VALIDATION_URL} pydatasci-gpu.json
artifacts:
paths:
- pydatasci.json
- pydatasci-gpu.json
- pydatasci-malis.json
- pydatasci-aml.json
- manifest.json
- logo.png
- README-datascience.md
- README-malis.md
- README-aml.md
- images
push:hub:
......
# Notebook for AML Eurecom course
AML: Algorithmic Machine Learning
This ZApp contains a Jupyter Notebook with a Python 3.5 kernel and the following libraries:
* Tensorflow 1.10.1, Tensorboard 1.10.0
* Pytorch and TorchVision 0.4.1
* pandas, matplotlib, scipy, seaborn, scikit-learn, scikit-image, sympy, cython, patsy, statsmodel, cloudpickle, dill, numba, bokeh
......@@ -44,7 +44,6 @@ def nb_service(memory_limit, core_limit, image, gpu=False):
"""
:rtype: dict
"""
mem_limit_mb = memory_limit / (1024**2)
service = {
'name': "py-notebook",
'image': image,
......@@ -105,6 +104,13 @@ if __name__ == '__main__':
app['services'][0]['labels'] = ['labs']
json.dump(app, open("pydatasci-malis.json", "w"), sort_keys=True, indent=4)
app['services'][0]['resources']['memory']['min'] = 10 * (1024**3)
app['services'][0]['resources']['memory']['max'] = 10 * (1024**3)
app['services'][0]['resources']['cores']['min'] = 4
app['services'][0]['resources']['cores']['max'] = 4
app['services'][0]['labels'] = ['labs']
json.dump(app, open("pydatasci-aml.json", "w"), sort_keys=True, indent=4)
app = {
'name': APP_NAME + '-gpu',
'version': ZOE_APPLICATION_DESCRIPTION_VERSION,
......
......@@ -16,6 +16,13 @@
"description": "pydatasci-malis.json",
"parameters": []
},
{
"category": "Labs",
"readable_descr": "README-aml.md",
"name": "AML",
"description": "pydatasci-aml.json",
"parameters": []
},
{
"category": "Data science",
"readable_descr": "README-datascience.md",
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment