Skip to content

Commit

Permalink
Debug v4.43 rocm (#40)
Browse files Browse the repository at this point in the history
* mi250 new skip from update

* revert change from main use_auth_token depricated
  • Loading branch information
Cemberk authored and Rohan138 committed Aug 5, 2024
1 parent fb4f6e8 commit 37a1fc0
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 2 deletions.
1 change: 0 additions & 1 deletion examples/pytorch/translation/run_translation.py
Original file line number Diff line number Diff line change
Expand Up @@ -381,7 +381,6 @@ def main():
model_args.config_name if model_args.config_name else model_args.model_name_or_path,
cache_dir=model_args.cache_dir,
revision=model_args.model_revision,
use_auth_token=True if model_args.use_auth_token else None,
ort=True if training_args.ort else None,
token=model_args.token,
trust_remote_code=model_args.trust_remote_code,
Expand Down
6 changes: 5 additions & 1 deletion tests/models/depth_anything/test_modeling_depth_anything.py
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@

from transformers import DepthAnythingConfig, Dinov2Config
from transformers.file_utils import is_torch_available, is_vision_available
from transformers.testing_utils import require_torch, require_vision, slow, torch_device
from transformers.testing_utils import require_torch, require_vision, slow, torch_device, skipIfRocm

from ...test_configuration_common import ConfigTester
from ...test_modeling_common import ModelTesterMixin, floats_tensor, ids_tensor
Expand Down Expand Up @@ -156,6 +156,10 @@ def setUp(self):
common_properties=["patch_size"],
)

@skipIfRocm
def test_batching_equivalence(self):
super().test_batching_equivalence()

def test_config(self):
self.config_tester.run_common_tests()

Expand Down

0 comments on commit 37a1fc0

Please sign in to comment.