Skip to content

Commit 9bdb54d

Browse files
authored
Merge pull request #693 from GoogleCloudPlatform/keras3-dev
Rebasing fraudfinder onto Keras3-dev
2 parents 9be51bc + 3228c46 commit 9bdb54d

File tree

91 files changed

+7910
-58121
lines changed

Some content is hidden

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

91 files changed

+7910
-58121
lines changed

Makefile

Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ kernels: \
1818
adk_kernel \
1919
object_detection_kernel \
2020
pytorch_kfp_kernel \
21-
lit_kernel
21+
tf_privacy_kernel
2222

2323
.PHONY: clean
2424
clean:
@@ -54,10 +54,9 @@ object_detection_kernel:
5454
pytorch_kfp_kernel:
5555
./kernels/pytorch_kfp.sh
5656

57-
.PHONY: lit_kernel
58-
lit_kernel:
59-
./kernels/lit.sh
60-
57+
.PHONY: tf_privacy_kernel
58+
tf_privacy_kernel:
59+
./kernels/tf_privacy.sh
6160

6261
.PHONY: tests
6362
tests:

kernels/lit.sh renamed to kernels/tf_privacy.sh

Lines changed: 9 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,12 @@
11
#!/bin/bash
22
#
3-
# To build the kernel: ./kernels/lit.sh
4-
# To remove the kernel: ./kernels/lit.sh remove
3+
# To build the kernel: ./kernels/tf_privacy.sh
4+
# To remove the kernel: ./kernels/tf_privacy.sh remove
55
#
66
# This scripts will create a ipython kernel named $ENVNAME
77

8-
ENVNAME=lit_kernel
9-
KERNEL_DISPLAY_NAME="LIT kernel"
8+
ENVNAME=tf_privacy_kernel
9+
KERNEL_DISPLAY_NAME="TF Privacy Kernel"
1010

1111
source ~/.bashrc
1212

@@ -24,11 +24,15 @@ conda activate $ENVNAME
2424
# Install packages using a pip local to the conda environment.
2525
conda install -q pip
2626
pip install -q ipykernel
27+
2728
# Adds the conda kernel.
2829
DL_ANACONDA_ENV_HOME="${DL_ANACONDA_HOME}/envs/$ENVNAME"
2930
python -m ipykernel install --prefix "${DL_ANACONDA_ENV_HOME}" --name $ENVNAME --display-name "$KERNEL_DISPLAY_NAME"
3031
rm -rf "${DL_ANACONDA_ENV_HOME}/share/jupyter/kernels/python3"
3132

32-
pip install -q tensorflow==2.14.1 lit-nlp keras_nlp
33+
# Install packages
34+
pip install tensorflow==2.14.0
35+
pip install --no-deps tensorflow-privacy==0.8.12 dp_accounting==0.4.3 tensorflow_probability==0.22.0
36+
pip install numpy==1.23.5 scipy~=1.9 dm-tree==0.1.8 attrs==25.3.0 cloudpickle==3.1.1 scikit-learn==1.*
3337

3438
conda deactivate

notebooks/building_production_ml_systems/labs/0_export_data_from_bq_to_gcs.ipynb

Lines changed: 0 additions & 261 deletions
This file was deleted.

0 commit comments

Comments
 (0)