Skip to content

Commit

Permalink
new algorithm
Browse files Browse the repository at this point in the history
  • Loading branch information
v-chen_data committed Nov 30, 2024
1 parent 53da8a8 commit d87a687
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tests/test_full_nlp.py
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
from torchmetrics.classification import MulticlassAccuracy
from transformers import BertConfig, BertForMaskedLM, BertForSequenceClassification, BertTokenizerFast

from composer.algorithms import LayerFreezing
from composer.algorithms import GradientClipping
from composer.loggers import RemoteUploaderDownloader
from composer.metrics.nlp import LanguageCrossEntropy, MaskedAccuracy
from composer.models import HuggingFaceModel
Expand Down Expand Up @@ -233,7 +233,7 @@ def inference_test_helper(
@pytest.mark.parametrize(
'model_type,algorithms,save_format',
[
('tinybert_hf', [LayerFreezing], 'onnx'),
('tinybert_hf', [GradientClipping], 'onnx'),
('simpletransformer', [], 'torchscript'),
],
)
Expand Down

0 comments on commit d87a687

Please sign in to comment.