File tree Expand file tree Collapse file tree 1 file changed +5
-2
lines changed
src/pruna/algorithms/zipar Expand file tree Collapse file tree 1 file changed +5
-2
lines changed Original file line number Diff line number Diff line change 1111# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
1212# See the License for the specific language governing permissions and
1313# limitations under the License.
14-
1514from __future__ import annotations
1615
1716import copy
2019import numpy as np
2120import torch
2221from transformers .generation .configuration_utils import GenerationMode
23- from transformers .generation .logits_process import ClassifierFreeGuidanceLogitsProcessor , LogitsProcessorList
22+ from transformers .generation .logits_process import (
23+ ClassifierFreeGuidanceLogitsProcessor ,
24+ LogitsProcessorList ,
25+ )
2426from transformers .generation .utils import GenerateDecoderOnlyOutput
2527
2628from pruna .logging .logger import pruna_logger
2729
30+
2831class ZipARGenerationGrid :
2932 """
3033 Configuration and state tracking for ZipAR fast decoding.
You can’t perform that action at this time.
0 commit comments