Skip to content

Commit

Permalink
build(deps): bump tensorflow from 2.9.3 to 2.11.1 in /openfl-tutorial…
Browse files Browse the repository at this point in the history
…s/interactive_api/Flax_CNN_CIFAR (securefederatedai#775)

* build(deps): bump tensorflow

Bumps [tensorflow](https://github.com/tensorflow/tensorflow) from 2.9.3 to 2.11.1.
- [Release notes](https://github.com/tensorflow/tensorflow/releases)
- [Changelog](https://github.com/tensorflow/tensorflow/blob/master/RELEASE.md)
- [Commits](tensorflow/tensorflow@v2.9.3...v2.11.1)

---
updated-dependencies:
- dependency-name: tensorflow
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>

* Fixed breaking backages

Signed-off-by: Patrick Foley <psfoley@gmail.com>

* Add quiet flag back to pip install

Signed-off-by: Patrick Foley <psfoley@gmail.com>

---------

Signed-off-by: dependabot[bot] <support@github.com>
Signed-off-by: Patrick Foley <psfoley@gmail.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Patrick Foley <psfoley@gmail.com>
Signed-off-by: Parth Mandaliya <parthx.mandaliya@intel.com>
  • Loading branch information
2 people authored and ParthM-GitHub committed Sep 28, 2023
1 parent fea6684 commit 3313f6e
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 9 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ DEFAULT_DEVICE='CPU'

if [[ $DEFAULT_DEVICE == 'CPU' ]]
then
export JAX_PLATFORMS="CPU" # Force XLA to use CPU
export JAX_PLATFORMS="cpu" # Force XLA to use CPU
export CUDA_VISIBLE_DEVICES='-1' # Force TF to use CPU
else
export XLA_PYTHON_CLIENT_PREALLOCATE=false
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
tensorflow==2.9.3
tensorflow==2.11.1
tensorflow-datasets==4.6.0
jax==0.3.13
jax
--find-links https://storage.googleapis.com/jax-releases/jax_cuda_releases.html
jaxlib==0.3.10+cuda11.cudnn805
jaxlib
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
"metadata": {},
"outputs": [],
"source": [
"!pip install ml_collections flax==0.5.3 -q"
"!pip install ml_collections flax -q"
]
},
{
Expand Down Expand Up @@ -44,7 +44,7 @@
"metadata": {},
"outputs": [],
"source": [
"DEFAULT_DEVICE='CPU'"
"DEFAULT_DEVICE='cpu'"
]
},
{
Expand All @@ -56,8 +56,8 @@
"source": [
"import os\n",
"\n",
"if DEFAULT_DEVICE == 'CPU':\n",
" os.environ['JAX_PLATFORMS']='CPU' # Force XLA to use CPU\n",
"if DEFAULT_DEVICE == 'cpu':\n",
" os.environ['JAX_PLATFORMS']='cpu' # Force XLA to use CPU\n",
" os.environ['CUDA_VISIBLE_DEVICES']='-1' # Force TF to use CPU\n",
"elif DEFAULT_DEVICE == 'GPU':\n",
" os.environ['XLA_PYTHON_CLIENT_PREALLOCATE']='false'\n",
Expand Down Expand Up @@ -586,7 +586,7 @@
"name": "python",
"nbconvert_exporter": "python",
"pygments_lexer": "ipython3",
"version": "3.8.10"
"version": "3.8.16"
},
"vscode": {
"interpreter": {
Expand Down

0 comments on commit 3313f6e

Please sign in to comment.