Skip to content

Commit 6e6f30d

Browse files
SSYernarfacebook-github-bot
authored andcommitted
Fix failing CI failures on Github workflow (#3195)
Summary: Pull Request resolved: #3195 Removing the `settings` decorator from `test_sharded_quant_kv_zch`. This decorator is only meaningful for Hypothesis property-based tests that use `given` with generated parameters. Since `test_sharded_quant_kv_zch` is a regular unit test with fixed inputs and no `given` decorator, the `settings` decorator serves no purpose and causes CI failures. Example reference: https://github.com/pytorch/torchrec/actions/runs/16298208915/job/46025529461?pr=3193#step:15:7136 Reviewed By: jd7-tr Differential Revision: D78357214
1 parent fd9d78a commit 6e6f30d

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

torchrec/distributed/tests/test_quant_sequence_model_parallel.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -213,7 +213,6 @@ def test_quant_pred_shard(
213213
torch.cuda.device_count() <= 1,
214214
"Not enough GPUs available",
215215
)
216-
@settings(verbosity=Verbosity.verbose, max_examples=1, deadline=None)
217216
def test_sharded_quant_kv_zch(self) -> None:
218217
device = torch.device("cuda:0")
219218
num_features = 4

0 commit comments

Comments
 (0)