From 22293dff1bb50400d12a341cdcabd6d72e4d07fd Mon Sep 17 00:00:00 2001 From: Jonathan Bischof Date: Tue, 11 Jul 2023 21:19:09 -0700 Subject: [PATCH] Remove unneeded environment variable (#1938) --- .github/workflows/actions.yml | 1 - keras_cv/backend/config.py | 5 ----- 2 files changed, 6 deletions(-) diff --git a/.github/workflows/actions.yml b/.github/workflows/actions.yml index 961bb0b8ae..4c6ec006a9 100644 --- a/.github/workflows/actions.yml +++ b/.github/workflows/actions.yml @@ -75,7 +75,6 @@ jobs: - name: Test with pytest env: TEST_CUSTOM_OPS: false # TODO(ianstenbit): test custom ops, or figure out what our story is here - KERAS_CV_MULTI_BACKEND: true KERAS_BACKEND: ${{ matrix.backend }} JAX_ENABLE_X64: true run: | diff --git a/keras_cv/backend/config.py b/keras_cv/backend/config.py index 634232a36e..b688b79291 100644 --- a/keras_cv/backend/config.py +++ b/keras_cv/backend/config.py @@ -56,11 +56,6 @@ # Except permission denied. pass -# Set Keras backend based on KERAS_CV_MULTI_BACKEND flag, if applicable. -if "KERAS_CV_MULTI_BACKEND" in os.environ: - if os.environ["KERAS_CV_MULTI_BACKEND"]: - _MULTI_BACKEND = True - if "KERAS_BACKEND" in os.environ and os.environ["KERAS_BACKEND"]: _MULTI_BACKEND = True