pytorch/pytorch

Command to reproduce error is incorrect

Chiusa

#106.377 aperta il 1 ago 2023

 (9 commenti) (0 reazioni) (0 assegnatari)Python (28.898 fork)batch import
good first issuemodule: inframodule: testingmodule: testsneeds reproductiontriaged

Metriche repository

Star
 (102.447 stelle)
Metriche merge PR
 (Merge medio 1g 10h) (42 PR mergiate in 30 g)

Descrizione

🐛 Describe the bug

To execute this test, run the following from the base repo dir: TEST_WITH_TORCHINDUCTOR=1 python test/test_torch.py -k test_nondeterministic_alert_NLLLoss_cuda

But I had to run it with

PYTORCH_TEST_WITH_INDUCTOR=1 python test/test_torch.py -k test_nondeterministic_alert_NLLLoss_cuda

Ref CI failure: https://github.com/pytorch/pytorch/actions/runs/5678841216/job/15391208767?pr=106118 Ref PR: https://github.com/pytorch/pytorch/pull/106118

Versions

master

cc @mruberry @ZainRizvi

Guida contributor