🐛 Describe the bug
When run under dynamo, tests in test/nn/test_init.py which use scipy.stats.kstest to check statistical properties of randomly generated data are being killed in the CI runners and causing tests to fail. This seems to be related to this warning from the dynamo logs,
File "/opt/conda/envs/py_3.11/lib/python3.11/site-packages/torch/_dynamo/variables/builder.py", line 1126, in wrap_numpy_ndarray
value.flags.writeable = True
^^^^^^^^^^^^^^^^^^^^^
torch._dynamo.exc.InternalTorchDynamoError: cannot set WRITEABLE flag to True of this array
Skipping these for now in #116263
Error logs
Full logs are available in the hud:
https://hud.pytorch.org/failure?name=pull%20%2F%20linux-focal-py3.11-clang10%20%2F%20test%20(dynamo%2C%202%2C%207%2C%20linux.2xlarge)&jobName=undefined&failureCaptures=%5B%22RuntimeError%3A%20nn%2Ftest_init%202%2F3%20failed%22%5D
Minified repro
No response
Versions
8fd1963
cc @mruberry @rgommers @chauhang @penguinwu @voznesenskym @EikanWang @jgong5 @Guobing-Chen @XiaobingSuper @zhuhaozhe @blzheng @wenzhe-nrv @jiayisunx @chenyang78 @kadeng @amjames @Lucaskabela @ezyang @msaroufim @wconstab @bdhirsh @anijain2305 @zou3519 @aakhundov
🐛 Describe the bug
When run under dynamo, tests in
test/nn/test_init.pywhich usescipy.stats.kstestto check statistical properties of randomly generated data are being killed in the CI runners and causing tests to fail. This seems to be related to this warning from the dynamo logs,Skipping these for now in #116263
Error logs
Full logs are available in the hud:
https://hud.pytorch.org/failure?name=pull%20%2F%20linux-focal-py3.11-clang10%20%2F%20test%20(dynamo%2C%202%2C%207%2C%20linux.2xlarge)&jobName=undefined&failureCaptures=%5B%22RuntimeError%3A%20nn%2Ftest_init%202%2F3%20failed%22%5D
Minified repro
No response
Versions
8fd1963
cc @mruberry @rgommers @chauhang @penguinwu @voznesenskym @EikanWang @jgong5 @Guobing-Chen @XiaobingSuper @zhuhaozhe @blzheng @wenzhe-nrv @jiayisunx @chenyang78 @kadeng @amjames @Lucaskabela @ezyang @msaroufim @wconstab @bdhirsh @anijain2305 @zou3519 @aakhundov