Skip to content

Commit

Permalink
afix engine test bug caused by no-clear between tests
Browse files Browse the repository at this point in the history
  • Loading branch information
wzh1994 committed Nov 20, 2024
1 parent 6153aad commit 0e89d64
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lazyllm/engine/engine.py
Original file line number Diff line number Diff line change
Expand Up @@ -465,7 +465,7 @@ def cond(x):
return True
return False

return lazyllm.ifs(cond, tpath=lazyllm.TrainableModule(base_model), fpath=lazyllm.Identity())
return lazyllm.ActionModule(lazyllm.ifs(cond, tpath=lazyllm.TrainableModule(base_model), fpath=lazyllm.Identity()))


@NodeConstructor.register('Constant')
Expand Down

0 comments on commit 0e89d64

Please sign in to comment.