Issue 1:
❓ Questions and Help

hi

I am new at pytorch

i try to install pytorch with ROCm and step by step following https://rocm-documentation.readthedocs.io/en/latest/Deep_learning/Deep-learning.html#building-pytorch-for-rocm

output of "PYTORCH_TEST_WITH_ROCM=1 python test/run_test.py --verbose" should all correct ,but i got some error like this

Test executor: ['/usr/bin/python']
Excluding cpp_extensions on ROCm
Excluding distributed on ROCm
Excluding multiprocessing on ROCm
Excluding multiprocessing_spawn on ROCm
Selected tests: autograd, c10d, c10d_spawn, cuda, cuda_primary_ctx, dataloader, distributions, docs_coverage, expecttest, fake_quant, indexing, jit, logging, mkldnn, nccl, nn, numba_integration, optim, qat, quantization, quantized, quantized_tensor, quantized_nn_mods, quantizer, sparse, torch, type_info, type_hints, utils, namedtuple_return_api, jit_fuser, tensorboard, namedtensor, type_promotion, jit_disabled, function_schema
Running test_autograd ... [2019-10-28 03:37:35.924929]
test___getitem__ (__main__.TestAutograd) ... ok
test___getitem___adv_index (__main__.TestAutograd) ... ok
test___getitem___adv_index_beg (__main__.TestAutograd) ... ok
test___getitem___adv_index_comb (__main__.TestAutograd) ... ok
test___getitem___adv_index_dup (__main__.TestAutograd) ... ok
test___getitem___adv_index_end (__main__.TestAutograd) ... ok
test___getitem___adv_index_mid (__main__.TestAutograd) ... ok
test___getitem___adv_index_sub (__main__.TestAutograd) ... ok
test___getitem___adv_index_sub_2 (__main__.TestAutograd) ... ok
test___getitem___adv_index_sub_3 (__main__.TestAutograd) ... ok
test___getitem___adv_index_var (__main__.TestAutograd) ... ok
test___getitem___slice (__main__.TestAutograd) ... ok
test___getitem___slice_index (__main__.TestAutograd) ... ok
test___radd___constant (__main__.TestAutograd) ... ok
test___radd___scalar_constant (__main__.TestAutograd) ... ok
test___rdiv___constant (__main__.TestAutograd) ... ok
test___rdiv___scalar_constant (__main__.TestAutograd) ... ok
test___rmul___constant (__main__.TestAutograd) ... ok
test___rmul___scalar_constant (__main__.TestAutograd) ... ok
test___rpow___constant (__main__.TestAutograd) ... ok
test___rpow___scalar_constant (__main__.TestAutograd) ... ok
test___rsub___constant (__main__.TestAutograd) ... ok
test___rsub___scalar_constant (__main__.TestAutograd) ... ok
test_abs (__main__.TestAutograd) ... ok
test_abs_scalar (__main__.TestAutograd) ... ok
test_accumulate_grad (__main__.TestAutograd) ... ok
test_accumulate_grad_tensor_reference (__main__.TestAutograd) ... ok
test_acos (__main__.TestAutograd) ... ok
test_add (__main__.TestAutograd) ... ok
test_add_broadcast_all (__main__.TestAutograd) ... ok
test_add_broadcast_lhs (__main__.TestAutograd) ... ok
test_add_broadcast_rhs (__main__.TestAutograd) ... ok
test_add_constant (__main__.TestAutograd) ... ok
test_add_scalar (__main__.TestAutograd) ... ok
test_add_scalar_broadcast_lhs (__main__.TestAutograd) ... ok
test_add_scalar_broadcast_rhs (__main__.TestAutograd) ... ok
test_add_scalar_constant (__main__.TestAutograd) ... ok
test_addbmm (__main__.TestAutograd) ... ok
test_addbmm_broadcast_lhs (__main__.TestAutograd) ... ok
test_addbmm_broadcast_lhs_coef (__main__.TestAutograd) ... ok
test_addbmm_coef (__main__.TestAutograd) ... ok
test_addbmm_scalar_broadcast_lhs (__main__.TestAutograd) ... ok
test_addbmm_scalar_broadcast_lhs_coef (__main__.TestAutograd) ... ok
test_addcdiv (__main__.TestAutograd) ... ok
test_addcdiv_broadcast_all (__main__.TestAutograd) ... ok
test_addcdiv_broadcast_rhs (__main__.TestAutograd) ... ok
test_addcdiv_scalar (__main__.TestAutograd) ... ok
test_addcdiv_scalar_broadcast_lhs (__main__.TestAutograd) ... ok
test_addcdiv_scalar_broadcast_rhs (__main__.TestAutograd) ... ok
test_addcdiv_scalar_scale (__main__.TestAutograd) ... ok
test_addcdiv_scalar_scale_broadcast_lhs (__main__.TestAutograd) ... ok
test_addcdiv_scalar_scale_broadcast_rhs (__main__.TestAutograd) ... ok
test_addcdiv_scale (__main__.TestAutograd) ... ok
test_addcdiv_scale_broadcast_all (__main__.TestAutograd) ... ok
test_addcdiv_scale_broadcast_rhs (__main__.TestAutograd) ... ok
test_addcmul (__main__.TestAutograd) ... ok
test_addcmul_broadcast_all (__main__.TestAutograd) ... ok
test_addcmul_broadcast_rhs (__main__.TestAutograd) ... ok
test_addcmul_scalar (__main__.TestAutograd) ... ok
test_addcmul_scalar_broadcast_lhs (__main__.TestAutograd) ... ok
test_addcmul_scalar_broadcast_rhs (__main__.TestAutograd) ... ok
test_addcmul_scalar_scale (__main__.TestAutograd) ... ok
test_addcmul_scalar_scale_broadcast_lhs (__main__.TestAutograd) ... ok
test_addcmul_scalar_scale_broadcast_rhs (__main__.TestAutograd) ... ok
test_addcmul_scale (__main__.TestAutograd) ... ok
test_addcmul_scale_broadcast_all (__main__.TestAutograd) ... ok
test_addcmul_scale_broadcast_rhs (__main__.TestAutograd) ... ok
test_addmm (__main__.TestAutograd) ... ok
test_addmm_broadcast_lhs (__main__.TestAutograd) ... ok
test_addmm_broadcast_lhs_coef (__main__.TestAutograd) ... ok
test_addmm_coef (__main__.TestAutograd) ... ok
test_addmm_scalar_broadcast_lhs (__main__.TestAutograd) ... ok
test_addmm_scalar_broadcast_lhs_coef (__main__.TestAutograd) ... ok
test_addmv (__main__.TestAutograd) ... ok
test_addmv_broadcast_lhs (__main__.TestAutograd) ... ok
test_addmv_broadcast_lhs_coef (__main__.TestAutograd) ... ok
test_addmv_coef (__main__.TestAutograd) ... ok
test_addmv_scalar_broadcast_lhs (__main__.TestAutograd) ... ok
test_addmv_scalar_broadcast_lhs_coef (__main__.TestAutograd) ... ok
test_addr (__main__.TestAutograd) ... ok
test_addr_broadcast_lhs (__main__.TestAutograd) ... ok
test_addr_broadcast_lhs_coef (__main__.TestAutograd) ... ok
test_addr_coef (__main__.TestAutograd) ... ok
test_anomaly_detect_nan (__main__.TestAutograd) ... ok
test_as_strided (__main__.TestAutograd) ... ok
test_asin (__main__.TestAutograd) ... ok
test_atan (__main__.TestAutograd) ... ok
test_atan2 (__main__.TestAutograd) ... ok
test_atan2_broadcast_all (__main__.TestAutograd) ... ok
test_atan2_broadcast_lhs (__main__.TestAutograd) ... ok
test_atan2_broadcast_rhs (__main__.TestAutograd) ... ok
test_atan2_scalar (__main__.TestAutograd) ... ok
test_atan_scalar (__main__.TestAutograd) ... ok
test_attribute_deletion (__main__.TestAutograd) ... ok
test_backward (__main__.TestAutograd) ... ok
test_backward_badcalls (__main__.TestAutograd) ... ok
test_backward_copy (__main__.TestAutograd) ... ok
test_backward_no_grad (__main__.TestAutograd) ... ok
test_backward_twice_retained_graph_with_saved_values (__main__.TestAutograd) ... ok
test_backward_twice_retained_graph_without_saved_values (__main__.TestAutograd) ... ok
test_backward_twice_with_saved_values (__main__.TestAutograd) ... ok
test_backward_twice_without_saved_values (__main__.TestAutograd) ... ok
test_baddbmm (__main__.TestAutograd) ... ok
test_baddbmm_broadcast_lhs (__main__.TestAutograd) ... ok
test_baddbmm_broadcast_lhs_coef (__main__.TestAutograd) ... ok
test_baddbmm_coef (__main__.TestAutograd) ... ok
test_baddbmm_scalar_broadcast_lhs (__main__.TestAutograd) ... ok
test_baddbmm_scalar_broadcast_lhs_coef (__main__.TestAutograd) ... ok
test_bmm (__main__.TestAutograd) ... ok
test_broadcast_tensors (__main__.TestAutograd) ... ok
test_call_legacy_twice (__main__.TestAutograd) ... /root/pytorch/torch/csrc/autograd/python_function.cpp:622: UserWarning: Legacy autograd function with non-static forward method is deprecated and will be removed in 1.3. Please use new-style autograd function with static forward method. (Example: https://pytorch.org/docs/stable/autograd.html#torch.autograd.Function)
"(Example: https://pytorch.org/docs/stable/autograd.html#torch.autograd.Function)");
ok
test_cat (__main__.TestAutograd) ... ok
test_cat_empty (__main__.TestAutograd) ... ok
test_cat_empty_legacy (__main__.TestAutograd) ... ok
test_cat_negdim_1 (__main__.TestAutograd) ... ok
test_cat_negdim_2 (__main__.TestAutograd) ... ok
test_ceil (__main__.TestAutograd) ... ok
test_ceil_scalar (__main__.TestAutograd) ... ok
test_chain_matmul (__main__.TestAutograd) ... ok
test_checkpointing (__main__.TestAutograd) ... skipped 'test is slow; run with PYTORCH_TEST_WITH_SLOW to enable test'
test_cholesky (__main__.TestAutograd) ... ok
test_cholesky_inverse (__main__.TestAutograd) ... ok
test_cholesky_solve (__main__.TestAutograd) ... ok
test_chunk (__main__.TestAutograd) ... ok
test_chunk_dim (__main__.TestAutograd) ... ok
test_chunk_dim_neg0 (__main__.TestAutograd) ... ok
test_clamp (__main__.TestAutograd) ... ok
test_clamp_max (__main__.TestAutograd) ... ok
test_clamp_max_scalar (__main__.TestAutograd) ... ok
test_clamp_max_scalar_kwarg (__main__.TestAutograd) ... ok
test_clamp_min (__main__.TestAutograd) ... ok
test_clamp_min_scalar (__main__.TestAutograd) ... ok
test_clamp_scalar (__main__.TestAutograd) ... ok
test_clone (__main__.TestAutograd) ... ok
test_clone_scalar (__main__.TestAutograd) ... ok
test_contiguous (__main__.TestAutograd) ... ok
test_contiguous_not_contiguous (__main__.TestAutograd) ... ok
test_cos (__main__.TestAutograd) ... ok
test_cos_scalar (__main__.TestAutograd) ... ok
test_cosh (__main__.TestAutograd) ... ok
test_cosh_scalar (__main__.TestAutograd) ... ok
test_cross (__main__.TestAutograd) ... ok
test_cross_dim (__main__.TestAutograd) ... ok
test_cumprod (__main__.TestAutograd) ... ok
test_cumprod_dim1 (__main__.TestAutograd) ... ok
test_cumprod_dim1_neg0 (__main__.TestAutograd) ... ok
test_cumprod_scalar (__main__.TestAutograd) ... ok
test_cumprod_scalar_zeros (__main__.TestAutograd) ... ok
test_cumprod_zeros_dim0 (__main__.TestAutograd) ... ok
test_cumprod_zeros_dim0_cast (__main__.TestAutograd) ... ok
test_cumprod_zeros_dim0_cast_neg0 (__main__.TestAutograd) ... ok
test_cumprod_zeros_dim0_neg0 (__main__.TestAutograd) ... ok
test_cumprod_zeros_dim1 (__main__.TestAutograd) ... ok
test_cumprod_zeros_dim1_neg0 (__main__.TestAutograd) ... ok
test_cumprod_zeros_dim2 (__main__.TestAutograd) ... ok
test_cumprod_zeros_dim2_neg0 (__main__.TestAutograd) ... ok
test_cumsum_dim0 (__main__.TestAutograd) ... ok
test_cumsum_dim0_neg0 (__main__.TestAutograd) ... ok
test_cumsum_dim0_scalar (__main__.TestAutograd) ... ok
test_cumsum_dim0_scalar_neg0 (__main__.TestAutograd) ... ok
test_cumsum_dim1 (__main__.TestAutograd) ... ok
test_cumsum_dim1_cast (__main__.TestAutograd) ... ok
test_cumsum_dim1_cast_neg0 (__main__.TestAutograd) ... ok
test_cumsum_dim1_neg0 (__main__.TestAutograd) ... ok
test_custom_autograd_no_early_free (__main__.TestAutograd) ... ok
test_custom_autograd_repeated_grad_grad (__main__.TestAutograd) ... ok
test_deep_reentrant (__main__.TestAutograd) ... ok
test_dep_nograd (__main__.TestAutograd) ... ok
test_dependent_backward (__main__.TestAutograd) ... ok
test_det (__main__.TestAutograd) ... ok
test_det_1x1 (__main__.TestAutograd) ... ok
test_det_batched (__main__.TestAutograd) ... ok
test_det_batched_1x1 (__main__.TestAutograd) ... ok
test_det_batched_distinct_singular_values (__main__.TestAutograd) ... ok
test_det_batched_symmetric (__main__.TestAutograd) ... ok
test_det_batched_symmetric_pd (__main__.TestAutograd) ... ok
test_det_batched_symmetric_psd (__main__.TestAutograd) ... ok
test_det_dim2_null (__main__.TestAutograd) ... ok
test_det_distinct_singular_values (__main__.TestAutograd) ... ok
test_det_rank1 (__main__.TestAutograd) ... ok
test_det_rank2 (__main__.TestAutograd) ... ok
test_det_symmetric (__main__.TestAutograd) ... ok
test_det_symmetric_pd (__main__.TestAutograd) ... ok
test_det_symmetric_psd (__main__.TestAutograd) ... ok
test_detach (__main__.TestAutograd) ... ok
test_detach_base (__main__.TestAutograd)
detaching base does not detach view ... ok
test_diag_1d (__main__.TestAutograd) ... ok
test_diag_2d (__main__.TestAutograd) ... ok
test_diag_2d_1 (__main__.TestAutograd) ... ok
test_diag_2d_2 (__main__.TestAutograd) ... ok
test_diag_2d_tall (__main__.TestAutograd) ... ok
test_diag_2d_tall_neg (__main__.TestAutograd) ... ok
test_diag_2d_tall_pos (__main__.TestAutograd) ... ok
test_diag_2d_wide (__main__.TestAutograd) ... ok
test_diag_2d_wide_neg (__main__.TestAutograd) ... ok
test_diag_2d_wide_pos (__main__.TestAutograd) ... ok
test_diag_embed (__main__.TestAutograd) ... ok
test_diagonal_2d (__main__.TestAutograd) ... ok
test_diagonal_2d_1 (__main__.TestAutograd) ... ok
test_diagonal_2d_2 (__main__.TestAutograd) ... ok
test_diagonal_2d_tall (__main__.TestAutograd) ... ok
test_diagonal_2d_tall_neg (__main__.TestAutograd) ... ok
test_diagonal_2d_tall_pos (__main__.TestAutograd) ... ok
test_diagonal_2d_wide (__main__.TestAutograd) ... ok
test_diagonal_2d_wide_neg (__main__.TestAutograd) ... ok
test_diagonal_2d_wide_pos (__main__.TestAutograd) ... ok
test_diagonal_3d_1 (__main__.TestAutograd) ... ok
test_diagonal_3d_2 (__main__.TestAutograd) ... ok
test_diagonal_3d_3 (__main__.TestAutograd) ... ok
test_diagonal_derivative_requires_grad (__main__.TestAutograd) ... ok
test_dir (__main__.TestAutograd) ... ok
test_dist (__main__.TestAutograd) ... ok
test_dist_4 (__main__.TestAutograd) ... ok
test_dist_4_broadcast_all (__main__.TestAutograd) ... ok
test_dist_4_broadcast_lhs (__main__.TestAutograd) ... ok
test_dist_4_broadcast_rhs (__main__.TestAutograd) ... ok
test_dist_broadcast_all (__main__.TestAutograd) ... ok
test_dist_broadcast_lhs (__main__.TestAutograd) ... ok
test_dist_broadcast_rhs (__main__.TestAutograd) ... ok
test_dist_scalar (__main__.TestAutograd) ... ok
test_dist_scalar_4 (__main__.TestAutograd) ... ok
test_dist_scalar_4_broadcast_lhs (__main__.TestAutograd) ... ok
test_dist_scalar_4_broadcast_rhs (__main__.TestAutograd) ... ok
test_dist_scalar_broadcast_lhs (__main__.TestAutograd) ... ok
test_dist_scalar_broadcast_rhs (__main__.TestAutograd) ... ok
test_div (__main__.TestAutograd) ... ok
test_div_broadcast_all (__main__.TestAutograd) ... ok
test_div_broadcast_lhs (__main__.TestAutograd) ... ok
test_div_broadcast_rhs (__main__.TestAutograd) ... ok
test_div_constant (__main__.TestAutograd) ... ok
test_div_scalar (__main__.TestAutograd) ... ok
test_div_scalar_broadcast_lhs (__main__.TestAutograd) ... ok
test_div_scalar_broadcast_rhs (__main__.TestAutograd) ... ok
test_div_scalar_constant (__main__.TestAutograd) ... ok
test_dot (__main__.TestAutograd) ... ok
test_duplicate_backward_root (__main__.TestAutograd) ... ok
test_eq_ (__main__.TestAutograd) ... ok
test_eq__broadcast_rhs (__main__.TestAutograd) ... ok
test_eq__pyscalar (__main__.TestAutograd) ... ok
test_eq__pyscalar_scalar (__main__.TestAutograd) ... ok
test_eq__scalar (__main__.TestAutograd) ... ok
test_eq__scalar_broadcast_rhs (__main__.TestAutograd) ... ok
test_erf (__main__.TestAutograd) ... ok
test_erf_scalar (__main__.TestAutograd) ... ok
test_erfc (__main__.TestAutograd) ... ok
test_erfc_scalar (__main__.TestAutograd) ... ok
test_erfinv (__main__.TestAutograd) ... ok
test_erfinv_scalar (__main__.TestAutograd) ... ok
test_exp (__main__.TestAutograd) ... ok
test_exp_scalar (__main__.TestAutograd) ... ok
test_expand (__main__.TestAutograd) ... ok
test_expand_1_element (__main__.TestAutograd) ... ok
test_expand_as (__main__.TestAutograd) ... ok
test_expand_new_dim (__main__.TestAutograd) ... ok
test_expand_new_dim_front_old_front_1 (__main__.TestAutograd) ... ok
test_expand_scalar_to_dims (__main__.TestAutograd) ... ok
test_expand_scalar_to_scalar (__main__.TestAutograd) ... ok
test_expand_size (__main__.TestAutograd) ... ok
test_expm1 (__main__.TestAutograd) ... ok
test_expm1_scalar (__main__.TestAutograd) ... ok
test_fft_ifft_rfft_irfft (__main__.TestAutograd) ... skipped 'PyTorch is built without MKL support'
test_fill (__main__.TestAutograd) ... ok
test_fill__number (__main__.TestAutograd) ... ok
test_fill__number_scalar (__main__.TestAutograd) ... ok
test_fill__variable (__main__.TestAutograd) ... ok
test_flip_d0 (__main__.TestAutograd) ... ok
test_flip_d012 (__main__.TestAutograd) ... ok
test_flip_d02 (__main__.TestAutograd) ... ok
test_flip_d20 (__main__.TestAutograd) ... ok
test_flip_neg_d (__main__.TestAutograd) ... ok
test_floor (__main__.TestAutograd) ... ok
test_floor_scalar (__main__.TestAutograd) ... ok
test_fmod (__main__.TestAutograd) ... ok
test_fmod_scalar (__main__.TestAutograd) ... ok
test_fmod_scalar_tensor (__main__.TestAutograd) ... ok
test_fmod_scalar_tensor_broadcast_lhs (__main__.TestAutograd) ... ok
test_fmod_scalar_tensor_broadcast_rhs (__main__.TestAutograd) ... ok
test_fmod_tensor (__main__.TestAutograd) ... ok
test_fmod_tensor_broadcast_all (__main__.TestAutograd) ... ok
test_fmod_tensor_broadcast_lhs (__main__.TestAutograd) ... ok
test_fmod_tensor_broadcast_rhs (__main__.TestAutograd) ... ok
test_frac (__main__.TestAutograd) ... ok
test_frac_scalar (__main__.TestAutograd) ... ok
test_free_deep_graph (__main__.TestAutograd) ... ok
test_free_deep_graph_complicated (__main__.TestAutograd) ... ok
test_free_deep_graph_pyfunction (__main__.TestAutograd) ... ok
test_function (__main__.TestAutograd) ... ok
test_function_returns_input (__main__.TestAutograd) ... ok
test_gather_dim0 (__main__.TestAutograd) ... ok
test_gather_dim0_neg0 (__main__.TestAutograd) ... ok
test_gather_dim1 (__main__.TestAutograd) ... ok
test_gather_dim1_neg0 (__main__.TestAutograd) ... ok
test_gather_scalar_both (__main__.TestAutograd) ... ok
test_gather_scalar_both_neg0 (__main__.TestAutograd) ... ok
test_gather_scalar_index (__main__.TestAutograd) ... ok
test_gather_scalar_index_neg0 (__main__.TestAutograd) ... ok
test_gather_scalar_input (__main__.TestAutograd) ... ok
test_gather_scalar_input_neg0 (__main__.TestAutograd) ... ok
test_gc_in_destructor (__main__.TestAutograd) ... /root/pytorch/torch/csrc/autograd/python_function.cpp:622: UserWarning: Legacy autograd function with non-static forward method is deprecated and will be removed in 1.3. Please use new-style autograd function with static forward method. (Example: https://pytorch.org/docs/stable/autograd.html#torch.autograd.Function)
"(Example: https://pytorch.org/docs/stable/autograd.html#torch.autograd.Function)");
/root/pytorch/torch/csrc/autograd/python_function.cpp:622: UserWarning: Legacy autograd function with non-static forward method is deprecated and will be removed in 1.3. Please use new-style autograd function with static forward method. (Example: https://pytorch.org/docs/stable/autograd.html#torch.autograd.Function)
"(Example: https://pytorch.org/docs/stable/autograd.html#torch.autograd.Function)");
/root/pytorch/torch/csrc/autograd/python_function.cpp:622: UserWarning: Legacy autograd function with non-static forward method is deprecated and will be removed in 1.3. Please use new-style autograd function with static forward method. (Example: https://pytorch.org/docs/stable/autograd.html#torch.autograd.Function)
"(Example: https://pytorch.org/docs/stable/autograd.html#torch.autograd.Function)");
/root/pytorch/torch/csrc/autograd/python_function.cpp:622: UserWarning: Legacy autograd function with non-static forward method is deprecated and will be removed in 1.3. Please use new-style autograd function with static forward method. (Example: https://pytorch.org/docs/stable/autograd.html#torch.autograd.Function)
"(Example: https://pytorch.org/docs/stable/autograd.html#torch.autograd.Function)");
/root/pytorch/torch/csrc/autograd/python_function.cpp:622: UserWarning: Legacy autograd function with non-static forward method is deprecated and will be removed in 1.3. Please use new-style autograd function with static forward method. (Example: https://pytorch.org/docs/stable/autograd.html#torch.autograd.Function)
"(Example: https://pytorch.org/docs/stable/autograd.html#torch.autograd.Function)");
/root/pytorch/torch/csrc/autograd/python_function.cpp:622: UserWarning: Legacy autograd function with non-static forward method is deprecated and will be removed in 1.3. Please use new-style autograd function with static forward method. (Example: https://pytorch.org/docs/stable/autograd.html#torch.autograd.Function)
"(Example: https://pytorch.org/docs/stable/autograd.html#torch.autograd.Function)");
/root/pytorch/torch/csrc/autograd/python_function.cpp:622: UserWarning: Legacy autograd function with non-static forward method is deprecated and will be removed in 1.3. Please use new-style autograd function with static forward method. (Example: https://pytorch.org/docs/stable/autograd.html#torch.autograd.Function)
"(Example: https://pytorch.org/docs/stable/autograd.html#torch.autograd.Function)");
/root/pytorch/torch/csrc/autograd/python_function.cpp:622: UserWarning: Legacy autograd function with non-static forward method is deprecated and will be removed in 1.3. Please use new-style autograd function with static forward method. (Example: https://pytorch.org/docs/stable/autograd.html#torch.autograd.Function)
"(Example: https://pytorch.org/docs/stable/autograd.html#torch.autograd.Function)");
/root/pytorch/torch/csrc/autograd/python_function.cpp:622: UserWarning: Legacy autograd function with non-static forward method is deprecated and will be removed in 1.3. Please use new-style autograd function with static forward method. (Example: https://pytorch.org/docs/stable/autograd.html#torch.autograd.Function)
"(Example: https://pytorch.org/docs/stable/autograd.html#torch.autograd.Function)");
/root/pytorch/torch/csrc/autograd/python_function.cpp:622: UserWarning: Legacy autograd function with non-static forward method is deprecated and will be removed in 1.3. Please use new-style autograd function with static forward method. (Example: https://pytorch.org/docs/stable/autograd.html#torch.autograd.Function)
"(Example: https://pytorch.org/docs/stable/autograd.html#torch.autograd.Function)");
ok
test_ge_ (__main__.TestAutograd) ... ok
test_ge__broadcast_rhs (__main__.TestAutograd) ... ok
test_ge__pyscalar (__main__.TestAutograd) ... ok
test_ge__pyscalar_scalar (__main__.TestAutograd) ... ok
test_ge__scalar (__main__.TestAutograd) ... ok
test_ge__scalar_broadcast_rhs (__main__.TestAutograd) ... ok
test_ger (__main__.TestAutograd) ... ok
test_grad (__main__.TestAutograd) ... ok
test_grad_badcalls (__main__.TestAutograd) ... ok
test_grad_fn_badcalls (__main__.TestAutograd) ... ok
test_grad_nonleaf (__main__.TestAutograd) ... ok
test_grad_nonleaf_many_outputs (__main__.TestAutograd) ... ok
test_grad_nonleaf_register_hook (__main__.TestAutograd) ... ok
test_grad_unreachable (__main__.TestAutograd) ... ok
test_gradcheck_fail_when_no_differentiable_outputs_and_num_grad_not_zero (__main__.TestAutograd) ... ok
test_gradcheck_nondeterministic (__main__.TestAutograd) ... ok
test_gradcheck_single_input (__main__.TestAutograd) ... ok
test_gradcheck_sparse_input (__main__.TestAutograd) ... ok
test_gt_ (__main__.TestAutograd) ... ok
test_gt__broadcast_rhs (__main__.TestAutograd) ... ok
test_gt__pyscalar (__main__.TestAutograd) ... ok
test_gt__pyscalar_scalar (__main__.TestAutograd) ... ok
test_gt__scalar (__main__.TestAutograd) ... ok
test_gt__scalar_broadcast_rhs (__main__.TestAutograd) ... ok
test_hessian_vector (__main__.TestAutograd) ... ok
test_hook_none (__main__.TestAutograd) ... ok
test_hooks (__main__.TestAutograd) ... ok
test_hooks_cpp (__main__.TestAutograd) ... ok
test_index_add_dim (__main__.TestAutograd) ... ok
test_index_add_dim_neg0 (__main__.TestAutograd) ... ok
test_index_add_scalar_all_dim (__main__.TestAutograd) ... ok
test_index_add_scalar_all_dim_neg0 (__main__.TestAutograd) ... ok
test_index_add_scalar_input_dim (__main__.TestAutograd) ... ok
test_index_add_scalar_input_dim_neg0 (__main__.TestAutograd) ... ok
test_index_backward_does_not_save_tensor (__main__.TestAutograd) ... ok
test_index_copy_dim (__main__.TestAutograd) ... ok
test_index_copy_dim_neg0 (__main__.TestAutograd) ... ok
test_index_copy_scalar_all_dim (__main__.TestAutograd) ... ok
test_index_copy_scalar_all_dim_neg0 (__main__.TestAutograd) ... ok
test_index_copy_scalar_input_dim (__main__.TestAutograd) ... ok
test_index_copy_scalar_input_dim_neg0 (__main__.TestAutograd) ... ok
test_index_fill_dim (__main__.TestAutograd) ... ok
test_index_fill_dim_neg0 (__main__.TestAutograd) ... ok
test_index_fill_scalar_both_dim (__main__.TestAutograd) ... ok
test_index_fill_scalar_both_dim_neg0 (__main__.TestAutograd) ... ok
test_index_fill_scalar_index_dim (__main__.TestAutograd) ... ok
test_index_fill_scalar_index_dim_neg0 (__main__.TestAutograd) ... ok
test_index_fill_scalar_input_dim (__main__.TestAutograd) ... ok
test_index_fill_scalar_input_dim_neg0 (__main__.TestAutograd) ... ok
test_index_fill_variable_dim (__main__.TestAutograd) ... ok
test_index_fill_variable_dim_neg0 (__main__.TestAutograd) ... ok
test_index_select_dim (__main__.TestAutograd) ... ok
test_index_select_dim_neg0 (__main__.TestAutograd) ... ok
test_index_select_scalar_dim (__main__.TestAutograd) ... ok
test_index_select_scalar_dim_neg0 (__main__.TestAutograd) ... ok
test_index_select_scalar_mixed_dim (__main__.TestAutograd) ... ok
test_index_select_scalar_mixed_dim_neg0 (__main__.TestAutograd) ... ok
test_indexing (__main__.TestAutograd) ... ok
test_indexing_duplicates (__main__.TestAutograd) ... ok
test_inplace (__main__.TestAutograd) ... ok
test_inplace_view_backprop_base (__main__.TestAutograd) ... ok
test_inplace_view_backprop_view (__main__.TestAutograd) ... ok
test_inplace_view_backprop_view_of_view (__main__.TestAutograd) ... ok
test_inplace_view_backward (__main__.TestAutograd) ... ok
test_inplace_view_gradcheck (__main__.TestAutograd) ... ok
test_inplace_view_makes_base_require_grad (__main__.TestAutograd) ... ok
test_inplace_view_modify_base (__main__.TestAutograd) ... ok
test_inplace_view_non_contig (__main__.TestAutograd) ... ok
test_inplace_view_of_view (__main__.TestAutograd) ... ok
test_inplace_view_python (__main__.TestAutograd) ... ok
test_inplace_view_saved_output (__main__.TestAutograd) ... ok
test_inplace_view_weak_grad_fn (__main__.TestAutograd) ... ok
test_invalid_gradients (__main__.TestAutograd) ... ok
test_inverse (__main__.TestAutograd) ... ok
test_inverse_batched (__main__.TestAutograd) ... ok
test_isolated_node (__main__.TestAutograd) ... ok
test_kthvalue (__main__.TestAutograd) ... ok
test_kthvalue_dim (__main__.TestAutograd) ... ok
test_kthvalue_dim_1d (__main__.TestAutograd) ... ok
test_kthvalue_dim_1d_neg0 (__main__.TestAutograd) ... ok
test_kthvalue_dim_neg0 (__main__.TestAutograd) ... ok
test_kthvalue_keepdim_dim (__main__.TestAutograd) ... ok
test_kthvalue_keepdim_dim_1d (__main__.TestAutograd) ... ok
test_kthvalue_keepdim_dim_1d_neg0 (__main__.TestAutograd) ... ok
test_kthvalue_keepdim_dim_neg0 (__main__.TestAutograd) ... ok
test_kthvalue_scalar (__main__.TestAutograd) ... ok
test_kthvalue_scalar_dim (__main__.TestAutograd) ... ok
test_kthvalue_scalar_dim_neg0 (__main__.TestAutograd) ... ok
test_kthvalue_scalar_keepdim_dim (__main__.TestAutograd) ... ok
test_kthvalue_scalar_keepdim_dim_neg0 (__main__.TestAutograd) ... ok
test_le_ (__main__.TestAutograd) ... ok
test_le__broadcast_rhs (__main__.TestAutograd) ... ok
test_le__pyscalar (__main__.TestAutograd) ... ok
test_le__pyscalar_scalar (__main__.TestAutograd) ... ok
test_le__scalar (__main__.TestAutograd) ... ok
test_le__scalar_broadcast_rhs (__main__.TestAutograd) ... ok
test_leaf_assignment (__main__.TestAutograd) ... ok
test_legacy_function_deprecation_warning (__main__.TestAutograd) ... ok
test_legacy_function_none_grad (__main__.TestAutograd) ... /root/pytorch/torch/csrc/autograd/python_function.cpp:622: UserWarning: Legacy autograd function with non-static forward method is deprecated and will be removed in 1.3. Please use new-style autograd function with static forward method. (Example: https://pytorch.org/docs/stable/autograd.html#torch.autograd.Function)
"(Example: https://pytorch.org/docs/stable/autograd.html#torch.autograd.Function)");
ok
test_lerp_broadcast_all (__main__.TestAutograd) ... ok
test_lerp_broadcast_lhs (__main__.TestAutograd) ... ok
test_lerp_broadcast_rhs (__main__.TestAutograd) ... ok
test_lerp_scalar (__main__.TestAutograd) ... ok
test_lerp_scalar_broadcast_lhs (__main__.TestAutograd) ... ok
test_lerp_scalar_broadcast_rhs (__main__.TestAutograd) ... ok
test_lerp_scalar_no_broadcast (__main__.TestAutograd) ... ok
test_lerp_tensor_weights (__main__.TestAutograd) ... ERROR
test_log (__main__.TestAutograd) ... ok
test_log10 (__main__.TestAutograd) ... ok
test_log10_scalar (__main__.TestAutograd) ... ok
test_log1p (__main__.TestAutograd) ... ok
test_log1p_scalar (__main__.TestAutograd) ... ok
test_log2 (__main__.TestAutograd) ... ok
test_log2_scalar (__main__.TestAutograd) ... ok
test_log_scalar (__main__.TestAutograd) ... ok
test_log_softmax_kwarg_dtype_would_break_jit_loader (__main__.TestAutograd) ... ok
test_logdet (__main__.TestAutograd) ... ok
test_logdet_1x1 (__main__.TestAutograd) ... ok
test_logdet_batched (__main__.TestAutograd) ... ok
test_logdet_batched_1x1 (__main__.TestAutograd) ... ok
test_logdet_batched_distinct_singular_values (__main__.TestAutograd) ... ok
test_logdet_batched_symmetric (__main__.TestAutograd) ... ok
test_logdet_batched_symmetric_pd (__main__.TestAutograd) ... ok
test_logdet_distinct_singular_values (__main__.TestAutograd) ... ok
test_logdet_symmetric (__main__.TestAutograd) ... ok
test_logdet_symmetric_pd (__main__.TestAutograd) ... ok
test_logsumexp (__main__.TestAutograd) ... ok
test_logsumexp_scalar (__main__.TestAutograd) ... ok
test_lt_ (__main__.TestAutograd) ... ok
test_lt__broadcast_rhs (__main__.TestAutograd) ... ok
test_lt__pyscalar (__main__.TestAutograd) ... ok
test_lt__pyscalar_scalar (__main__.TestAutograd) ... ok
test_lt__scalar (__main__.TestAutograd) ... ok
test_lt__scalar_broadcast_rhs (__main__.TestAutograd) ... ok
test_mark_non_differentiable (__main__.TestAutograd) ... ok
test_mark_non_differentiable_mixed (__main__.TestAutograd) ... ok
test_mark_non_differentiable_none (__main__.TestAutograd) ... ok
test_masked_fill (__main__.TestAutograd) ... ok
test_masked_fill_broadcast_lhs (__main__.TestAutograd) ... ok
test_masked_fill_broadcast_rhs (__main__.TestAutograd) ... ok
test_masked_fill_scalar (__main__.TestAutograd) ... ok
test_masked_fill_scalar_broadcast_rhs (__main__.TestAutograd) ... ok
test_masked_fill_scalar_variable (__main__.TestAutograd) ... ok
test_masked_fill_tensor (__main__.TestAutograd) ... ok
test_masked_scatter (__main__.TestAutograd) ... ok
test_masked_scatter_broadcast_lhs (__main__.TestAutograd) ... ok
test_masked_scatter_broadcast_rhs (__main__.TestAutograd) ... ok
test_masked_scatter_scalar (__main__.TestAutograd) ... ok
test_masked_scatter_scalar_broadcast_rhs (__main__.TestAutograd) ... ok
test_masked_select (__main__.TestAutograd) ... ok
test_masked_select_broadcast_all (__main__.TestAutograd) ... ok
test_masked_select_broadcast_lhs (__main__.TestAutograd) ... ok
test_masked_select_broadcast_rhs (__main__.TestAutograd) ... ok
test_masked_select_scalar (__main__.TestAutograd) ... ok
test_masked_select_scalar_broadcast_lhs (__main__.TestAutograd) ... ok
test_masked_select_scalar_broadcast_rhs (__main__.TestAutograd) ... ok
test_matmul (__main__.TestAutograd) ... ok
test_matmul_1d_2d (__main__.TestAutograd) ... ok
test_matmul_1d_3d (__main__.TestAutograd) ... ok
test_matmul_1d_4d (__main__.TestAutograd) ... ok
test_matmul_2d_1d (__main__.TestAutograd) ... ok
test_matmul_2d_2d (__main__.TestAutograd) ... ok
test_matmul_2d_3d (__main__.TestAutograd) ... ok
test_matmul_3d_1d (__main__.TestAutograd) ... ok
test_matmul_3d_2d (__main__.TestAutograd) ... ok
test_matmul_4d_1d (__main__.TestAutograd) ... ok
test_matmul_4d_4d (__main__.TestAutograd) ... ok
test_matrix_power_n=-1 (__main__.TestAutograd) ... ok
test_matrix_power_n=-2 (__main__.TestAutograd) ... ok
test_matrix_power_n=-3 (__main__.TestAutograd) ... ok
test_matrix_power_n=0 (__main__.TestAutograd) ... ok
test_matrix_power_n=1 (__main__.TestAutograd) ... ok
test_matrix_power_n=2 (__main__.TestAutograd) ... ok
test_matrix_power_n=3 (__main__.TestAutograd) ... ok
test_max (__main__.TestAutograd) ... ok
test_max_dim (__main__.TestAutograd) ... ok
test_max_dim_neg0 (__main__.TestAutograd) ... ok
test_max_elementwise (__main__.TestAutograd) ... ok
test_max_elementwise_broadcast_all (__main__.TestAutograd) ... ok
test_max_elementwise_broadcast_lhs (__main__.TestAutograd) ... ok
test_max_elementwise_broadcast_rhs (__main__.TestAutograd) ... ok
test_max_keepdim_dim (__main__.TestAutograd) ... ok
test_max_keepdim_dim_neg0 (__main__.TestAutograd) ... ok
test_max_scalar (__main__.TestAutograd) ... ok
test_max_scalar_dim (__main__.TestAutograd) ... ok
test_max_scalar_dim_neg0 (__main__.TestAutograd) ... ok
test_max_scalar_elementwise (__main__.TestAutograd) ... ok
test_max_scalar_elementwise_broadcast_lhs (__main__.TestAutograd) ... ok
test_max_scalar_elementwise_broadcast_rhs (__main__.TestAutograd) ... ok
test_max_scalar_keepdim_dim (__main__.TestAutograd) ... ok
test_max_scalar_keepdim_dim_neg0 (__main__.TestAutograd) ... ok
test_mean (__main__.TestAutograd) ... ok
test_mean_dim (__main__.TestAutograd) ... ok
test_mean_dim_neg0 (__main__.TestAutograd) ... ok
test_mean_dtype (__main__.TestAutograd) ... ok
test_mean_keepdim_dim (__main__.TestAutograd) ... ok
test_mean_keepdim_dim_neg0 (__main__.TestAutograd) ... ok
test_mean_scalar (__main__.TestAutograd) ... ok
test_mean_scalar_dim (__main__.TestAutograd) ... ok
test_mean_scalar_dim_neg0 (__main__.TestAutograd) ... ok
test_mean_scalar_keepdim_dim (__main__.TestAutograd) ... ok
test_mean_scalar_keepdim_dim_neg0 (__main__.TestAutograd) ... ok
test_median (__main__.TestAutograd) ... ok
test_median_dim (__main__.TestAutograd) ... ok
test_median_dim_neg0 (__main__.TestAutograd) ... ok
test_median_keepdim_dim (__main__.TestAutograd) ... ok
test_median_keepdim_dim_neg0 (__main__.TestAutograd) ... ok
test_median_scalar (__main__.TestAutograd) ... ok
test_median_scalar_dim (__main__.TestAutograd) ... ok
test_median_scalar_dim_neg0 (__main__.TestAutograd) ... ok
test_median_scalar_keepdim_dim (__main__.TestAutograd) ... ok
test_median_scalar_keepdim_dim_neg0 (__main__.TestAutograd) ... ok
test_min (__main__.TestAutograd) ... ok
test_min_dim (__main__.TestAutograd) ... ok
test_min_dim_neg0 (__main__.TestAutograd) ... ok
test_min_elementwise (__main__.TestAutograd) ... ok
test_min_elementwise_broadcast_all (__main__.TestAutograd) ... ok
test_min_elementwise_broadcast_lhs (__main__.TestAutograd) ... ok
test_min_elementwise_broadcast_rhs (__main__.TestAutograd) ... ok
test_min_keepdim_dim (__main__.TestAutograd) ... ok
test_min_keepdim_dim_neg0 (__main__.TestAutograd) ... ok
test_min_scalar (__main__.TestAutograd) ... ok
test_min_scalar_dim (__main__.TestAutograd) ... ok
test_min_scalar_dim_neg0 (__main__.TestAutograd) ... ok
test_min_scalar_elementwise (__main__.TestAutograd) ... ok
test_min_scalar_elementwise_broadcast_lhs (__main__.TestAutograd) ... ok
test_min_scalar_elementwise_broadcast_rhs (__main__.TestAutograd) ... ok
test_min_scalar_keepdim_dim (__main__.TestAutograd) ... ok
test_min_scalar_keepdim_dim_neg0 (__main__.TestAutograd) ... ok
test_mm (__main__.TestAutograd) ... ok
test_mode (__main__.TestAutograd) ... ok
test_mode_dim (__main__.TestAutograd) ... ok
test_mode_dim_neg0 (__main__.TestAutograd) ... ok
test_mode_keepdim_dim (__main__.TestAutograd) ... ok
test_mode_keepdim_dim_neg0 (__main__.TestAutograd) ... ok
test_mode_scalar (__main__.TestAutograd) ... ok
test_mode_scalar_dim (__main__.TestAutograd) ... ok
test_mode_scalar_dim_neg0 (__main__.TestAutograd) ... ok
test_mode_scalar_keepdim_dim (__main__.TestAutograd) ... ok
test_mode_scalar_keepdim_dim_neg0 (__main__.TestAutograd) ... ok
test_mul (__main__.TestAutograd) ... ok
test_mul_broadcast_all (__main__.TestAutograd) ... ok
test_mul_broadcast_lhs (__main__.TestAutograd) ... ok
test_mul_broadcast_rhs (__main__.TestAutograd) ... ok
test_mul_constant (__main__.TestAutograd) ... ok
test_mul_out (__main__.TestAutograd) ... ok
test_mul_out_result_requires_grad (__main__.TestAutograd) ... ok
test_mul_scalar (__main__.TestAutograd) ... ok
test_mul_scalar_broadcast_lhs (__main__.TestAutograd) ... ok
test_mul_scalar_broadcast_rhs (__main__.TestAutograd) ... ok
test_mul_scalar_constant (__main__.TestAutograd) ... ok
test_multi_backward (__main__.TestAutograd) ... ok
test_multi_backward_no_grad (__main__.TestAutograd) ... ok
test_mv (__main__.TestAutograd) ... ok
test_mvlgamma_p=1 (__main__.TestAutograd) ... ok
test_mvlgamma_p=2 (__main__.TestAutograd) ... ok
test_mvlgamma_p=3 (__main__.TestAutograd) ... ok
test_mvlgamma_p=5 (__main__.TestAutograd) ... ok
test_narrow_dim (__main__.TestAutograd) ... ok
test_narrow_dim_neg0 (__main__.TestAutograd) ... ok
test_narrow_empty_dim (__main__.TestAutograd) ... ok
test_narrow_empty_dim_neg0 (__main__.TestAutograd) ... ok
test_naughty_anomaly_access (__main__.TestAutograd) ... expected failure
test_naughty_autograd_function_stashing_ctx (__main__.TestAutograd) ... ok
test_naughty_legacy_function_backward_before_forward (__main__.TestAutograd) ... ok
test_naughty_legacy_function_early_access (__main__.TestAutograd) ... ok
test_naughty_legacy_variable_grad_fn (__main__.TestAutograd) ... ok
test_ne_ (__main__.TestAutograd) ... ok
test_ne__broadcast_rhs (__main__.TestAutograd) ... ok
test_ne__pyscalar (__main__.TestAutograd) ... ok
test_ne__pyscalar_scalar (__main__.TestAutograd) ... ok
test_ne__scalar (__main__.TestAutograd) ... ok
test_ne__scalar_broadcast_rhs (__main__.TestAutograd) ... ok
test_next_functions (__main__.TestAutograd) ... ok
test_no_grad (__main__.TestAutograd) ... ok
test_no_grad_assignment (__main__.TestAutograd) ... ok
test_no_grad_copy (__main__.TestAutograd) ... ok
test_no_grad_input (__main__.TestAutograd) ... ok
test_no_grad_modifies_version (__main__.TestAutograd) ... ok
test_no_grad_python_function (__main__.TestAutograd)
Python Functions should respect grad mode. ... ok
test_no_requires_grad_inplace (__main__.TestAutograd) ... ok
test_no_unnecessary_save (__main__.TestAutograd) ... ok
test_norm_-inf (__main__.TestAutograd) ... ok
test_norm_0 (__main__.TestAutograd) ... ok
test_norm_0_2_dim (__main__.TestAutograd) ... ok
test_norm_0_2_dim_neg0 (__main__.TestAutograd) ... ok
test_norm_0_5 (__main__.TestAutograd) ... ok
test_norm_1 (__main__.TestAutograd) ... ok
test_norm_1_2_dim (__main__.TestAutograd) ... ok
test_norm_1_2_dim_neg0 (__main__.TestAutograd) ... ok
test_norm_1_5_default (__main__.TestAutograd) ... ok
test_norm_1_5_dim (__main__.TestAutograd) ... ok
test_norm_1_5_dim_neg0 (__main__.TestAutograd) ... ok
test_norm_2 (__main__.TestAutograd) ... ok
test_norm_2_2_dim (__main__.TestAutograd) ... ok
test_norm_2_2_dim_neg0 (__main__.TestAutograd) ... ok
test_norm_2_dim (__main__.TestAutograd) ... ok
test_norm_2_dim_neg0 (__main__.TestAutograd) ... ok
test_norm_2_dim_scalar (__main__.TestAutograd) ... ok
test_norm_2_dim_scalar_neg0 (__main__.TestAutograd) ... ok
test_norm_3 (__main__.TestAutograd) ... ok
test_norm_3_2_dim (__main__.TestAutograd) ... ok
test_norm_3_2_dim_neg0 (__main__.TestAutograd) ... ok
test_norm_3_dim (__main__.TestAutograd) ... ok
test_norm_3_dim_neg0 (__main__.TestAutograd) ... ok
test_norm_3_dim_scalar (__main__.TestAutograd) ... ok
test_norm_3_dim_scalar_neg0 (__main__.TestAutograd) ... ok
test_norm_default (__main__.TestAutograd) ... ok
test_norm_fro (__main__.TestAutograd) ... ok
test_norm_fro_default (__main__.TestAutograd) ... ok
test_norm_inf (__main__.TestAutograd) ... ok
test_norm_inf_2_dim (__main__.TestAutograd) ... ok
test_norm_keepdim_1_5_dim (__main__.TestAutograd) ... ok
test_norm_keepdim_1_5_dim_neg0 (__main__.TestAutograd) ... ok
test_norm_keepdim_2_dim (__main__.TestAutograd) ... ok
test_norm_keepdim_2_dim_neg0 (__main__.TestAutograd) ... ok
test_norm_keepdim_2_dim_scalar (__main__.TestAutograd) ... ok
test_norm_keepdim_2_dim_scalar_neg0 (__main__.TestAutograd) ... ok
test_norm_keepdim_3_dim (__main__.TestAutograd) ... ok
test_norm_keepdim_3_dim_neg0 (__main__.TestAutograd) ... ok
test_norm_keepdim_3_dim_scalar (__main__.TestAutograd) ... ok
test_norm_keepdim_3_dim_scalar_neg0 (__main__.TestAutograd) ... ok
test_norm_neg_0_5 (__main__.TestAutograd) ... ok
test_norm_neg_1 (__main__.TestAutograd) ... ok
test_norm_neg_1_2_dim (__main__.TestAutograd) ... ok
test_norm_neg_1_2_dim_neg0 (__main__.TestAutograd) ... ok
test_norm_neg_1_5 (__main__.TestAutograd) ... ok
test_norm_neg_2 (__main__.TestAutograd) ... ok
test_norm_neg_2_2_dim (__main__.TestAutograd) ... ok
test_norm_neg_2_2_dim_neg0 (__main__.TestAutograd) ... ok
test_norm_nuc (__main__.TestAutograd) ... ok
test_norm_nuc_batched (__main__.TestAutograd) ... ok
test_norm_subgradient (__main__.TestAutograd) ... ok
test_numpy_requires_grad (__main__.TestAutograd) ... ok
test_once_differentiable (__main__.TestAutograd) ... ok
test_permute (__main__.TestAutograd) ... ok
test_permute_neg_dim (__main__.TestAutograd) ... ok
test_permute_scalar (__main__.TestAutograd) ... ok
test_pickle (__main__.TestAutograd) ... ok
test_pinverse (__main__.TestAutograd) ... ok
test_pow (__main__.TestAutograd) ... ok
test_pow_broadcast_all (__main__.TestAutograd) ... ok
test_pow_broadcast_lhs (__main__.TestAutograd) ... ok
test_pow_broadcast_rhs (__main__.TestAutograd) ... ok
test_pow_constant (__main__.TestAutograd) ... ok
test_pow_scalar (__main__.TestAutograd) ... ok
test_pow_scalar_base (__main__.TestAutograd) ... ok
test_pow_scalar_broadcast_lhs (__main__.TestAutograd) ... ok
test_pow_scalar_broadcast_rhs (__main__.TestAutograd) ... ok
test_pow_scalar_constant (__main__.TestAutograd) ... ok
test_pow_zero_tensor_gradient (__main__.TestAutograd) ... ok
test_prod (__main__.TestAutograd) ... ok
test_prod_dim (__main__.TestAutograd) ... ok
test_prod_dim_neg0 (__main__.TestAutograd) ... ok
test_prod_keepdim_dim (__main__.TestAutograd) ... ok
test_prod_keepdim_dim_neg0 (__main__.TestAutograd) ... ok
test_prod_keepdim_zeros_dims0 (__main__.TestAutograd) ... ok
test_prod_keepdim_zeros_dims0_neg0 (__main__.TestAutograd) ... ok
test_prod_keepdim_zeros_dims1 (__main__.TestAutograd) ... ok
test_prod_keepdim_zeros_dims1_neg0 (__main__.TestAutograd) ... ok
test_prod_keepdim_zeros_dims2 (__main__.TestAutograd) ... ok
test_prod_keepdim_zeros_dims2_neg0 (__main__.TestAutograd) ... ok
test_prod_scalar (__main__.TestAutograd) ... ok
test_prod_scalar_dim (__main__.TestAutograd) ... ok
test_prod_scalar_dim_neg0 (__main__.TestAutograd) ... ok
test_prod_scalar_dim_zero (__main__.TestAutograd) ... ok
test_prod_scalar_dim_zero_neg0 (__main__.TestAutograd) ... ok
test_prod_scalar_keepdim_dim (__main__.TestAutograd) ... ok
test_prod_scalar_keepdim_dim_neg0 (__main__.TestAutograd) ... ok
test_prod_scalar_keepdim_dim_zero (__main__.TestAutograd) ... ok
test_prod_scalar_keepdim_dim_zero_neg0 (__main__.TestAutograd) ... ok
test_prod_scalar_zero (__main__.TestAutograd) ... ok
test_prod_single_zero (__main__.TestAutograd) ... ok
test_prod_zerodims0 (__main__.TestAutograd) ... ok
test_prod_zerodims1 (__main__.TestAutograd) ... ok
test_prod_zerodims2 (__main__.TestAutograd) ... ok
test_prod_zeros_dims0 (__main__.TestAutograd) ... ok
test_prod_zeros_dims0_neg0 (__main__.TestAutograd) ... ok
test_prod_zeros_dims1 (__main__.TestAutograd) ... ok
test_prod_zeros_dims1_neg0 (__main__.TestAutograd) ... ok
test_prod_zeros_dims2 (__main__.TestAutograd) ... ok
test_prod_zeros_dims2_neg0 (__main__.TestAutograd) ... ok
test_profiler (__main__.TestAutograd) ... ok
test_profiler_aggregation_fake (__main__.TestAutograd) ... ok
test_profiler_aggregation_lstm (__main__.TestAutograd) ... ok
test_profiler_shapes (__main__.TestAutograd) ... ok
test_put (__main__.TestAutograd) ... ok
test_put_accumulate (__main__.TestAutograd) ... ok
test_qr_square_batched (__main__.TestAutograd) ... ok
test_qr_square_many_batched (__main__.TestAutograd) ... ok
test_qr_square_single (__main__.TestAutograd) ... ok
test_qr_tall_batched (__main__.TestAutograd) ... ok
test_qr_tall_many_batched (__main__.TestAutograd) ... ok
test_qr_tall_single (__main__.TestAutograd) ... ok
test_reciprocal (__main__.TestAutograd) ... ok
test_reciprocal_scalar (__main__.TestAutograd) ... ok
test_record_function (__main__.TestAutograd) ... FAIL
test_reduce_dtype (__main__.TestAutograd) ... ok
test_reentrant (__main__.TestAutograd) ... ok
test_reentrant_priority (__main__.TestAutograd) ... ok
test_remainder (__main__.TestAutograd) ... ok
test_remainder_scalar (__main__.TestAutograd) ... ok
test_remainder_scalar_tensor (__main__.TestAutograd) ... ok
test_remainder_scalar_tensor_broadcast_lhs (__main__.TestAutograd) ... ok
test_remainder_tensor (__main__.TestAutograd) ... ok
test_remainder_tensor_broadcast_all (__main__.TestAutograd) ... ok
test_remainder_tensor_broadcast_lhs (__main__.TestAutograd) ... ok
test_renorm_dim (__main__.TestAutograd) ... ok
test_renorm_dim_neg0 (__main__.TestAutograd) ... ok
test_renorm_norm_1 (__main__.TestAutograd) ... ok
test_renorm_norm_inf (__main__.TestAutograd) ... ok
test_repeat (__main__.TestAutograd) ... ok
test_repeat_scalar (__main__.TestAutograd) ... ok
test_repeat_single_number (__main__.TestAutograd) ... ok
test_repeat_unsqueeze (__main__.TestAutograd) ... ok
test_requires_grad (__main__.TestAutograd) ... ok
test_requires_grad_ (__main__.TestAutograd) ... ok
test_requires_grad_inplace (__main__.TestAutograd) ... ok
test_reshape (__main__.TestAutograd) ... ok
test_reshape_1d (__main__.TestAutograd) ... ok
test_reshape_as (__main__.TestAutograd) ... ok
test_reshape_as_scalar (__main__.TestAutograd) ... ok
test_reshape_as_scalar_to_dims (__main__.TestAutograd) ... ok
test_reshape_scalar_to_1d (__main__.TestAutograd) ... ok
test_reshape_scalar_to_scalar (__main__.TestAutograd) ... ok
test_reshape_size (__main__.TestAutograd) ... ok
test_resize (__main__.TestAutograd) ... ok
test_resize__fewer_dims (__main__.TestAutograd) ... ok
test_resize__scalar (__main__.TestAutograd) ... ok
test_resize__scalar_to_dims (__main__.TestAutograd) ... ok
test_resize_as_ (__main__.TestAutograd) ... ok
test_resize_as__scalar (__main__.TestAutograd) ... ok
test_resize_as__scalar_to_dims (__main__.TestAutograd) ... ok
test_retain_grad (__main__.TestAutograd) ... ok
test_retain_grad_cycle (__main__.TestAutograd) ... ok
test_return_duplicate (__main__.TestAutograd) ... ok
test_return_duplicate_inplace (__main__.TestAutograd) ... ok
test_return_leaf (__main__.TestAutograd) ... ok
test_return_leaf_inplace (__main__.TestAutograd) ... ok
test_roll_d0 (__main__.TestAutograd) ... ok
test_roll_d02 (__main__.TestAutograd) ... ok
test_roll_d12 (__main__.TestAutograd) ... ok
test_roll_d20 (__main__.TestAutograd) ... ok
test_roll_flattened (__main__.TestAutograd) ... ok
test_roll_loop_shift (__main__.TestAutograd) ... ok
test_roll_neg_shift (__main__.TestAutograd) ... ok
test_roll_three_dims (__main__.TestAutograd) ... ok
test_rot90_default (__main__.TestAutograd) ... ok
test_rot90_k1_d01 (__main__.TestAutograd) ... ok
test_rot90_k1_d12 (__main__.TestAutograd) ... ok
test_rot90_k1_neg_d (__main__.TestAutograd) ... ok
test_round (__main__.TestAutograd) ... ok
test_round_scalar (__main__.TestAutograd) ... ok
test_rsqrt (__main__.TestAutograd) ... ok
test_rsqrt_scalar (__main__.TestAutograd) ... ok
test_save_none_for_backward (__main__.TestAutograd) ... ok
test_save_output_nr (__main__.TestAutograd) ... ok
test_saved_variables_deprecated (__main__.TestAutograd) ... ok
test_scatter_add_dim0 (__main__.TestAutograd) ... ok
test_scatter_add_dim0_neg0 (__main__.TestAutograd) ... ok
test_scatter_add_dim1 (__main__.TestAutograd) ... ok
test_scatter_add_dim1_neg0 (__main__.TestAutograd) ... ok
test_scatter_add_scalar_all_dim0 (__main__.TestAutograd) ... ok
test_scatter_add_scalar_all_dim0_neg0 (__main__.TestAutograd) ... ok
test_scatter_dim0 (__main__.TestAutograd) ... ok
test_scatter_dim0_neg0 (__main__.TestAutograd) ... ok
test_scatter_dim1 (__main__.TestAutograd) ... ok
test_scatter_dim1_neg0 (__main__.TestAutograd) ... ok
test_scatter_scalar_all_dim0 (__main__.TestAutograd) ... ok
test_scatter_scalar_all_dim0_neg0 (__main__.TestAutograd) ... ok
test_scatter_scalartensor_all_dim0 (__main__.TestAutograd) ... ok
test_scatter_scalartensor_all_dim0_neg0 (__main__.TestAutograd) ... ok
test_select_1d (__main__.TestAutograd) ... ok
test_select_dim (__main__.TestAutograd) ... ok
test_select_dim_neg0 (__main__.TestAutograd) ... ok
test_select_sum (__main__.TestAutograd) ... ok
test_select_wrap_dim (__main__.TestAutograd) ... ok
test_select_wrap_dim_neg0 (__main__.TestAutograd) ... ok
test_set_data_preserve_pyobj (__main__.TestAutograd) ... ok
test_set_data_tensorimpl_type (__main__.TestAutograd) ... ok
test_set_grad_enabled (__main__.TestAutograd) ... ok
test_setitem (__main__.TestAutograd) ... ok
test_setitem_mask (__main__.TestAutograd) ... ok
test_shape (__main__.TestAutograd) ... ok
test_sharded_grad (__main__.TestAutograd) ... ok
test_sigmoid (__main__.TestAutograd) ... ok
test_sigmoid_scalar (__main__.TestAutograd) ... ok
test_sign (__main__.TestAutograd) ... ok
test_sign_scalar (__main__.TestAutograd) ... ok
test_sin (__main__.TestAutograd) ... ok
test_sin_scalar (__main__.TestAutograd) ... ok
test_sinh (__main__.TestAutograd) ... ok
test_sinh_scalar (__main__.TestAutograd) ... ok
test_slogdet_1x1_neg_det (__main__.TestAutograd) ... ok
test_slogdet_1x1_pos_det (__main__.TestAutograd) ... ok
test_slogdet_batched_1x1_neg_det (__main__.TestAutograd) ... ok
test_slogdet_batched_distinct_singular_values (__main__.TestAutograd) ... ok
test_slogdet_batched_pos_det (__main__.TestAutograd) ... ok
test_slogdet_batched_symmetric (__main__.TestAutograd) ... ok
test_slogdet_batched_symmetric_pd (__main__.TestAutograd) ... ok
test_slogdet_distinct_singular_values (__main__.TestAutograd) ... ok
test_slogdet_neg_det (__main__.TestAutograd) ... ok
test_slogdet_pos_det (__main__.TestAutograd) ... ok
test_slogdet_sign (__main__.TestAutograd) ... ok
test_slogdet_symmetric (__main__.TestAutograd) ... ok
test_slogdet_symmetric_pd (__main__.TestAutograd) ... ok
test_solve (__main__.TestAutograd) ... ok
test_solve_batched (__main__.TestAutograd) ... ok
test_solve_batched_broadcast_A (__main__.TestAutograd) ... ok
test_solve_batched_broadcast_b (__main__.TestAutograd) ... ok
test_solve_batched_dims (__main__.TestAutograd) ... ok
test_sort (__main__.TestAutograd) ... ok
test_sort_dim (__main__.TestAutograd) ... ok
test_sort_dim_desc (__main__.TestAutograd) ... ok
test_sort_dim_desc_scalar (__main__.TestAutograd) ... ok
test_sort_dim_scalar (__main__.TestAutograd) ... ok
test_sort_scalar (__main__.TestAutograd) ... ok
test_sparse_backward (__main__.TestAutograd) ... ok
test_sparse_gather_both_scalar (__main__.TestAutograd) ... ok
test_sparse_gather_dim0 (__main__.TestAutograd) ... ok
test_sparse_gather_dim1 (__main__.TestAutograd) ... ok
test_sparse_gather_dim_neg (__main__.TestAutograd) ... ok
test_sparse_gather_ind_scalar (__main__.TestAutograd) ... ok
test_sparse_gather_x_scalar (__main__.TestAutograd) ... ok
test_sparse_mm_backward (__main__.TestAutograd) ... ok
test_split (__main__.TestAutograd) ... ok
test_split_dim (__main__.TestAutograd) ... ok
test_split_dim_neg0 (__main__.TestAutograd) ... ok
test_split_size_list (__main__.TestAutograd) ... ok
test_split_size_list_dim (__main__.TestAutograd) ... ok
test_split_size_list_dim_neg0 (__main__.TestAutograd) ... ok
test_split_with_sizes (__main__.TestAutograd) ... ok
test_split_with_sizes_dim (__main__.TestAutograd) ... ok
test_split_with_sizes_dim_neg0 (__main__.TestAutograd) ... ok
test_split_with_sizes_size_0 (__main__.TestAutograd) ... ok
test_sqrt (__main__.TestAutograd) ... ok
test_sqrt_scalar (__main__.TestAutograd) ... ok
test_squeeze (__main__.TestAutograd) ... ok
test_squeeze_1_dim (__main__.TestAutograd) ... ok
test_squeeze_1_dim_neg0 (__main__.TestAutograd) ... ok
test_squeeze_input_sizes_are_ones (__main__.TestAutograd) ... ok
test_squeeze_not_1_dim (__main__.TestAutograd) ... ok
test_squeeze_not_1_dim_neg0 (__main__.TestAutograd) ... ok
test_squeeze_scalar (__main__.TestAutograd) ... ok
test_squeeze_scalar_neg0 (__main__.TestAutograd) ... ok
test_stack (__main__.TestAutograd) ... ok
test_std (__main__.TestAutograd) ... ok
test_std_dim (__main__.TestAutograd) ... ok
test_std_dim_1d (__main__.TestAutograd) ... ok
test_std_dim_1d_neg0 (__main__.TestAutograd) ... ok
test_std_dim_neg0 (__main__.TestAutograd) ... ok
test_std_keepdim_dim (__main__.TestAutograd) ... ok
test_std_keepdim_dim_1d (__main__.TestAutograd) ... ok
test_std_keepdim_dim_1d_neg0 (__main__.TestAutograd) ... ok
test_std_keepdim_dim_neg0 (__main__.TestAutograd) ... ok
test_std_mean (__main__.TestAutograd) ... ok
test_std_mean_dim (__main__.TestAutograd) ... ok
test_std_mean_dim_1d (__main__.TestAutograd) ... ok
test_std_mean_keepdim_dim (__main__.TestAutograd) ... ok
test_std_mean_keepdim_dim_1d (__main__.TestAutograd) ... ok
test_sub (__main__.TestAutograd) ... ok
test_sub_broadcast_all (__main__.TestAutograd) ... ok
test_sub_broadcast_lhs (__main__.TestAutograd) ... ok
test_sub_broadcast_rhs (__main__.TestAutograd) ... ok
test_sub_constant (__main__.TestAutograd) ... ok
test_sub_scalar_broadcast_lhs (__main__.TestAutograd) ... ok
test_sub_scalar_broadcast_rhs (__main__.TestAutograd) ... ok
test_sub_scalar_constant (__main__.TestAutograd) ... ok
test_sum (__main__.TestAutograd) ... ok
test_sum_dim (__main__.TestAutograd) ... ok
test_sum_dim_neg0 (__main__.TestAutograd) ... ok
test_sum_keepdim_dim (__main__.TestAutograd) ... ok
test_sum_keepdim_dim_neg0 (__main__.TestAutograd) ... ok
test_sum_multi_dim (__main__.TestAutograd) ... ok
test_sum_multi_dim_keepdim (__main__.TestAutograd) ... ok
test_sum_scalar (__main__.TestAutograd) ... ok
test_sum_scalar_dim (__main__.TestAutograd) ... ok
test_sum_scalar_dim_neg0 (__main__.TestAutograd) ... ok
test_sum_scalar_keepdim_dim (__main__.TestAutograd) ... ok
test_sum_scalar_keepdim_dim_neg0 (__main__.TestAutograd) ... ok
test_sum_to_with_empty_dim_grad (__main__.TestAutograd) ... ok
test_svd (__main__.TestAutograd) ... ok
test_svd_batched (__main__.TestAutograd) ... ok
test_svd_large (__main__.TestAutograd) ... ok
test_svd_no_singularvectors (__main__.TestAutograd) ... ok
test_svd_tall (__main__.TestAutograd) ... ok
test_svd_tall_all (__main__.TestAutograd) ... ok
test_svd_tall_all_batched (__main__.TestAutograd) ... ok
test_svd_tall_batched (__main__.TestAutograd) ... ok
test_svd_wide (__main__.TestAutograd) ... ok
test_svd_wide_all (__main__.TestAutograd) ... ok
test_svd_wide_all_batched (__main__.TestAutograd) ... ok
test_svd_wide_batched (__main__.TestAutograd) ... ok
test_symeig (__main__.TestAutograd) ... ok
test_symeig_no_eigenvectors (__main__.TestAutograd) ... ok
test_t (__main__.TestAutograd) ... ok
test_take (__main__.TestAutograd) ... ok
test_take_scalar_both (__main__.TestAutograd) ... ok
test_take_scalar_data (__main__.TestAutograd) ... ok
test_take_scalar_index (__main__.TestAutograd) ... ok
test_tan (__main__.TestAutograd) ... ok
test_tanh (__main__.TestAutograd) ... ok
test_tanh_scalar (__main__.TestAutograd) ... ok
test_thread_shutdown (__main__.TestAutograd) ... ok
test_to_sparse (__main__.TestAutograd) ... ok
test_too_many_grads (__main__.TestAutograd) ... ok
test_topk (__main__.TestAutograd) ... ok
test_topk_dim (__main__.TestAutograd) ... ok
test_topk_dim_desc (__main__.TestAutograd) ... ok
test_topk_dim_desc_neg0 (__main__.TestAutograd) ... ok
test_topk_dim_desc_scalar (__main__.TestAutograd) ... ok
test_topk_dim_desc_scalar_neg0 (__main__.TestAutograd) ... ok
test_topk_dim_desc_sort (__main__.TestAutograd) ... ok
test_topk_dim_desc_sort_neg0 (__main__.TestAutograd) ... ok
test_topk_dim_desc_sort_scalar (__main__.TestAutograd) ... ok
test_topk_dim_desc_sort_scalar_neg0 (__main__.TestAutograd) ... ok
test_topk_dim_neg0 (__main__.TestAutograd) ... ok
test_topk_dim_scalar (__main__.TestAutograd) ... ok
test_topk_dim_scalar_neg0 (__main__.TestAutograd) ... ok
test_topk_scalar (__main__.TestAutograd) ... ok
test_trace (__main__.TestAutograd) ... ok
test_transpose_1d (__main__.TestAutograd) ... ok
test_transpose_2d (__main__.TestAutograd) ... ok
test_transpose_3d (__main__.TestAutograd) ... ok
test_transpose_dim (__main__.TestAutograd) ... ok
test_transpose_dim_neg0 (__main__.TestAutograd) ... ok
test_transpose_dim_neg0_neg1 (__main__.TestAutograd) ... ok
test_transpose_dim_neg1 (__main__.TestAutograd) ... ok
test_transpose_scalar (__main__.TestAutograd) ... ok
test_trapz (__main__.TestAutograd) ... ok
test_triangular_solve (__main__.TestAutograd) ... ok
test_tril (__main__.TestAutograd) ... ok
test_tril_batched (__main__.TestAutograd) ... ok
test_tril_batched_idx (__main__.TestAutograd) ... ok
test_tril_idx (__main__.TestAutograd) ... ok
test_tril_more_batched (__main__.TestAutograd) ... ok
test_triu (__main__.TestAutograd) ... ok
test_triu_batched (__main__.TestAutograd) ... ok
test_triu_batched_idx (__main__.TestAutograd) ... ok
test_triu_idx (__main__.TestAutograd) ... ok
test_triu_more_batched (__main__.TestAutograd) ... ok
test_trunc (__main__.TestAutograd) ... ok
test_trunc_scalar (__main__.TestAutograd) ... ok
test_type_conversions (__main__.TestAutograd) ... ok
test_unbind (__main__.TestAutograd) ... ok
test_unfold (__main__.TestAutograd) ... ok
test_unfold_lastdim (__main__.TestAutograd) ... ok
test_unfold_lastdim_neg0 (__main__.TestAutograd) ... ok
test_unfold_neg0 (__main__.TestAutograd) ... ok
test_unfold_scalar (__main__.TestAutograd) ... ok
test_unfold_scalar_neg0 (__main__.TestAutograd) ... ok
test_unsqueeze_first (__main__.TestAutograd) ... ok
test_unsqueeze_first_neg0 (__main__.TestAutograd) ... ok
test_unsqueeze_last (__main__.TestAutograd) ... ok
test_unsqueeze_last_neg0 (__main__.TestAutograd) ... ok
test_unsqueeze_middle (__main__.TestAutograd) ... ok
test_unsqueeze_middle_neg0 (__main__.TestAutograd) ... ok
test_unsqueeze_scalar (__main__.TestAutograd) ... ok
test_unsqueeze_scalar_neg0 (__main__.TestAutograd) ... ok
test_unused_output (__main__.TestAutograd) ... ok
test_var (__main__.TestAutograd) ... ok
test_var_dim (__main__.TestAutograd) ... ok
test_var_dim_1d (__main__.TestAutograd) ... ok
test_var_dim_1d_neg0 (__main__.TestAutograd) ... ok
test_var_dim_neg0 (__main__.TestAutograd) ... ok
test_var_keepdim_dim (__main__.TestAutograd) ... ok
test_var_keepdim_dim_1d (__main__.TestAutograd) ... ok
test_var_keepdim_dim_1d_neg0 (__main__.TestAutograd) ... ok
test_var_keepdim_dim_neg0 (__main__.TestAutograd) ... ok
test_var_mean (__main__.TestAutograd) ... ok
test_var_mean_differentiable (__main__.TestAutograd) ... ok
test_var_mean_dim (__main__.TestAutograd) ... ok
test_var_mean_dim_1d (__main__.TestAutograd) ... ok
test_var_mean_keepdim_dim (__main__.TestAutograd) ... ok
test_var_mean_keepdim_dim_1d (__main__.TestAutograd) ... ok
test_variable_traverse (__main__.TestAutograd) ... ok
test_version_counter (__main__.TestAutograd) ... ok
test_view (__main__.TestAutograd) ... ok
test_view_1d (__main__.TestAutograd) ... ok
test_view_as (__main__.TestAutograd) ... ok
test_view_as_scalar (__main__.TestAutograd) ... ok
test_view_as_scalar_to_dims (__main__.TestAutograd) ... ok
test_view_scalar_to_1d (__main__.TestAutograd) ... ok
test_view_scalar_to_scalar (__main__.TestAutograd) ... ok
test_view_size (__main__.TestAutograd) ... ok
test_volatile_deprecated (__main__.TestAutograd) ... ok
test_where (__main__.TestAutograd) ... ok
test_where_broadcast_all (__main__.TestAutograd) ... ok
test_where_scalar (__main__.TestAutograd) ... ok
test_where_scalar_broadcast_mask (__main__.TestAutograd) ... ok
test_where_scalar_broadcast_non_mask (__main__.TestAutograd) ... ok
test_zero_ (__main__.TestAutograd) ... ok
test_zero__scalar (__main__.TestAutograd) ... ok
test_GRU_grad_and_gradgrad_cpu (__main__.TestAutogradDeviceTypeCPU) ... ok
test_LSTM_grad_and_gradgrad_cpu (__main__.TestAutogradDeviceTypeCPU) ... ok
test_advanced_indexing_backwards_large_cpu (__main__.TestAutogradDeviceTypeCPU) ... skipped 'Only runs on cuda'
test_backward_device_cpu (__main__.TestAutogradDeviceTypeCPU) ... skipped 'fewer than 2 devices detected'
test_cdist_cpu (__main__.TestAutogradDeviceTypeCPU) ... ok
test_cross_device_reentrant_autograd_cpu (__main__.TestAutogradDeviceTypeCPU) ... skipped 'Only runs on cuda'
test_ctc_loss_cpu (__main__.TestAutogradDeviceTypeCPU) ... ok
test_ctc_loss_cudnn_cpu (__main__.TestAutogradDeviceTypeCPU) ... skipped 'Only runs on cuda'
test_free_unneeded_tensor_cpu (__main__.TestAutogradDeviceTypeCPU) ... skipped 'Only runs on cuda'
test_grad_assignment_cpu (__main__.TestAutogradDeviceTypeCPU) ... ok
test_inputbuffer_add_multidevice_cpu (__main__.TestAutogradDeviceTypeCPU) ... skipped 'fewer than 2 devices detected'
test_lstmcell_backward_only_one_output_grad_cpu (__main__.TestAutogradDeviceTypeCPU) ... skipped 'Only runs on cuda'
test_pdist_large_cpu (__main__.TestAutogradDeviceTypeCPU) ... ok
test_pin_memory_cpu (__main__.TestAutogradDeviceTypeCPU) ... skipped 'Only runs on cuda'
test_profiler_emit_nvtx_cpu (__main__.TestAutogradDeviceTypeCPU) ... skipped 'Only runs on cuda'
test_pyscalar_conversions_cpu (__main__.TestAutogradDeviceTypeCPU) ... ok
test_requires_grad_factory_cpu_float32 (__main__.TestAutogradDeviceTypeCPU) ... ok
test_requires_grad_factory_cpu_float64 (__main__.TestAutogradDeviceTypeCPU) ... ok
test_rnn_backward_to_input_but_not_parameters_cpu (__main__.TestAutogradDeviceTypeCPU) ... skipped 'Only runs on cuda'
test_set_requires_grad_only_for_floats_cpu_float32 (__main__.TestAutogradDeviceTypeCPU) ... ok
test_set_requires_grad_only_for_floats_cpu_float64 (__main__.TestAutogradDeviceTypeCPU) ... ok
test_set_requires_grad_only_for_floats_cpu_int16 (__main__.TestAutogradDeviceTypeCPU) ... ok
test_set_requires_grad_only_for_floats_cpu_int32 (__main__.TestAutogradDeviceTypeCPU) ... ok
test_set_requires_grad_only_for_floats_cpu_int64 (__main__.TestAutogradDeviceTypeCPU) ... ok
test_set_requires_grad_only_for_floats_cpu_int8 (__main__.TestAutogradDeviceTypeCPU) ... ok
test_sparse_ctor_getter_backward_cpu (__main__.TestAutogradDeviceTypeCPU) ... ok
test_sparse_mask_autograd_cpu (__main__.TestAutogradDeviceTypeCPU) ... ok
test_unused_output_device_cpu (__main__.TestAutogradDeviceTypeCPU) ... skipped 'fewer than 2 devices detected'
test_where_functional_cpu (__main__.TestAutogradDeviceTypeCPU) ... ok
test_GRU_grad_and_gradgrad_cuda (__main__.TestAutogradDeviceTypeCUDA) ... /root/.local/lib/python2.7/site-packages/torch/backends/cudnn/__init__.py:107: UserWarning: PyTorch was compiled without cuDNN support. To use cuDNN, rebuild PyTorch making sure the library is visible to the build system.
"PyTorch was compiled without cuDNN support. To use cuDNN, rebuild "
ok
test_LSTM_grad_and_gradgrad_cuda (__main__.TestAutogradDeviceTypeCUDA) ... ok
test_advanced_indexing_backwards_large_cuda (__main__.TestAutogradDeviceTypeCUDA) ... ok
test_backward_device_cuda (__main__.TestAutogradDeviceTypeCUDA) ... ok
test_cdist_cuda (__main__.TestAutogradDeviceTypeCUDA) ... skipped "test doesn't currently work on the ROCm stack"
test_cross_device_reentrant_autograd_cuda (__main__.TestAutogradDeviceTypeCUDA) ... ok
test_ctc_loss_cuda (__main__.TestAutogradDeviceTypeCUDA) ... skipped "test doesn't currently work on the ROCm stack"
test_ctc_loss_cudnn_cuda (__main__.TestAutogradDeviceTypeCUDA) ... skipped "test doesn't currently work on the ROCm stack"
test_free_unneeded_tensor_cuda (__main__.TestAutogradDeviceTypeCUDA) ... ok
test_grad_assignment_cuda (__main__.TestAutogradDeviceTypeCUDA) ... ok
test_inputbuffer_add_multidevice_cuda (__main__.TestAutogradDeviceTypeCUDA) ... ok
test_lstmcell_backward_only_one_output_grad_cuda (__main__.TestAutogradDeviceTypeCUDA) ... ok
test_pdist_large_cuda (__main__.TestAutogradDeviceTypeCUDA) ... ok
test_pin_memory_cuda (__main__.TestAutogradDeviceTypeCUDA) ... ok
test_profiler_emit_nvtx_cuda (__main__.TestAutogradDeviceTypeCUDA) ... skipped "test doesn't currently work on the ROCm stack"
test_pyscalar_conversions_cuda (__main__.TestAutogradDeviceTypeCUDA) ... ok
test_requires_grad_factory_cuda_float32 (__main__.TestAutogradDeviceTypeCUDA) ... ok
test_requires_grad_factory_cuda_float64 (__main__.TestAutogradDeviceTypeCUDA) ... ok
test_rnn_backward_to_input_but_not_parameters_cuda (__main__.TestAutogradDeviceTypeCUDA) ... ok
test_set_requires_grad_only_for_floats_cuda_float16 (__main__.TestAutogradDeviceTypeCUDA) ... ok
test_set_requires_grad_only_for_floats_cuda_float32 (__main__.TestAutogradDeviceTypeCUDA) ... ok
test_set_requires_grad_only_for_floats_cuda_float64 (__main__.TestAutogradDeviceTypeCUDA) ... ok
test_set_requires_grad_only_for_floats_cuda_int16 (__main__.TestAutogradDeviceTypeCUDA) ... ok
test_set_requires_grad_only_for_floats_cuda_int32 (__main__.TestAutogradDeviceTypeCUDA) ... ok
test_set_requires_grad_only_for_floats_cuda_int64 (__main__.TestAutogradDeviceTypeCUDA) ... ok
test_set_requires_grad_only_for_floats_cuda_int8 (__main__.TestAutogradDeviceTypeCUDA) ... ok
test_sparse_ctor_getter_backward_cuda (__main__.TestAutogradDeviceTypeCUDA) ... skipped "test doesn't currently work on the ROCm stack"
test_sparse_mask_autograd_cuda (__main__.TestAutogradDeviceTypeCUDA) ... ok
test_unused_output_device_cuda (__main__.TestAutogradDeviceTypeCUDA) ... Memory access fault by GPU node-2 (Agent handle: 0x35ea260) on address (nil). Reason: Page not present or supervisor privilege.
Traceback (most recent call last):
File "test/run_test.py", line 455, in <module>
main()
File "test/run_test.py", line 447, in main
raise RuntimeError(message)
RuntimeError: test_autograd failed! Received signal: SIGIOT

test_lerp_tensor_weights,

test_unused_output_device_cuda were failed

could anyone help me figure out please

my hardware :

os ubuntu 16.04

motherboard ROG CROSSHAIR VI HERO

cpu 2700x

gpu rx480 * 2

Issue 2:
🚀 Feature

Caffe2 has whitelisting mechanism (facebookarchive/caffe2#228) to reduce final binary size which is very useful for mobile apps. However, in my opinion, it is not really convenient to list all files to be compiled and is more appropriate to do the opposite - blacklisting file to exclude from compilation. It is easier to know what you don't really need and can exclude than to know every file that you need or needed by others as dependency.

Also with blacklisting it is more probable that after updating from master user won't have problems when building new version - it will include all newly added files into build automatically, but with whitelisting list should be updated every time to include newly added files.

Considering that in general it is functionality duplication (all that is possible to archive with whitelist is achievable with blacklist and vice versa) but with better convenience, I am opening this proposal to discuss addition of this functionality. Or it might be more relevant to replace whitelisting with blacklisting to avoid functionality duplication.

I have implemented this change locally for my project and able to provide pull requests for both variants.