Skip to content

Commit

Permalink
rename piecewise to sequential
Browse files Browse the repository at this point in the history
  • Loading branch information
kylesayrs committed Dec 9, 2024
1 parent e468197 commit f8591ca
Show file tree
Hide file tree
Showing 4 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions src/llmcompressor/modifiers/quantization/gptq/base.py
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@
from llmcompressor.modifiers.quantization.quantization.base import QuantizationModifier
from llmcompressor.modifiers.utils.hooks import HooksMixin
from llmcompressor.pipelines.basic import run_pipeline as run_basic
from llmcompressor.pipelines.piecewise import run_pipeline as run_piecewise
from llmcompressor.pipelines.sequential import run_pipeline as run_sequential
from llmcompressor.utils.metric_logging import CompressionLogger
from llmcompressor.utils.pytorch.module import (
get_layers,
Expand Down Expand Up @@ -222,7 +222,7 @@ def on_initialize(self, state: "State", **kwargs) -> bool:
# infer pipeline
if "pixel_values" not in state.data.calib.dataset.column_names:
try:
run_piecewise(
run_sequential(
state.model,
self.sequential_targets,
self.ignore,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@

from llmcompressor.modifiers.utils.hooks import HooksMixin
from llmcompressor.modifiers.utils.pytorch_helpers import apply_pad_mask_to_batch
from llmcompressor.pipelines.piecewise.helpers import (
from llmcompressor.pipelines.sequential.helpers import (
infer_sequential_targets,
trace_subgraphs,
)
Expand Down

0 comments on commit f8591ca

Please sign in to comment.