Skip to content

Commit

Permalink
Merge branch 'main' into sunspot-tests
Browse files Browse the repository at this point in the history
  • Loading branch information
WardLT authored May 23, 2024
2 parents 1fd87d6 + f0ace80 commit d9f3414
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion mofa/difflinker_train.py
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,12 @@
from pytorch_lightning.callbacks import TQDMProgressBar
from pytorch_lightning.strategies import SingleDeviceStrategy

try:
import intel_extension_for_pytorch as ipex # noqa: F401
import oneccl_bindings_for_pytorch # noqa: F401
except ImportError:
pass

try:
import intel_extension_for_pytorch as ipex # noqa: F401
import oneccl_bindings_for_pytorch # noqa: F401
Expand Down Expand Up @@ -151,7 +157,6 @@ def main(
if '.' in args.train_data_prefix:
context_node_nf += 1


# Lock XPU to single device for now
strategy = 'auto'
if args.device == 'xpu':
Expand Down

0 comments on commit d9f3414

Please sign in to comment.