Skip to content

Commit

Permalink
Remove unneeded environment variable (keras-team#1938)
Browse files Browse the repository at this point in the history
  • Loading branch information
jbischof authored Jul 12, 2023
1 parent 9f91c72 commit 22293df
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 6 deletions.
1 change: 0 additions & 1 deletion .github/workflows/actions.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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: |
Expand Down
5 changes: 0 additions & 5 deletions keras_cv/backend/config.py
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down

0 comments on commit 22293df

Please sign in to comment.