Skip to content

Commit ff235c0

Browse files
committed
Remove comments from CI
1 parent e692e55 commit ff235c0

File tree

2 files changed

+3
-5
lines changed

2 files changed

+3
-5
lines changed

.github/workflows/ci.yml

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -10,9 +10,7 @@ jobs:
1010
fail-fast: false
1111
matrix:
1212
python-version: ["3.12"]
13-
# ml-deps:
14-
# - "torch==2.1.2+cpu torchvision==0.16.2+cpu torchdata==0.7.1 tensorflow-cpu==2.15.1 "
15-
# - "torch==2.3.1+cpu torchvision==0.18.1+cpu torchdata==0.8.0 'tensorflow-cpu<2.16'"
13+
1614
env:
1715
run_coverage: ${{ github.ref == 'refs/heads/master' }}
1816

tiledb/ml/models/tensorflow_keras.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -358,7 +358,7 @@ def __load_legacy(
358358
try:
359359
# In Keras 3.x, use build() instead of _create_all_weights()
360360
if int(keras_major) >= 3:
361-
if hasattr(model.optimizer, 'build'):
361+
if hasattr(model.optimizer, "build"):
362362
model.optimizer.build(model.trainable_variables)
363363
else:
364364
model.optimizer._create_all_weights(model.trainable_variables)
@@ -435,7 +435,7 @@ def __load(
435435
try:
436436
# In Keras 3.x, use build() instead of _create_all_weights()
437437
if int(keras_major) >= 3:
438-
if hasattr(model.optimizer, 'build'):
438+
if hasattr(model.optimizer, "build"):
439439
model.optimizer.build(model.trainable_variables)
440440
else:
441441
model.optimizer._create_all_weights(model.trainable_variables)

0 commit comments

Comments
 (0)