Skip to content

Commit 82140a4

Browse files
reset git history - final
0 parents  commit 82140a4

File tree

118 files changed

+13859
-0
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

118 files changed

+13859
-0
lines changed

.cloud/.gitkeep

+1
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
+23
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,23 @@
1+
---
2+
name: Azure ML issue
3+
about: Report an issue with Azure ML
4+
title: ''
5+
labels: 'azureml issue'
6+
assignees: ''
7+
---
8+
9+
## Describe the issue
10+
11+
description:
12+
13+
## Minimal example
14+
15+
```python
16+
from azureml.core import Workspace
17+
18+
ws = Workspace.from_config()
19+
```
20+
21+
## Additional context
22+
23+
-
+23
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,23 @@
1+
---
2+
name: Azure ML feature request
3+
about: Request an Azure ML feature
4+
title: ''
5+
labels: 'azureml request'
6+
assignees: ''
7+
---
8+
9+
## Describe the request
10+
11+
description:
12+
13+
## Minimal example
14+
15+
```python
16+
from azureml.core import Workspace
17+
18+
ws = Workspace.from_config()
19+
```
20+
21+
## Additional context
22+
23+
-
+16
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
1+
---
2+
name: Example issue
3+
about: Report an issue with an example
4+
title: ''
5+
labels: 'example issue'
6+
assignees: ''
7+
---
8+
9+
## Which example? Describe the issue
10+
11+
example:
12+
description:
13+
14+
## Additional context
15+
16+
-
+16
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
1+
---
2+
name: Example request
3+
about: Request an example
4+
title: ''
5+
labels: 'example request'
6+
assignees: ''
7+
---
8+
9+
## What example? Describe it
10+
11+
example:
12+
description:
13+
14+
## Additional context
15+
16+
-

.github/ISSUE_TEMPLATE/repo_issue.md

+15
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
---
2+
name: Repo issue or enhancement request
3+
about: Report an issue or request an enhancement for this repo
4+
title: ''
5+
labels: 'enhancement'
6+
assignees: ''
7+
---
8+
9+
## Describe it
10+
11+
description:
12+
13+
## Additional context
14+
15+
-

.github/PULL_REQUEST_TEMPLATE.md

+15
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
# PR into Azure/azureml-examples
2+
3+
## Checklist
4+
5+
I have:
6+
7+
- [ ] read and followed the contributing guidelines
8+
- [ ] ran `python readme.py` after making changes (per contributing guidelines)
9+
- [ ] added required testing (per contributing guidelines)
10+
11+
## Changes
12+
13+
-
14+
15+
fixes #

.github/labels.yaml

+43
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,43 @@
1+
- name: Ask
2+
description: Define and scope problem and solution
3+
color: #c9ecff
4+
5+
- name: Explore
6+
description: Explore and document data to increase understanding
7+
color: #f0f29b
8+
9+
- name: Experiment
10+
description: Build features and train models
11+
color: #8569c6
12+
13+
- name: Data
14+
description: Get and transform data
15+
color: #1c587c
16+
17+
- name: Model
18+
description: Prepare model for deployment
19+
color: #0b4e82
20+
21+
- name: Deploy
22+
description: Register, package, and deploy model
23+
color: #f79499
24+
25+
- name: Communicate
26+
description: Write reports, create dashboards, summarize findings, etc.
27+
color: #f9f345
28+
29+
- name: succeeded
30+
description: This was successful
31+
color: #67d157
32+
33+
- name: failed
34+
description: This didn't go as hoped
35+
color: #c2021c
36+
37+
- name: on hold
38+
description: Still seems promising, but let's revist later
39+
color: #ffd04f
40+
41+
- name: blocked - need access
42+
description: Blocked due to lack of access to data, resources, environment, etc.
43+
color: #ed9a53

.github/workflows/cleanup.yml

+26
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,26 @@
1+
name: cleanup
2+
on:
3+
schedule:
4+
- cron: "0 8 * * *"
5+
jobs:
6+
build:
7+
runs-on: ubuntu-latest
8+
steps:
9+
- name: check out repo
10+
uses: actions/checkout@v2
11+
- name: setup python
12+
uses: actions/setup-python@v2
13+
with:
14+
python-version: "3.8"
15+
- name: pip install
16+
run: pip install -r requirements.txt
17+
- name: azure login
18+
uses: azure/login@v1
19+
with:
20+
creds: ${{secrets.AZ_AE_CREDS}}
21+
- name: install azmlcli
22+
run: az extension add -s https://azurecliext.blob.core.windows.net/release/azure_cli_ml-1.15.0-py3-none-any.whl -y
23+
- name: attach to workspace
24+
run: az ml folder attach -w default -g azureml-examples
25+
- name: run cleanup script
26+
run: python cleanup.py

.github/workflows/run-notebooks.yml

+39
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,39 @@
1+
name: run-notebooks
2+
on:
3+
schedule:
4+
- cron: "0 0/2 * * *"
5+
push:
6+
branches:
7+
- main
8+
paths:
9+
- "notebooks/**"
10+
pull_request:
11+
branches:
12+
- main
13+
paths:
14+
- "notebooks/**"
15+
jobs:
16+
build:
17+
runs-on: ubuntu-latest
18+
strategy:
19+
matrix:
20+
notebook: ['notebooks/train-lightgbm-local.ipynb']
21+
steps:
22+
- name: check out repo
23+
uses: actions/checkout@v2
24+
- name: setup python
25+
uses: actions/setup-python@v2
26+
with:
27+
python-version: "3.8"
28+
- name: pip install
29+
run: pip install -r requirements.txt
30+
- name: azure login
31+
uses: azure/login@v1
32+
with:
33+
creds: ${{secrets.AZ_AE_CREDS}}
34+
- name: install azmlcli
35+
run: az extension add -s https://azurecliext.blob.core.windows.net/release/azure_cli_ml-1.15.0-py3-none-any.whl -y
36+
- name: attach to workspace
37+
run: az ml folder attach -w default -g azureml-examples
38+
- name: run notebook
39+
run: papermill ${{matrix.notebook}} out.ipynb -k python

.github/workflows/run-tutorial-ai.yml

+35
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,35 @@
1+
name: run-tutorial-ai
2+
on:
3+
schedule:
4+
- cron: "0 0/1 * * *"
5+
pull_request:
6+
branches:
7+
- main
8+
paths:
9+
- tutorials/an-introduction/**
10+
jobs:
11+
build:
12+
runs-on: ubuntu-latest
13+
steps:
14+
- name: check out repo
15+
uses: actions/checkout@v2
16+
- name: setup python
17+
uses: actions/setup-python@v2
18+
with:
19+
python-version: "3.8"
20+
- name: pip install
21+
run: pip install -r requirements.txt
22+
- name: azure login
23+
uses: azure/login@v1
24+
with:
25+
creds: ${{secrets.AZ_AE_CREDS}}
26+
- name: install azmlcli
27+
run: az extension add -s https://azurecliext.blob.core.windows.net/release/azure_cli_ml-1.15.0-py3-none-any.whl -y
28+
- name: attach to workspace
29+
run: az ml folder attach -w default -g azureml-examples
30+
- name: run 1.hello-world.ipynb
31+
run: papermill tutorials/an-introduction/1.hello-world.ipynb - -k python
32+
- name: run 2.pytorch-model.ipynb
33+
run: papermill tutorials/an-introduction/2.pytorch-model.ipynb - -k python
34+
- name: run 3.pytorch-model-cloud-data.ipynb
35+
run: papermill tutorials/an-introduction/3.pytorch-model-cloud-data.ipynb - -k python
+31
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,31 @@
1+
name: run-tutorial-awp
2+
on:
3+
schedule:
4+
- cron: "0 0/2 * * *"
5+
pull_request:
6+
branches:
7+
- main
8+
paths:
9+
- tutorials/automl-with-pycaret/**
10+
jobs:
11+
build:
12+
runs-on: ubuntu-latest
13+
steps:
14+
- name: check out repo
15+
uses: actions/checkout@v2
16+
- name: setup python
17+
uses: actions/setup-python@v2
18+
with:
19+
python-version: "3.8"
20+
- name: pip install
21+
run: pip install -r requirements.txt
22+
- name: azure login
23+
uses: azure/login@v1
24+
with:
25+
creds: ${{secrets.AZ_AE_CREDS}}
26+
- name: install azmlcli
27+
run: az extension add -s https://azurecliext.blob.core.windows.net/release/azure_cli_ml-1.15.0-py3-none-any.whl -y
28+
- name: attach to workspace
29+
run: az ml folder attach -w default -g azureml-examples
30+
- name: run 1.classification.ipynb
31+
run: papermill tutorials/automl-with-pycaret/1.classification.ipynb - -k python

.github/workflows/run-tutorial-de.yml

+31
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,31 @@
1+
name: run-tutorial-de
2+
on:
3+
schedule:
4+
- cron: "0 0/2 * * *"
5+
pull_request:
6+
branches:
7+
- main
8+
paths:
9+
- tutorials/deploy-edge/**
10+
jobs:
11+
build:
12+
runs-on: ubuntu-latest
13+
steps:
14+
- name: check out repo
15+
uses: actions/checkout@v2
16+
- name: setup python
17+
uses: actions/setup-python@v2
18+
with:
19+
python-version: "3.8"
20+
- name: pip install
21+
run: pip install -r requirements.txt
22+
- name: azure login
23+
uses: azure/login@v1
24+
with:
25+
creds: ${{secrets.AZ_AE_CREDS}}
26+
- name: install azmlcli
27+
run: az extension add -s https://azurecliext.blob.core.windows.net/release/azure_cli_ml-1.15.0-py3-none-any.whl -y
28+
- name: attach to workspace
29+
run: az ml folder attach -w default -g azureml-examples
30+
- name: run ase-gpu.ipynb
31+
run: papermill tutorials/deploy-edge/ase-gpu.ipynb - -k python

.github/workflows/run-tutorial-dt.yml

+37
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,37 @@
1+
name: run-tutorial-dt
2+
on:
3+
schedule:
4+
- cron: "0 */2 * * *"
5+
pull_request:
6+
branches:
7+
- main
8+
paths:
9+
- tutorials/deploy-triton/**
10+
jobs:
11+
build:
12+
runs-on: ubuntu-latest
13+
steps:
14+
- name: check out repo
15+
uses: actions/checkout@v2
16+
- name: setup python
17+
uses: actions/setup-python@v2
18+
with:
19+
python-version: "3.8"
20+
- name: pip install
21+
run: pip install -r requirements.txt
22+
- name: azure login
23+
uses: azure/login@v1
24+
with:
25+
creds: ${{secrets.AZ_AE_CREDS}}
26+
- name: install azmlcli
27+
run: az extension add -s https://azurecliext.blob.core.windows.net/release/azure_cli_ml-1.15.0-py3-none-any.whl -y
28+
- name: attach to workspace
29+
run: az ml folder attach -w default -g azureml-examples
30+
- name: run 0.write-files.ipynb
31+
run: papermill tutorials/deploy-triton/0.write-files.ipynb - -k python
32+
- name: run 1.densenet-local.ipynb
33+
run: echo "fix me :("
34+
# run: papermill tutorials/deploy-triton/1.densenet-local.ipynb - -k python
35+
- name: run 2.bidaf-aks-v100.ipynb
36+
run: echo "fix me :("
37+
# run: papermill tutorials/deploy-triton/2.bidaf-aks-v100.ipynb - -k python

0 commit comments

Comments
 (0)