Skip to content

Commit

Permalink
Update optimum version (#893)
Browse files Browse the repository at this point in the history
* Update optimum version

* trigger

* fix
  • Loading branch information
echarlaix authored Sep 10, 2024
1 parent 24edf41 commit 2b621cf
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@
INSTALL_REQUIRE = [
"torch>=1.11",
"transformers>=4.36,<4.45",
"optimum@git+https://github.com/huggingface/optimum.git",
"optimum~=1.22",
"datasets>=1.4.0",
"sentencepiece",
"setuptools",
Expand Down
2 changes: 1 addition & 1 deletion tests/openvino/test_training.py
Original file line number Diff line number Diff line change
Expand Up @@ -805,7 +805,7 @@ def test_training(self, _, desc: OVTrainerTestDescriptor):
self.run_ovtrainer_training_checks(desc)

def prepare_model_and_dataset(self, desc: OVTrainerTestDescriptor):
self.dataset = load_dataset("anton-l/superb_dummy", "ks")
self.dataset = load_dataset("anton-l/superb_dummy", "ks", trust_remote_code=True)
self.num_labels = len(self.dataset["test"].features["label"].names)

self.feature_extractor = AutoFeatureExtractor.from_pretrained(desc.model_id)
Expand Down

0 comments on commit 2b621cf

Please sign in to comment.