You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Describe the bug
Using I3InferenceModule with a single task in a list results in a lot of spam. It checks if it's a list but doesn't check the length. I can fix this with some other improvements I'm making to inference-related activities. I think it should also be a warning_once, otherwise, it would still spam when len(tasks)>1.
To Reproduce
Steps to reproduce the behavior:
Run I3InferenceModule when the model config has a tasks list containing only one task.
Expected behavior
It should recognize that there is actually only one task.
Full traceback
graphnet [MainProcess] WARNING 2024-11-07 12:24:59 - I3InferenceModule.Execute - I3InferenceModule assumes one Task but got 1. Only the first will be used.
graphnet [MainProcess] WARNING 2024-11-07 12:24:59 - I3InferenceModule.Execute - I3InferenceModule assumes one Task but got 1. Only the first will be used.
graphnet [MainProcess] WARNING 2024-11-07 12:24:59 - I3InferenceModule.Execute - I3InferenceModule assumes one Task but got 1. Only the first will be used.
graphnet [MainProcess] WARNING 2024-11-07 12:24:59 - I3InferenceModule.Execute - I3InferenceModule assumes one Task but got 1. Only the first will be used.
graphnet [MainProcess] WARNING 2024-11-07 12:24:59 - I3InferenceModule.Execute - I3InferenceModule assumes one Task but got 1. Only the first will be used.
graphnet [MainProcess] WARNING 2024-11-07 12:24:59 - I3InferenceModule.Execute - I3InferenceModule assumes one Task but got 1. Only the first will be used.
graphnet [MainProcess] WARNING 2024-11-07 12:24:59 - I3InferenceModule.Execute - I3InferenceModule assumes one Task but got 1. Only the first will be used.
graphnet [MainProcess] WARNING 2024-11-07 12:24:59 - I3InferenceModule.Execute - I3InferenceModule assumes one Task but got 1. Only the first will be used.
graphnet [MainProcess] WARNING 2024-11-07 12:24:59 - I3InferenceModule.Execute - I3InferenceModule assumes one Task but got 1. Only the first will be used.
graphnet [MainProcess] WARNING 2024-11-07 12:24:59 - I3InferenceModule.Execute - I3InferenceModule assumes one Task but got 1. Only the first will be used.
graphnet [MainProcess] WARNING 2024-11-07 12:24:59 - I3InferenceModule.Execute - I3InferenceModule assumes one Task but got 1. Only the first will be used.
graphnet [MainProcess] WARNING 2024-11-07 12:24:59 - I3InferenceModule.Execute - I3InferenceModule assumes one Task but got 1. Only the first will be used.
graphnet [MainProcess] WARNING 2024-11-07 12:24:59 - I3InferenceModule.Execute - I3InferenceModule assumes one Task but got 1. Only the first will be used.
graphnet [MainProcess] WARNING 2024-11-07 12:24:59 - I3InferenceModule.Execute - I3InferenceModule assumes one Task but got 1. Only the first will be used.
graphnet [MainProcess] WARNING 2024-11-07 12:24:59 - I3InferenceModule.Execute - I3InferenceModule assumes one Task but got 1. Only the first will be used.
graphnet [MainProcess] WARNING 2024-11-07 12:24:59 - I3InferenceModule.Execute - I3InferenceModule assumes one Task but got 1. Only the first will be used.
graphnet [MainProcess] WARNING 2024-11-07 12:24:59 - I3InferenceModule.Execute - I3InferenceModule assumes one Task but got 1. Only the first will be used.
graphnet [MainProcess] WARNING 2024-11-07 12:24:59 - I3InferenceModule.Execute - I3InferenceModule assumes one Task but got 1. Only the first will be used.
graphnet [MainProcess] WARNING 2024-11-07 12:24:59 - I3InferenceModule.Execute - I3InferenceModule assumes one Task but got 1. Only the first will be used.
graphnet [MainProcess] WARNING 2024-11-07 12:24:59 - I3InferenceModule.Execute - I3InferenceModule assumes one Task but got 1. Only the first will be used.
graphnet [MainProcess] WARNING 2024-11-07 12:24:59 - I3InferenceModule.Execute - I3InferenceModule assumes one Task but got 1. Only the first will be used.
graphnet [MainProcess] WARNING 2024-11-07 12:24:59 - I3InferenceModule.Execute - I3InferenceModule assumes one Task but got 1. Only the first will be used.
graphnet [MainProcess] WARNING 2024-11-07 12:24:59 - I3InferenceModule.Execute - I3InferenceModule assumes one Task but got 1. Only the first will be used.
graphnet [MainProcess] WARNING 2024-11-07 12:24:59 - I3InferenceModule.Execute - I3InferenceModule assumes one Task but got 1. Only the first will be used.
graphnet [MainProcess] WARNING 2024-11-07 12:24:59 - I3InferenceModule.Execute - I3InferenceModule assumes one Task but got 1. Only the first will be used.
graphnet [MainProcess] WARNING 2024-11-07 12:24:59 - I3InferenceModule.Execute - I3InferenceModule assumes one Task but got 1. Only the first will be used.
graphnet [MainProcess] WARNING 2024-11-07 12:24:59 - I3InferenceModule.Execute - I3InferenceModule assumes one Task but got 1. Only the first will be used.
graphnet [MainProcess] WARNING 2024-11-07 12:24:59 - I3InferenceModule.Execute - I3InferenceModule assumes one Task but got 1. Only the first will be used.
graphnet [MainProcess] WARNING 2024-11-07 12:24:59 - I3InferenceModule.Execute - I3InferenceModule assumes one Task but got 1. Only the first will be used.
graphnet [MainProcess] WARNING 2024-11-07 12:24:59 - I3InferenceModule.Execute - I3InferenceModule assumes one Task but got 1. Only the first will be used.
graphnet [MainProcess] WARNING 2024-11-07 12:24:59 - I3InferenceModule.Execute - I3InferenceModule assumes one Task but got 1. Only the first will be used.
The text was updated successfully, but these errors were encountered:
Describe the bug
Using
I3InferenceModule
with a single task in a list results in a lot of spam. It checks if it's a list but doesn't check the length. I can fix this with some other improvements I'm making to inference-related activities. I think it should also be awarning_once
, otherwise, it would still spam whenlen(tasks)>1
.To Reproduce
Steps to reproduce the behavior:
I3InferenceModule
when the model config has a tasks list containing only one task.Expected behavior
It should recognize that there is actually only one task.
Full traceback
The text was updated successfully, but these errors were encountered: