File tree Expand file tree Collapse file tree 2 files changed +4
-2
lines changed
Expand file tree Collapse file tree 2 files changed +4
-2
lines changed Original file line number Diff line number Diff line change @@ -160,6 +160,7 @@ def apply_recipe_modifiers(
160160 session = active_session ()
161161 session .reset ()
162162
163+ # TODO: validate modifiers before intialization, likely in recipe
163164 session .initialize (
164165 model = self .model ,
165166 start = - 1 ,
Original file line number Diff line number Diff line change @@ -62,10 +62,11 @@ def from_modifiers(
6262 def _validate_infer_pipeline (modifiers : List [Modifier ]) -> str :
6363 if any (isinstance (modifier , AWQModifier ) for modifier in modifiers ):
6464 if len (modifiers ) > 1 :
65- raise ValueError (
65+ logger . warning (
6666 "AWQ does not currently support sharing a data pipeline with other "
67- "modifiers. Please use oneshot( pipeline='independent') "
67+ "modifiers. Inferring `independent` calibration pipeline"
6868 )
69+ return "independent"
6970 return "datafree"
7071
7172 if any (isinstance (modifier , SEQUENTIAL_MODIFIERS ) for modifier in modifiers ):
You can’t perform that action at this time.
0 commit comments