Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

GCP #114

Closed
wants to merge 182 commits into from
Closed

GCP #114

Show file tree
Hide file tree
Changes from 1 commit
Commits
Show all changes
182 commits
Select commit Hold shift + click to select a range
a0ab9b6
Re-org
gogasca Jul 26, 2019
1441344
Bump tensorflow from 1.5.0 to 1.12.2 in /tutorials/sklearn/titanic
dependabot[bot] Jul 26, 2019
4076c29
Bump flask from 0.12.3 to 1.0 in /tutorials/sklearn/gae_serve
dependabot[bot] Jul 26, 2019
c7e45f6
Bump tensorflow from 1.4.1 to 1.12.2 in /gce/burst-training
dependabot[bot] Jul 26, 2019
4d6e1e9
Update links
gogasca Jul 26, 2019
00f825e
Merge pull request #63 from GoogleCloudPlatform/dependabot/pip/gce/bu…
gogasca Jul 26, 2019
0a70a51
Merge pull request #62 from GoogleCloudPlatform/dependabot/pip/tutori…
gogasca Jul 26, 2019
424d77f
Merge pull request #61 from GoogleCloudPlatform/dependabot/pip/tutori…
gogasca Jul 26, 2019
9ba0ffc
Initial commit
ksalama Jul 30, 2019
6b2f754
Update README.md
ksalama Jul 30, 2019
3f50e21
Merge pull request #64 from ksalama/master
gogasca Jul 30, 2019
81cc022
Update ml-engine with ai-platform
gogasca Jul 31, 2019
d2689d3
Create convert_b64.py
gogasca Aug 6, 2019
a5b0a6d
Create convert_b64_api.py
gogasca Aug 6, 2019
eecefc3
Update 02-Training-Serving-TF-Models.ipynb
gogasca Aug 7, 2019
e1b4a5b
Update convert_b64.py
gogasca Aug 8, 2019
3991f92
Update convert_b64_api.py
gogasca Aug 8, 2019
9569979
WIP: update example zoo tools, use gitpython, split config yaml by re…
dizcology Aug 9, 2019
b0207dc
regenerate tfp examples with updated tool
dizcology Aug 9, 2019
c06752e
update README for the tool
dizcology Aug 9, 2019
f6eccac
remove unnecessary imports
dizcology Aug 9, 2019
2c295a6
refactor requires in setup.py
dizcology Aug 9, 2019
e1f8691
cleanup
dizcology Aug 9, 2019
1790b19
add mnist; add job dir flags
dizcology Aug 9, 2019
6c1a42a
ignore tests from source
dizcology Aug 9, 2019
90e5c62
update mnist test
dizcology Aug 9, 2019
1d1ba66
make module_path optional
dizcology Aug 10, 2019
ea49612
ignore test data
dizcology Aug 10, 2019
0d4a3fd
experimental: automatically identify dependency files in package
dizcology Aug 11, 2019
2c4c021
include only minimal source files
dizcology Aug 11, 2019
74027b1
Create README.md file
gogasca Aug 12, 2019
fd7f352
Merge pull request #65 from GoogleCloudPlatform/bert_experiment
gogasca Aug 12, 2019
d968d1f
Update README.md
gogasca Aug 12, 2019
304118e
Update README.md
gogasca Aug 12, 2019
ce116d5
Update README.md
gogasca Aug 12, 2019
e518f09
Update README.md
gogasca Aug 12, 2019
c8f9d8e
Update README.md
gogasca Aug 12, 2019
50e7540
fix mnist example
dizcology Aug 12, 2019
1882406
cleanup
dizcology Aug 12, 2019
4363611
support replace; add keras cifar resnet
dizcology Aug 13, 2019
f62c082
fix keras cifar resnet test
dizcology Aug 13, 2019
392c022
Update README.md
gogasca Aug 13, 2019
f7e60f8
Update README.md
gogasca Aug 13, 2019
5aa4cb5
Update README.md
gogasca Aug 13, 2019
c9d94c1
Update convert_b64.py
gogasca Aug 13, 2019
3ffe9f1
Update convert_b64_api.py
gogasca Aug 13, 2019
78680b6
Create Dockerfile
gogasca Aug 13, 2019
6d4f9ca
Update Dockerfile
gogasca Aug 13, 2019
6c5b473
Create script.sh
gogasca Aug 13, 2019
d625367
Change permissions
gogasca Aug 13, 2019
d687e5b
Update to dont ask for password
gogasca Aug 13, 2019
2b37476
Update start.sh
gogasca Aug 13, 2019
4e58d4b
Update README.md
gogasca Aug 13, 2019
112a22c
Update README.md
gogasca Aug 13, 2019
b521c45
Update Dockerfile
gogasca Aug 13, 2019
5b2b3db
Update README.md
gogasca Aug 13, 2019
f1120bc
Update README.md
gogasca Aug 13, 2019
b7a7ad4
add keras imagenet resnet example
dizcology Aug 13, 2019
0563fc1
add recommendation example
dizcology Aug 14, 2019
9a6fcc7
Update Dockerfile
gogasca Aug 14, 2019
90e17f5
Update start.sh
gogasca Aug 14, 2019
d4d41b1
Update README.md
gogasca Aug 14, 2019
11fedc7
Update Dockerfile
gogasca Aug 14, 2019
5e6966d
fix conflict
andrewferlitsch Aug 14, 2019
aa65c62
Merge branch 'andrewferlitsch-patch-1'
andrewferlitsch Aug 14, 2019
6da2f46
Merge pull request #69 from GoogleCloudPlatform/example_zoo_tfmodels
andrewferlitsch Aug 14, 2019
10f10f1
Update README.md
gogasca Aug 14, 2019
6112b76
ML Flow tutorial in GCP
gogasca Aug 16, 2019
972c9c1
Update MLProjects
gogasca Aug 18, 2019
f580e3d
Merge branch 'master' into mlflow
gogasca Aug 18, 2019
e0009e2
Merge pull request #70 from GoogleCloudPlatform/mlflow
gogasca Aug 18, 2019
2bd31ca
Update Docker files
gogasca Aug 19, 2019
2b06801
Update file
gogasca Aug 19, 2019
4933a7c
Merge branch 'mlflow' of https://github.com/GoogleCloudPlatform/ml-on…
gogasca Aug 19, 2019
e021215
Merge pull request #71 from GoogleCloudPlatform/mlflow
gogasca Aug 19, 2019
c03a421
Update README.md
dizcology Aug 19, 2019
b4115f2
Update utils.py
gogasca Aug 19, 2019
1270166
Update task.py
gogasca Aug 19, 2019
4b1b375
Update README.md
gogasca Aug 19, 2019
4e29e27
Add tracking URI support
gogasca Aug 19, 2019
454feca
Merge pull request #72 from GoogleCloudPlatform/mlflow
gogasca Aug 19, 2019
90153a9
Handle remote GCS files
gogasca Aug 20, 2019
dad1e0c
Update README.md
dizcology Aug 20, 2019
5632424
Bump werkzeug from 0.13 to 0.15.3 in /gce/burst-training
dependabot[bot] Aug 21, 2019
c4a5e1e
Bump werkzeug from 0.14.1 to 0.15.3 in /dlvm/nvidia/webapp
dependabot[bot] Aug 21, 2019
b27f88c
Update
gogasca Aug 23, 2019
bda31e4
Update requirements.txt
gogasca Aug 23, 2019
075708c
Create setup.py
gogasca Aug 23, 2019
744143f
Merge pull request #74 from GoogleCloudPlatform/dependabot/pip/dlvm/n…
gogasca Sep 1, 2019
a3ca141
Merge pull request #73 from GoogleCloudPlatform/dependabot/pip/gce/bu…
gogasca Sep 1, 2019
8079ada
tfp examples update (#75)
dizcology Sep 3, 2019
19be423
add missing template file (#76)
dizcology Sep 16, 2019
d53e1b0
Adding scripts to run BERT QA finetuning on GCP
qvantvm Oct 15, 2019
2e86eff
Adding the actual python notebook
qvantvm Oct 16, 2019
7327eaa
Adding speech recognition asset: Jasper
qvantvm Oct 18, 2019
0c85f0b
Bump pillow from 5.4.1 to 6.2.0 in /dlvm/nvidia/webapp
dependabot[bot] Oct 22, 2019
b23996b
Add samples
sararob Nov 20, 2019
2f9accd
Add samples (#79)
sararob Nov 21, 2019
afe6d8f
Update ai-explanations-image.ipynb
dizcology Nov 21, 2019
dcccc01
Update ai-explanations-tabular.ipynb
dizcology Nov 21, 2019
57719b7
Merge branch 'master' into master
gogasca Nov 24, 2019
da2195b
Create convert_to_base64_resize.py
gogasca Dec 12, 2019
26f68d6
Cleanup: Update parameters to be able to run job succesfully
gogasca Dec 18, 2019
ad15d51
Merge branch 'master' into mlflow
gogasca Dec 18, 2019
de70c9f
Merge pull request #83 from GoogleCloudPlatform/mlflow
gogasca Dec 18, 2019
8358c54
Update batch-size
gogasca Dec 18, 2019
33156ee
Merge branch 'mlflow' of https://github.com/GoogleCloudPlatform/ml-on…
gogasca Dec 18, 2019
a38efdb
Delete .gitignore
gogasca Dec 18, 2019
3e8e883
Delete Project.xml
gogasca Dec 18, 2019
5b9f896
Delete dbnavigator.xml
gogasca Dec 18, 2019
c70e29e
Delete profiles_settings.xml
gogasca Dec 18, 2019
50d14a0
Delete misc.xml
gogasca Dec 18, 2019
01f3582
Delete ml-on-gcp.iml
gogasca Dec 18, 2019
71ce972
Delete vcs.xml
gogasca Dec 18, 2019
a8599bd
Delete modules.xml
gogasca Dec 18, 2019
038706a
Merge pull request #84 from GoogleCloudPlatform/mlflow
gogasca Dec 18, 2019
0e5c015
Merge branch 'master' into dependabot/pip/dlvm/nvidia/webapp/pillow-6…
gogasca Dec 18, 2019
38cdb90
Merge pull request #78 from GoogleCloudPlatform/dependabot/pip/dlvm/n…
gogasca Dec 18, 2019
d63ba84
Merge branch 'master' into master
gogasca Dec 18, 2019
6cd22a4
Merge pull request #77 from qvantvm/master
gogasca Dec 18, 2019
37d2a3f
Cleanup MLprojects
gogasca Dec 19, 2019
7fd83fb
Merge branch 'mlflow' of https://github.com/GoogleCloudPlatform/ml-on…
gogasca Dec 19, 2019
b9a98cf
Merge pull request #85 from GoogleCloudPlatform/mlflow
gogasca Dec 19, 2019
3bda76c
Fix sanity check in image explanations notebook
sararob Jan 3, 2020
997fbe2
Update explanations notebooks to use CAIP 1.15 runtime
sararob Jan 8, 2020
1f8cfdf
Update to image explanations notebook (#86)
sararob Jan 8, 2020
97f3311
Bump tensorflow from 1.12.2 to 1.15.2 in /gce/burst-training
dependabot[bot] Jan 28, 2020
82ec83a
Bump tensorflow from 1.12.2 to 1.15.2 in /tutorials/sklearn/titanic
dependabot[bot] Jan 28, 2020
1762e95
Merge branch 'master' of https://github.com/GoogleCloudPlatform/ml-on…
sararob Feb 14, 2020
feccfc5
Update tabular XAI sample to include feature mapping
sararob Feb 14, 2020
ded0e62
Update tabular notebook from feedback
sararob Feb 17, 2020
76483fe
Update XAI tabular sample (#90)
sararob Feb 19, 2020
ce70e5b
Update README.md
gogasca Feb 20, 2020
867488d
Bump bleach from 1.5.0 to 3.1.1 in /gce/burst-training
dependabot[bot] Feb 24, 2020
5a4163b
Merge branch 'master' into dependabot/pip/gce/burst-training/tensorfl…
gogasca Feb 27, 2020
f9fac8d
Merge pull request #88 from GoogleCloudPlatform/dependabot/pip/tutori…
gogasca Feb 27, 2020
f3036a5
Merge pull request #87 from GoogleCloudPlatform/dependabot/pip/gce/bu…
gogasca Feb 27, 2020
65adaf1
Merge pull request #91 from GoogleCloudPlatform/dependabot/pip/gce/bu…
gogasca Feb 27, 2020
b4b36f9
Update README.md
gogasca Feb 27, 2020
6f3d82d
Refactor code
gogasca Mar 13, 2020
02dfd70
Refactor code
gogasca Mar 13, 2020
e45abae
Merge branch 'master' into gpu_metrics
gogasca Mar 13, 2020
dc183d9
Refactor code
gogasca Mar 13, 2020
6f716a7
Merge branch 'gpu_metrics' of https://github.com/GoogleCloudPlatform/…
gogasca Mar 13, 2020
ca0c9f8
Merge pull request #93 from GoogleCloudPlatform/gpu_metrics
gogasca Mar 13, 2020
77e172e
Add XRAI to sample image notebook
sararob Mar 27, 2020
1b9ca10
Update CAIP docs link
sararob Mar 27, 2020
b18ddff
Merge branch 'master' of https://github.com/GoogleCloudPlatform/ml-on…
sararob Mar 27, 2020
89459db
Update image notebook to include XRAI (#97)
sararob Mar 27, 2020
435b23e
Bump bleach from 3.1.1 to 3.1.4 in /gce/burst-training
dependabot[bot] Mar 30, 2020
57410dd
Merge pull request #98 from GoogleCloudPlatform/dependabot/pip/gce/bu…
gogasca Mar 30, 2020
98e166f
Adding updated version of R Tutorial #1
alokpattani Apr 12, 2020
d28f4a5
Improve the Readme of the mlflow_gcp tutorial (mlflow ui, typos)
vreyespue Apr 15, 2020
03e77ff
Merge pull request #99 from vreyespue/vreyespue-mlflow_gcp-improve-re…
gogasca Apr 15, 2020
c7af88c
Fix the Readme of the mlflow_gcp tutorial (duplicate, typos)
vreyespue Apr 16, 2020
211e91f
Couple revisions of initial R notebook after further investigation
alokpattani Apr 22, 2020
8dcd025
Merge pull request #100 from vreyespue/vreyespue-mlflow_gcp-fix-readme
gogasca Apr 23, 2020
c9f674f
Merge branch 'master' into master
gogasca Apr 23, 2020
b86e530
update gae_serve readme
onrmrt Apr 25, 2020
6c96775
Merge pull request #102 from onrmrt/master
gogasca Apr 27, 2020
39d20b6
Merge branch 'master' into master
gogasca Apr 27, 2020
bff3f90
Merge pull request #101 from alokpattani/master
gogasca Apr 27, 2020
10f5993
Update README.md
gogasca May 2, 2020
b634c4c
Notebook revisions based on review of accompanying solution guide
alokpattani May 21, 2020
bcdb61a
Merge branch 'master' into master
gogasca May 29, 2020
0aaf7bb
Merge pull request #103 from alokpattani/master
gogasca May 29, 2020
82ed0b5
Updated a couple lines of markdown to clarify the tasks at hand
aarondietz234 Jun 3, 2020
49347ae
Merge pull request #106 from aarondietz234/master
gogasca Jun 4, 2020
e1e4db5
Replace gcloud with prediction API in tabular notebook
sararob Jun 25, 2020
feb43c1
Replace gcloud with prediction API in image notebook
sararob Jun 25, 2020
7c8b58d
Update ipython metadata
sararob Jun 25, 2020
f8b2cd9
Resolve merge conflicts
sararob Jun 26, 2020
55eebea
Merge branch 'master' of github.com:sararob/ml-on-gcp
sararob Jun 26, 2020
1129a05
Merge pull request #108 from sararob/master
andrewferlitsch Jun 26, 2020
c30fbcd
Adds notice that these samples are moving (#109)
thedriftofwords Jun 29, 2020
6419d3f
Fix compatibility with google-cloud-monitoring 2.0
medb Jan 14, 2021
ea6f1ec
Update requirements.txt
medb Jan 14, 2021
e518cc3
Update create_gpu_metrics.py
medb Jan 14, 2021
3f107b9
Update create_gpu_metrics.py
medb Jan 14, 2021
14955ea
update for API changes
bradmiro Jan 25, 2021
2657aee
pinning minor version of monitoring library
bradmiro Jan 25, 2021
ffd8893
Merge pull request #117 from medb/patch-1
tswast Jan 25, 2021
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
experimental: automatically identify dependency files in package
  • Loading branch information
dizcology committed Aug 11, 2019
commit 0d4a3fdcd6c7b24a1ef2eb0c78e66e51743a8f42
29 changes: 25 additions & 4 deletions example_zoo/tools/cmle_package.py
Original file line number Diff line number Diff line change
Expand Up @@ -45,6 +45,8 @@ def _handle_file(self):


def run(self):
if not os.path.exists(self.source):
raise ValueError('{} does not exist'.format(self.source))
if os.path.isdir(self.source):
self._handle_dir()
elif os.path.isfile(self.source):
Expand Down Expand Up @@ -188,16 +190,35 @@ def build_pipes(self):
)
)

# other source files/directories
for other_source in self.other_sources:
# # other source files/directories
# for other_source in self.other_sources:
# self.pipes.append(
# Pipe(
# os.path.join(self.working_dir, other_source),
# os.path.join(self.output_dir, other_source)
# )
# )

# experimental: use source_finder to find minimally required other source files
from source_finder import SourceFinder
sf = SourceFinder(
os.path.join(self.working_dir, self.module_path),
os.path.join(self.working_dir, self.module_path, self.script_path, self.script_name)
)
sf.process()

for module_path in sf.script_imports.keys():
rel_path = sf.path_to_relative_path(module_path)

self.pipes.append(
Pipe(
os.path.join(self.working_dir, other_source),
os.path.join(self.output_dir, other_source)
module_path,
os.path.join(self.output_dir, rel_path)
)
)



@property
def name(self):
return self.script_name.split('.')[0]
Expand Down
5 changes: 3 additions & 2 deletions example_zoo/tools/tf_models_samples.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -19,13 +19,14 @@ samples:
other_sources:
- official/resnet/cifar10_main.py
- official/resnet/resnet_model.py
- official/resnet/imagenet_processing.py
- official/resnet/imagenet_preprocessing.py
- official/resnet/resnet_run_loop.py
- official/resnet/keras/keras_common.py
- official/resnet/keras/resnet_cifar_model.py
- official/utils
args:
- "--train_epochs=1"
- "--train_steps=100"
- "--skip_eval"
- "--use_synthetic_data"
artifact: .h5
wait_time: 300