Skip to content

Commit

Permalink
Update __init__.py
Browse files Browse the repository at this point in the history
  • Loading branch information
ASEM000 committed Oct 8, 2023
1 parent 52b8e48 commit 7a0f4a6
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions sepes/_src/backend/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -98,6 +98,7 @@ def torch_backend():
for backend_name in ["jax", "torch", "numpy", "default"]:
if is_available(backend_name):
arraylib, treelib = backends_map[backend_name]()
backend = backend_name
logging.info(f"Successfully set backend to `{backend_name}`")
break

Expand Down

0 comments on commit 7a0f4a6

Please sign in to comment.