Skip to content

Commit

Permalink
support torch_br (#20)
Browse files Browse the repository at this point in the history
  • Loading branch information
zhaoguochun1995 authored Sep 3, 2024
1 parent 53b0eea commit d2c2494
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 0 deletions.
7 changes: 7 additions & 0 deletions ditorch/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -21,4 +21,11 @@
except:
pass

try:
from ditorch import torch_biren_adapter

framework = "torch_br:" + torch_biren_adapter.torch_br.__version__
except:
pass

print(f"ditorch.framework: {framework}")
3 changes: 3 additions & 0 deletions ditorch/torch_biren_adapter.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
# Copyright (c) 2024, DeepLink.
import torch_br
from torch_br.contrib import transfer_to_supa

0 comments on commit d2c2494

Please sign in to comment.