Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 6 additions & 2 deletions tests/utils/test_dist__gather__losses.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
import os
import sys
from typing import Any, Generator, Tuple, Type

import pytest
Expand Down Expand Up @@ -63,8 +64,11 @@ def close_torch_distributed() -> Generator[None, None, None]:


@pytest.mark.skipif(
os.getenv("GITHUB_ACTIONS") is not None,
reason="This test is running in parallel and breaks codecov",
os.getenv("GITHUB_ACTIONS") is not None or sys.platform == "darwin",
reason=(
"Skipped on GitHub Actions due to codecov interaction and "
"on macOS due to DDPStrategy spawn deadlock."
),
)
class TestGatherLayer_Losses:
"""Tests that the gather layer works as expected.
Expand Down
Loading