Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Failing tests on aarch64-darwin #1447

Open
drupol opened this issue Nov 20, 2024 · 0 comments
Open

Failing tests on aarch64-darwin #1447

drupol opened this issue Nov 20, 2024 · 0 comments

Comments

@drupol
Copy link

drupol commented Nov 20, 2024

🐛 Bug

Some tests are failing on aarch64-darwin, e.g.:

>       self._compute_cavs_interpret(
            [["striped", "random"], ["ceo", "random"]],
            True,
            -1.0,  # acc is not defined, this field will not be asserted
            0.5000,
            8.185208066890937e-09,
            CustomClassifier_WO_Returning_Metrics(),
            processes=2,
        )

tests/concept/test_tcav.py:988: 
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 
tests/concept/test_tcav.py:852: in _compute_cavs_interpret
    self.assertAlmostEqual(
E   AssertionError: 1.0 != 0.5 within 0.0001 delta (0.5 difference)
---

To Reproduce

Steps to reproduce the behavior:

  1. Run the tests of version 0.7 on Darwin platform, aarch64 arch.
  2. Find the failing tests at https://paste.glepage.com/upload/bear-pug-viper

Expected behavior

Environment

Describe the environment used for Captum


 - Captum / PyTorch Version (e.g., 1.0 / 0.4.0): 0.7.0
 - OS (e.g., Linux): Linux
 - How you installed Captum / PyTorch (`conda`, `pip`, source): source
 - Build command you used (if compiling from source):
 - Python version: 3.12.5
 - CUDA/cuDNN version: none
 - GPU models and configuration: none
 - Any other relevant information:

## Additional context

<!-- Add any other context about the problem here. -->
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant