Skip to content

Commit

Permalink
fix linters
Browse files Browse the repository at this point in the history
  • Loading branch information
Малахов Алексей Павлович committed Sep 30, 2024
1 parent 65bf5e9 commit 47351fc
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions turbo_alignment/common/tf/loaders/model/model.py
Original file line number Diff line number Diff line change
@@ -1,8 +1,7 @@
from transformers.integrations.deepspeed import is_deepspeed_zero3_enabled

import torch
from peft import PeftModel, get_peft_model, prepare_model_for_int8_training
from transformers import PreTrainedModel, PreTrainedTokenizerBase
from transformers.integrations.deepspeed import is_deepspeed_zero3_enabled

from turbo_alignment.common.tf.loaders.model.registry import (
PeftConfigRegistry,
Expand Down Expand Up @@ -90,4 +89,3 @@ def load_model(
model.base_model.model.score.weight.requires_grad = True

return model

0 comments on commit 47351fc

Please sign in to comment.