We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 0c29fe4 commit e47977dCopy full SHA for e47977d
python/paddle/jit/sot/opcode_translator/executor/executor_cache.py
@@ -265,7 +265,7 @@ def lookup(
265
# Move the current hit to the front
266
# Note: Be cautious when modifying the order of elements in a list during iteration,
267
# as it can lead to unexpected behavior.
268
- guarded_fns = [
+ guarded_fns[:] = [
269
guarded_fns[index],
270
*guarded_fns[:index],
271
*guarded_fns[index + 1 :],
0 commit comments