Skip to content

Commit

Permalink
yo
Browse files Browse the repository at this point in the history
  • Loading branch information
snarayan21 committed Dec 16, 2024
1 parent 7b12371 commit 82c1da6
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions tests/models/hf/test_hf_base.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,10 @@
# SPDX-License-Identifier: Apache-2.0

import pytest
from llmfoundry.models.hf.hf_base import BaseHuggingFaceModel
from peft import PeftModel

from llmfoundry.models.hf.hf_base import BaseHuggingFaceModel


def test_build_inner_model_fsdp():
model = BaseHuggingFaceModel.build_inner_model(
Expand Down Expand Up @@ -45,4 +46,4 @@ def test_pretrained_peft_trainable():

n_trainable, n_all = model.get_nb_trainable_parameters()
assert n_all > 0
assert n_trainable > 0
assert n_trainable > 0

0 comments on commit 82c1da6

Please sign in to comment.