Skip to content

Commit

Permalink
-
Browse files Browse the repository at this point in the history
  • Loading branch information
jdcpni committed Nov 18, 2022
1 parent c6eea7e commit 98e6525
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions psyneulink/core/compositions/composition.py
Original file line number Diff line number Diff line change
Expand Up @@ -9910,6 +9910,7 @@ def run(
execution_phase = context.execution_phase
context.execution_phase = ContextFlags.PREPARING

# IMPLEMENTATION NOTE: Restore if ExecutionMode.PyTorch can be distinguished from ExecutionMode.Python
# from psyneulink.library.compositions.autodiffcomposition import AutodiffComposition
# if execution_mode is pnlvm.ExecutionMode.PyTorch and not isinstance(self, AutodiffComposition):
# warnings.warn(f"{pnlvm.ExecutionMode.PyTorch.name} is being used to execute {self.name} "
Expand Down

0 comments on commit 98e6525

Please sign in to comment.