KEMBAR78
To add Adamax algorithm to documentation by iramazanli · Pull Request #63903 · pytorch/pytorch · GitHub
Skip to content

Conversation

@iramazanli
Copy link
Contributor

@iramazanli iramazanli commented Aug 24, 2021

It has been discussed before that adding description of Optimization algorithms to PyTorch Core documentation may result in a nice Optimization research tutorial. In the following tracking issue we mentioned about all the necessary algorithms and links to the originally published paper #63236.

In this PR we are adding description of Adamax Algorithm to the documentation. For more details, we refer to the paper https://arxiv.org/abs/1412.6980

Adamx

@facebook-github-bot
Copy link
Contributor

facebook-github-bot commented Aug 24, 2021

🔗 Helpful links

💊 CI failures summary and remediations

As of commit 6aada3f (more details on the Dr. CI page):



🕵️ 2 new failures recognized by patterns

The following CI failures do not appear to be due to upstream breakages:

See GitHub Actions build win-vs2019-cuda10.2-py3 / build (1/2)

Step: "Build" (full log | diagnosis details | 🔁 rerun)

2021-09-09T13:05:24.9227702Z FAILED: c10/test/C...0_accumulate_test.dir/util/accumulate_test.cpp.obj
2021-09-09T13:05:24.9149655Z caused by: Failed to read response header
2021-09-09T13:05:24.9150049Z caused by: failed to fill whole buffer
2021-09-09T13:05:24.9167739Z [3123/6276] C:\actions-runner\_work\pytorch\pytorch\pytorch-1217363064\build\win_tmp\bin\sccache-cl.exe   /TP -DIDEEP_USE_MKL -DMAGMA_V2 -DMINIZ_DISABLE_ZIP_READER_CRC32_CHECKS -DONNXIFI_ENABLE_EXT=1 -DONNX_ML=1 -DONNX_NAMESPACE=onnx_torch -DTH_BLAS_MKL -DUSE_EXTERNAL_MZCRC -DWIN32_LEAN_AND_MEAN -D_CRT_SECURE_NO_DEPRECATE=1 -D_OPENMP_NOFORCE_MANIFEST -IC:\actions-runner\_work\pytorch\pytorch\pytorch-1217363064\build\aten\src -IC:\actions-runner\_work\pytorch\pytorch\pytorch-1217363064\aten\src -IC:\actions-runner\_work\pytorch\pytorch\pytorch-1217363064\build -IC:\actions-runner\_work\pytorch\pytorch\pytorch-1217363064 -IC:\actions-runner\_work\pytorch\pytorch\pytorch-1217363064\cmake\..\third_party\benchmark\include -IC:\actions-runner\_work\pytorch\pytorch\pytorch-1217363064\cmake\..\third_party\cudnn_frontend\include -IC:\actions-runner\_work\pytorch\pytorch\pytorch-1217363064\build\caffe2\contrib\aten -IC:\actions-runner\_work\pytorch\pytorch\pytorch-1217363064\third_party\onnx -IC:\actions-runner\_work\pytorch\pytorch\pytorch-1217363064\build\third_party\onnx -IC:\actions-runner\_work\pytorch\pytorch\pytorch-1217363064\third_party\foxi -IC:\actions-runner\_work\pytorch\pytorch\pytorch-1217363064\build\third_party\foxi -IC:\actions-runner\_work\pytorch\pytorch\pytorch-1217363064\c10\.. -IC:\actions-runner\_work\pytorch\pytorch\pytorch-1217363064\build\third_party\gloo -IC:\actions-runner\_work\pytorch\pytorch\pytorch-1217363064\cmake\..\third_party\gloo -IC:\actions-runner\_work\pytorch\pytorch\pytorch-1217363064\cmake\..\third_party\googletest\googlemock\include -IC:\actions-runner\_work\pytorch\pytorch\pytorch-1217363064\cmake\..\third_party\googletest\googletest\include -IC:\actions-runner\_work\pytorch\pytorch\pytorch-1217363064\third_party\protobuf\src -IC:\actions-runner\_work\pytorch\pytorch\pytorch-1217363064\build\win_tmp\mkl\include -IC:\actions-runner\_work\pytorch\pytorch\pytorch-1217363064\third_party\XNNPACK\include -IC:\actions-runner\_work\pytorch\pytorch\pytorch-1217363064\third_party -IC:\actions-runner\_work\pytorch\pytorch\pytorch-1217363064\cmake\..\third_party\eigen -IC:\Jenkins\Miniconda3\include -IC:\Jenkins\Miniconda3\lib\site-packages\numpy\core\include -IC:\actions-runner\_work\pytorch\pytorch\pytorch-1217363064\cmake\..\third_party\pybind11\include -IC:\actions-runner\_work\pytorch\pytorch\pytorch-1217363064\cmake\..\third_party\cub -IC:\actions-runner\_work\pytorch\pytorch\pytorch-1217363064\build\win_tmp\magma\include -I"C:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v10.2\include" -IC:\actions-runner\_work\pytorch\pytorch\pytorch-1217363064\third_party\ideep\mkl-dnn\include -IC:\actions-runner\_work\pytorch\pytorch\pytorch-1217363064\third_party\ideep\include -IC:\actions-runner\_work\pytorch\pytorch\pytorch-1217363064\third_party\googletest\googlemock\include -IC:\actions-runner\_work\pytorch\pytorch\pytorch-1217363064\third_party\googletest\googlemock -IC:\actions-runner\_work\pytorch\pytorch\pytorch-1217363064\third_party\googletest\googletest\include -IC:\actions-runner\_work\pytorch\pytorch\pytorch-1217363064\third_party\googletest\googletest /DWIN32 /D_WINDOWS /GR /EHsc /w /bigobj -DUSE_PTHREADPOOL -openmp:experimental -IC:/actions-runner/_work/pytorch/pytorch/pytorch-1217363064/build/win_tmp/mkl/include -DNDEBUG -DUSE_KINETO -DLIBKINETO_NOCUPTI -DUSE_FBGEMM -DUSE_XNNPACK -DSYMBOLICATE_MOBILE_DEBUG_HANDLE -DEDGE_PROFILER_USE_KINETO /MD /O2 /Ob2 /DNDEBUG /w /bigobj -DNDEBUG -DCAFFE2_USE_GLOO -DCUDA_HAS_FP16=1 -DUSE_GCC_GET_CPUID -DUSE_AVX -DUSE_AVX2 -DTH_HAVE_THREAD -std:c++14 /showIncludes /Foc10\test\CMakeFiles\c10_TypeTraits_test.dir\util\TypeTraits_test.cpp.obj /Fdc10\test\CMakeFiles\c10_TypeTraits_test.dir\ /FS -c C:\actions-runner\_work\pytorch\pytorch\pytorch-1217363064\c10\test\util\TypeTraits_test.cpp
2021-09-09T13:05:24.9180145Z FAILED: c10/test/CMakeFiles/c10_TypeTraits_test.dir/util/TypeTraits_test.cpp.obj 
2021-09-09T13:05:24.9191951Z C:\actions-runner\_work\pytorch\pytorch\pytorch-1217363064\build\win_tmp\bin\sccache-cl.exe   /TP -DIDEEP_USE_MKL -DMAGMA_V2 -DMINIZ_DISABLE_ZIP_READER_CRC32_CHECKS -DONNXIFI_ENABLE_EXT=1 -DONNX_ML=1 -DONNX_NAMESPACE=onnx_torch -DTH_BLAS_MKL -DUSE_EXTERNAL_MZCRC -DWIN32_LEAN_AND_MEAN -D_CRT_SECURE_NO_DEPRECATE=1 -D_OPENMP_NOFORCE_MANIFEST -IC:\actions-runner\_work\pytorch\pytorch\pytorch-1217363064\build\aten\src -IC:\actions-runner\_work\pytorch\pytorch\pytorch-1217363064\aten\src -IC:\actions-runner\_work\pytorch\pytorch\pytorch-1217363064\build -IC:\actions-runner\_work\pytorch\pytorch\pytorch-1217363064 -IC:\actions-runner\_work\pytorch\pytorch\pytorch-1217363064\cmake\..\third_party\benchmark\include -IC:\actions-runner\_work\pytorch\pytorch\pytorch-1217363064\cmake\..\third_party\cudnn_frontend\include -IC:\actions-runner\_work\pytorch\pytorch\pytorch-1217363064\build\caffe2\contrib\aten -IC:\actions-runner\_work\pytorch\pytorch\pytorch-1217363064\third_party\onnx -IC:\actions-runner\_work\pytorch\pytorch\pytorch-1217363064\build\third_party\onnx -IC:\actions-runner\_work\pytorch\pytorch\pytorch-1217363064\third_party\foxi -IC:\actions-runner\_work\pytorch\pytorch\pytorch-1217363064\build\third_party\foxi -IC:\actions-runner\_work\pytorch\pytorch\pytorch-1217363064\c10\.. -IC:\actions-runner\_work\pytorch\pytorch\pytorch-1217363064\build\third_party\gloo -IC:\actions-runner\_work\pytorch\pytorch\pytorch-1217363064\cmake\..\third_party\gloo -IC:\actions-runner\_work\pytorch\pytorch\pytorch-1217363064\cmake\..\third_party\googletest\googlemock\include -IC:\actions-runner\_work\pytorch\pytorch\pytorch-1217363064\cmake\..\third_party\googletest\googletest\include -IC:\actions-runner\_work\pytorch\pytorch\pytorch-1217363064\third_party\protobuf\src -IC:\actions-runner\_work\pytorch\pytorch\pytorch-1217363064\build\win_tmp\mkl\include -IC:\actions-runner\_work\pytorch\pytorch\pytorch-1217363064\third_party\XNNPACK\include -IC:\actions-runner\_work\pytorch\pytorch\pytorch-1217363064\third_party -IC:\actions-runner\_work\pytorch\pytorch\pytorch-1217363064\cmake\..\third_party\eigen -IC:\Jenkins\Miniconda3\include -IC:\Jenkins\Miniconda3\lib\site-packages\numpy\core\include -IC:\actions-runner\_work\pytorch\pytorch\pytorch-1217363064\cmake\..\third_party\pybind11\include -IC:\actions-runner\_work\pytorch\pytorch\pytorch-1217363064\cmake\..\third_party\cub -IC:\actions-runner\_work\pytorch\pytorch\pytorch-1217363064\build\win_tmp\magma\include -I"C:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v10.2\include" -IC:\actions-runner\_work\pytorch\pytorch\pytorch-1217363064\third_party\ideep\mkl-dnn\include -IC:\actions-runner\_work\pytorch\pytorch\pytorch-1217363064\third_party\ideep\include -IC:\actions-runner\_work\pytorch\pytorch\pytorch-1217363064\third_party\googletest\googlemock\include -IC:\actions-runner\_work\pytorch\pytorch\pytorch-1217363064\third_party\googletest\googlemock -IC:\actions-runner\_work\pytorch\pytorch\pytorch-1217363064\third_party\googletest\googletest\include -IC:\actions-runner\_work\pytorch\pytorch\pytorch-1217363064\third_party\googletest\googletest /DWIN32 /D_WINDOWS /GR /EHsc /w /bigobj -DUSE_PTHREADPOOL -openmp:experimental -IC:/actions-runner/_work/pytorch/pytorch/pytorch-1217363064/build/win_tmp/mkl/include -DNDEBUG -DUSE_KINETO -DLIBKINETO_NOCUPTI -DUSE_FBGEMM -DUSE_XNNPACK -DSYMBOLICATE_MOBILE_DEBUG_HANDLE -DEDGE_PROFILER_USE_KINETO /MD /O2 /Ob2 /DNDEBUG /w /bigobj -DNDEBUG -DCAFFE2_USE_GLOO -DCUDA_HAS_FP16=1 -DUSE_GCC_GET_CPUID -DUSE_AVX -DUSE_AVX2 -DTH_HAVE_THREAD -std:c++14 /showIncludes /Foc10\test\CMakeFiles\c10_TypeTraits_test.dir\util\TypeTraits_test.cpp.obj /Fdc10\test\CMakeFiles\c10_TypeTraits_test.dir\ /FS -c C:\actions-runner\_work\pytorch\pytorch\pytorch-1217363064\c10\test\util\TypeTraits_test.cpp
2021-09-09T13:05:24.9203227Z error: failed to execute compile
2021-09-09T13:05:24.9203681Z caused by: error reading compile response from server
2021-09-09T13:05:24.9204139Z caused by: Failed to read response header
2021-09-09T13:05:24.9204548Z caused by: failed to fill whole buffer
2021-09-09T13:05:24.9216347Z [3124/6276] C:\actions-runner\_work\pytorch\pytorch\pytorch-1217363064\build\win_tmp\bin\sccache-cl.exe   /TP -DIDEEP_USE_MKL -DMAGMA_V2 -DMINIZ_DISABLE_ZIP_READER_CRC32_CHECKS -DONNXIFI_ENABLE_EXT=1 -DONNX_ML=1 -DONNX_NAMESPACE=onnx_torch -DTH_BLAS_MKL -DUSE_EXTERNAL_MZCRC -DWIN32_LEAN_AND_MEAN -D_CRT_SECURE_NO_DEPRECATE=1 -D_OPENMP_NOFORCE_MANIFEST -IC:\actions-runner\_work\pytorch\pytorch\pytorch-1217363064\build\aten\src -IC:\actions-runner\_work\pytorch\pytorch\pytorch-1217363064\aten\src -IC:\actions-runner\_work\pytorch\pytorch\pytorch-1217363064\build -IC:\actions-runner\_work\pytorch\pytorch\pytorch-1217363064 -IC:\actions-runner\_work\pytorch\pytorch\pytorch-1217363064\cmake\..\third_party\benchmark\include -IC:\actions-runner\_work\pytorch\pytorch\pytorch-1217363064\cmake\..\third_party\cudnn_frontend\include -IC:\actions-runner\_work\pytorch\pytorch\pytorch-1217363064\build\caffe2\contrib\aten -IC:\actions-runner\_work\pytorch\pytorch\pytorch-1217363064\third_party\onnx -IC:\actions-runner\_work\pytorch\pytorch\pytorch-1217363064\build\third_party\onnx -IC:\actions-runner\_work\pytorch\pytorch\pytorch-1217363064\third_party\foxi -IC:\actions-runner\_work\pytorch\pytorch\pytorch-1217363064\build\third_party\foxi -IC:\actions-runner\_work\pytorch\pytorch\pytorch-1217363064\c10\.. -IC:\actions-runner\_work\pytorch\pytorch\pytorch-1217363064\build\third_party\gloo -IC:\actions-runner\_work\pytorch\pytorch\pytorch-1217363064\cmake\..\third_party\gloo -IC:\actions-runner\_work\pytorch\pytorch\pytorch-1217363064\cmake\..\third_party\googletest\googlemock\include -IC:\actions-runner\_work\pytorch\pytorch\pytorch-1217363064\cmake\..\third_party\googletest\googletest\include -IC:\actions-runner\_work\pytorch\pytorch\pytorch-1217363064\third_party\protobuf\src -IC:\actions-runner\_work\pytorch\pytorch\pytorch-1217363064\build\win_tmp\mkl\include -IC:\actions-runner\_work\pytorch\pytorch\pytorch-1217363064\third_party\XNNPACK\include -IC:\actions-runner\_work\pytorch\pytorch\pytorch-1217363064\third_party -IC:\actions-runner\_work\pytorch\pytorch\pytorch-1217363064\cmake\..\third_party\eigen -IC:\Jenkins\Miniconda3\include -IC:\Jenkins\Miniconda3\lib\site-packages\numpy\core\include -IC:\actions-runner\_work\pytorch\pytorch\pytorch-1217363064\cmake\..\third_party\pybind11\include -IC:\actions-runner\_work\pytorch\pytorch\pytorch-1217363064\cmake\..\third_party\cub -IC:\actions-runner\_work\pytorch\pytorch\pytorch-1217363064\build\win_tmp\magma\include -I"C:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v10.2\include" -IC:\actions-runner\_work\pytorch\pytorch\pytorch-1217363064\third_party\ideep\mkl-dnn\include -IC:\actions-runner\_work\pytorch\pytorch\pytorch-1217363064\third_party\ideep\include -IC:\actions-runner\_work\pytorch\pytorch\pytorch-1217363064\third_party\googletest\googlemock\include -IC:\actions-runner\_work\pytorch\pytorch\pytorch-1217363064\third_party\googletest\googlemock -IC:\actions-runner\_work\pytorch\pytorch\pytorch-1217363064\third_party\googletest\googletest\include -IC:\actions-runner\_work\pytorch\pytorch\pytorch-1217363064\third_party\googletest\googletest /DWIN32 /D_WINDOWS /GR /EHsc /w /bigobj -DUSE_PTHREADPOOL -openmp:experimental -IC:/actions-runner/_work/pytorch/pytorch/pytorch-1217363064/build/win_tmp/mkl/include -DNDEBUG -DUSE_KINETO -DLIBKINETO_NOCUPTI -DUSE_FBGEMM -DUSE_XNNPACK -DSYMBOLICATE_MOBILE_DEBUG_HANDLE -DEDGE_PROFILER_USE_KINETO /MD /O2 /Ob2 /DNDEBUG /w /bigobj -DNDEBUG -DCAFFE2_USE_GLOO -DCUDA_HAS_FP16=1 -DUSE_GCC_GET_CPUID -DUSE_AVX -DUSE_AVX2 -DTH_HAVE_THREAD -std:c++14 /showIncludes /Foc10\test\CMakeFiles\c10_accumulate_test.dir\util\accumulate_test.cpp.obj /Fdc10\test\CMakeFiles\c10_accumulate_test.dir\ /FS -c C:\actions-runner\_work\pytorch\pytorch\pytorch-1217363064\c10\test\util\accumulate_test.cpp
2021-09-09T13:05:24.9227702Z FAILED: c10/test/CMakeFiles/c10_accumulate_test.dir/util/accumulate_test.cpp.obj 
2021-09-09T13:05:24.9239130Z C:\actions-runner\_work\pytorch\pytorch\pytorch-1217363064\build\win_tmp\bin\sccache-cl.exe   /TP -DIDEEP_USE_MKL -DMAGMA_V2 -DMINIZ_DISABLE_ZIP_READER_CRC32_CHECKS -DONNXIFI_ENABLE_EXT=1 -DONNX_ML=1 -DONNX_NAMESPACE=onnx_torch -DTH_BLAS_MKL -DUSE_EXTERNAL_MZCRC -DWIN32_LEAN_AND_MEAN -D_CRT_SECURE_NO_DEPRECATE=1 -D_OPENMP_NOFORCE_MANIFEST -IC:\actions-runner\_work\pytorch\pytorch\pytorch-1217363064\build\aten\src -IC:\actions-runner\_work\pytorch\pytorch\pytorch-1217363064\aten\src -IC:\actions-runner\_work\pytorch\pytorch\pytorch-1217363064\build -IC:\actions-runner\_work\pytorch\pytorch\pytorch-1217363064 -IC:\actions-runner\_work\pytorch\pytorch\pytorch-1217363064\cmake\..\third_party\benchmark\include -IC:\actions-runner\_work\pytorch\pytorch\pytorch-1217363064\cmake\..\third_party\cudnn_frontend\include -IC:\actions-runner\_work\pytorch\pytorch\pytorch-1217363064\build\caffe2\contrib\aten -IC:\actions-runner\_work\pytorch\pytorch\pytorch-1217363064\third_party\onnx -IC:\actions-runner\_work\pytorch\pytorch\pytorch-1217363064\build\third_party\onnx -IC:\actions-runner\_work\pytorch\pytorch\pytorch-1217363064\third_party\foxi -IC:\actions-runner\_work\pytorch\pytorch\pytorch-1217363064\build\third_party\foxi -IC:\actions-runner\_work\pytorch\pytorch\pytorch-1217363064\c10\.. -IC:\actions-runner\_work\pytorch\pytorch\pytorch-1217363064\build\third_party\gloo -IC:\actions-runner\_work\pytorch\pytorch\pytorch-1217363064\cmake\..\third_party\gloo -IC:\actions-runner\_work\pytorch\pytorch\pytorch-1217363064\cmake\..\third_party\googletest\googlemock\include -IC:\actions-runner\_work\pytorch\pytorch\pytorch-1217363064\cmake\..\third_party\googletest\googletest\include -IC:\actions-runner\_work\pytorch\pytorch\pytorch-1217363064\third_party\protobuf\src -IC:\actions-runner\_work\pytorch\pytorch\pytorch-1217363064\build\win_tmp\mkl\include -IC:\actions-runner\_work\pytorch\pytorch\pytorch-1217363064\third_party\XNNPACK\include -IC:\actions-runner\_work\pytorch\pytorch\pytorch-1217363064\third_party -IC:\actions-runner\_work\pytorch\pytorch\pytorch-1217363064\cmake\..\third_party\eigen -IC:\Jenkins\Miniconda3\include -IC:\Jenkins\Miniconda3\lib\site-packages\numpy\core\include -IC:\actions-runner\_work\pytorch\pytorch\pytorch-1217363064\cmake\..\third_party\pybind11\include -IC:\actions-runner\_work\pytorch\pytorch\pytorch-1217363064\cmake\..\third_party\cub -IC:\actions-runner\_work\pytorch\pytorch\pytorch-1217363064\build\win_tmp\magma\include -I"C:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v10.2\include" -IC:\actions-runner\_work\pytorch\pytorch\pytorch-1217363064\third_party\ideep\mkl-dnn\include -IC:\actions-runner\_work\pytorch\pytorch\pytorch-1217363064\third_party\ideep\include -IC:\actions-runner\_work\pytorch\pytorch\pytorch-1217363064\third_party\googletest\googlemock\include -IC:\actions-runner\_work\pytorch\pytorch\pytorch-1217363064\third_party\googletest\googlemock -IC:\actions-runner\_work\pytorch\pytorch\pytorch-1217363064\third_party\googletest\googletest\include -IC:\actions-runner\_work\pytorch\pytorch\pytorch-1217363064\third_party\googletest\googletest /DWIN32 /D_WINDOWS /GR /EHsc /w /bigobj -DUSE_PTHREADPOOL -openmp:experimental -IC:/actions-runner/_work/pytorch/pytorch/pytorch-1217363064/build/win_tmp/mkl/include -DNDEBUG -DUSE_KINETO -DLIBKINETO_NOCUPTI -DUSE_FBGEMM -DUSE_XNNPACK -DSYMBOLICATE_MOBILE_DEBUG_HANDLE -DEDGE_PROFILER_USE_KINETO /MD /O2 /Ob2 /DNDEBUG /w /bigobj -DNDEBUG -DCAFFE2_USE_GLOO -DCUDA_HAS_FP16=1 -DUSE_GCC_GET_CPUID -DUSE_AVX -DUSE_AVX2 -DTH_HAVE_THREAD -std:c++14 /showIncludes /Foc10\test\CMakeFiles\c10_accumulate_test.dir\util\accumulate_test.cpp.obj /Fdc10\test\CMakeFiles\c10_accumulate_test.dir\ /FS -c C:\actions-runner\_work\pytorch\pytorch\pytorch-1217363064\c10\test\util\accumulate_test.cpp
2021-09-09T13:05:24.9250216Z error: failed to execute compile
2021-09-09T13:05:24.9250658Z caused by: error reading compile response from server
2021-09-09T13:05:24.9251122Z caused by: Failed to read response header
2021-09-09T13:05:24.9251529Z caused by: failed to fill whole buffer
2021-09-09T13:05:24.9254026Z [3125/6276] cmd.exe /C "cd . && C:\Jenkins\Miniconda3\Library\bin\cmake.exe -E vs_link_exe --intdir=c10\test\CMakeFiles\c10_Metaprogramming_test.dir --rc=C:\PROGRA~2\WI3CF2~1\10\bin\100190~1.0\x64\rc.exe --mt=C:\PROGRA~2\WI3CF2~1\10\bin\100190~1.0\x64\mt.exe --manifests  -- C:\PROGRA~2\MICROS~2\2019\BUILDT~1\VC\Tools\MSVC\1428~1.293\bin\Hostx64\x64\link.exe  c10\test\CMakeFiles\c10_Metaprogramming_test.dir\util\Metaprogramming_test.cpp.obj  /out:bin\c10_Metaprogramming_test.exe /implib:lib\c10_Metaprogramming_test.lib /pdb:bin\c10_Metaprogramming_test.pdb /version:0.0 /machine:x64 /ignore:4049 /ignore:4217 /ignore:4099 /INCREMENTAL:NO /subsystem:console  lib\c10.lib  lib\gmock.lib  lib\gtest.lib  lib\gtest_main.lib  lib\gtest.lib  kernel32.lib user32.lib gdi32.lib winspool.lib shell32.lib ole32.lib oleaut32.lib uuid.lib comdlg32.lib advapi32.lib && cd ."
2021-09-09T13:05:24.9258184Z [3126/6276] cmd.exe /C "cd . && C:\Jenkins\Miniconda3\Library\bin\cmake.exe -E vs_link_exe --intdir=c10\test\CMakeFiles\c10_Array_test.dir --rc=C:\PROGRA~2\WI3CF2~1\10\bin\100190~1.0\x64\rc.exe --mt=C:\PROGRA~2\WI3CF2~1\10\bin\100190~1.0\x64\mt.exe --manifests  -- C:\PROGRA~2\MICROS~2\2019\BUILDT~1\VC\Tools\MSVC\1428~1.293\bin\Hostx64\x64\link.exe  c10\test\CMakeFiles\c10_Array_test.dir\util\Array_test.cpp.obj  /out:bin\c10_Array_test.exe /implib:lib\c10_Array_test.lib /pdb:bin\c10_Array_test.pdb /version:0.0 /machine:x64 /ignore:4049 /ignore:4217 /ignore:4099 /INCREMENTAL:NO /subsystem:console  lib\c10.lib  lib\gmock.lib  lib\gtest.lib  lib\gtest_main.lib  lib\gtest.lib  kernel32.lib user32.lib gdi32.lib winspool.lib shell32.lib ole32.lib oleaut32.lib uuid.lib comdlg32.lib advapi32.lib && cd ."
2021-09-09T13:05:24.9453569Z [3127/6276] cmd.exe /C "cd . && C:\Jenkins\Miniconda3\Library\bin\cmake.exe -E vs_link_exe --intdir=c10\test\CMakeFiles\c10_StreamGuard_test.dir --rc=C:\PROGRA~2\WI3CF2~1\10\bin\100190~1.0\x64\rc.exe --mt=C:\PROGRA~2\WI3CF2~1\10\bin\100190~1.0\x64\mt.exe --manifests  -- C:\PROGRA~2\MICROS~2\2019\BUILDT~1\VC\Tools\MSVC\1428~1.293\bin\Hostx64\x64\link.exe  c10\test\CMakeFiles\c10_StreamGuard_test.dir\core\StreamGuard_test.cpp.obj  /out:bin\c10_StreamGuard_test.exe /implib:lib\c10_StreamGuard_test.lib /pdb:bin\c10_StreamGuard_test.pdb /version:0.0 /machine:x64 /ignore:4049 /ignore:4217 /ignore:4099 /INCREMENTAL:NO /subsystem:console  lib\c10.lib  lib\gmock.lib  lib\gtest.lib  lib\gtest_main.lib  lib\gtest.lib  kernel32.lib user32.lib gdi32.lib winspool.lib shell32.lib ole32.lib oleaut32.lib uuid.lib comdlg32.lib advapi32.lib && cd ."
2021-09-09T13:05:24.9484099Z [3128/6276] cmd.exe /C "cd . && C:\Jenkins\Miniconda3\Library\bin\cmake.exe -E vs_link_exe --intdir=c10\test\CMakeFiles\c10_CompileTimeFunctionPointer_test.dir --rc=C:\PROGRA~2\WI3CF2~1\10\bin\100190~1.0\x64\rc.exe --mt=C:\PROGRA~2\WI3CF2~1\10\bin\100190~1.0\x64\mt.exe --manifests  -- C:\PROGRA~2\MICROS~2\2019\BUILDT~1\VC\Tools\MSVC\1428~1.293\bin\Hostx64\x64\link.exe  c10\test\CMakeFiles\c10_CompileTimeFunctionPointer_test.dir\core\CompileTimeFunctionPointer_test.cpp.obj  /out:bin\c10_CompileTimeFunctionPointer_test.exe /implib:lib\c10_CompileTimeFunctionPointer_test.lib /pdb:bin\c10_CompileTimeFunctionPointer_test.pdb /version:0.0 /machine:x64 /ignore:4049 /ignore:4217 /ignore:4099 /INCREMENTAL:NO /subsystem:console  lib\c10.lib  lib\gmock.lib  lib\gtest.lib  lib\gtest_main.lib  lib\gtest.lib  kernel32.lib user32.lib gdi32.lib winspool.lib shell32.lib ole32.lib oleaut32.lib uuid.lib comdlg32.lib advapi32.lib && cd ."
2021-09-09T13:05:24.9487252Z ninja: build stopped: subcommand failed.

See GitHub Actions build linux-bionic-py3.6-clang9 / test (noarch, 1, 1, linux.2xlarge) (2/2)

Step: "Test PyTorch" (full log | diagnosis details | 🔁 rerun)

2021-09-09T13:15:10.0359702Z AssertionError: RuntimeError not raised
2021-09-09T13:15:10.0354478Z   File "/var/lib/jenkins/workspace/test/jit/test_tracer.py", line 244, in test_canonicalize_tensor_iterator
2021-09-09T13:15:10.0355512Z     self.assertTrue(str(traced.graph_for(x)).count(': int = prim::Constant') == 5)
2021-09-09T13:15:10.0356076Z AssertionError: False is not true
2021-09-09T13:15:10.0356350Z 
2021-09-09T13:15:10.0356633Z ======================================================================
2021-09-09T13:15:10.0357096Z FAIL [0.002s]: test_inplace_check (jit.test_tracer.TestTracer)
2021-09-09T13:15:10.0357820Z ----------------------------------------------------------------------
2021-09-09T13:15:10.0358283Z Traceback (most recent call last):
2021-09-09T13:15:10.0358844Z   File "/var/lib/jenkins/workspace/test/jit/test_tracer.py", line 342, in test_inplace_check
2021-09-09T13:15:10.0359319Z     ge(x)
2021-09-09T13:15:10.0359702Z AssertionError: RuntimeError not raised
2021-09-09T13:15:10.0360014Z 
2021-09-09T13:15:10.0360501Z ----------------------------------------------------------------------
2021-09-09T13:15:10.0360909Z Ran 2535 tests in 82.485s
2021-09-09T13:15:10.0361115Z 
2021-09-09T13:15:10.0361579Z FAILED (failures=33, errors=16, skipped=91, expected failures=1)
2021-09-09T13:15:10.0361914Z 
2021-09-09T13:15:10.0362233Z Generating XML reports...
2021-09-09T13:15:10.0363283Z Generated XML report: test-reports/python-unittest/test_jit/TEST-jit.test_async.TestAsync-20210909131347.xml
2021-09-09T13:15:10.0364777Z Generated XML report: test-reports/python-unittest/test_jit/TEST-jit.test_aten_pow.TestAtenPow-20210909131347.xml
2021-09-09T13:15:10.0366581Z Generated XML report: test-reports/python-unittest/test_jit/TEST-jit.test_autodiff_subgraph_slicing.TestAutodiffSubgraphSlicing-20210909131347.xml

❄️ 1 failure tentatively classified as flaky

but reruns have not yet been triggered to confirm:

See GitHub Actions build linux-xenial-cuda11.3-py3.6-gcc7 / test (distributed, 1, 1, linux.8xlarge.nvidia.gpu) (1/1)

Step: "Test PyTorch" (full log | diagnosis details | 🔁 rerun) ❄️

2021-09-09T14:00:31.6676235Z RuntimeError: Proc...ated or timed out after 105.05119371414185 seconds
2021-09-09T14:00:31.6663196Z ======================================================================
2021-09-09T14:00:31.6664026Z ERROR [105.061s]: test_ddp_broadcast_buffer (__main__.TestDistBackendWithSpawn)
2021-09-09T14:00:31.6665462Z ----------------------------------------------------------------------
2021-09-09T14:00:31.6666090Z Traceback (most recent call last):
2021-09-09T14:00:31.6667235Z   File "/opt/conda/lib/python3.6/site-packages/torch/testing/_internal/common_distributed.py", line 418, in wrapper
2021-09-09T14:00:31.6671107Z     self._join_processes(fn)
2021-09-09T14:00:31.6672504Z   File "/opt/conda/lib/python3.6/site-packages/torch/testing/_internal/common_distributed.py", line 637, in _join_processes
2021-09-09T14:00:31.6673517Z     self._check_return_codes(elapsed_time)
2021-09-09T14:00:31.6674685Z   File "/opt/conda/lib/python3.6/site-packages/torch/testing/_internal/common_distributed.py", line 689, in _check_return_codes
2021-09-09T14:00:31.6675543Z     i, elapsed_time
2021-09-09T14:00:31.6676235Z RuntimeError: Process 0 terminated or timed out after 105.05119371414185 seconds
2021-09-09T14:00:31.6677045Z 
2021-09-09T14:00:31.6677773Z ----------------------------------------------------------------------
2021-09-09T14:00:31.6678340Z Ran 242 tests in 775.213s
2021-09-09T14:00:31.6678626Z 
2021-09-09T14:00:31.6679032Z FAILED (errors=1, skipped=128)
2021-09-09T14:00:31.6679389Z 
2021-09-09T14:00:31.6679809Z Generating XML reports...
2021-09-09T14:00:31.7038334Z Generated XML report: test-reports/dist-nccl/distributed.test_distributed_spawn/TEST-TestDistBackendWithSpawn-20210909134736.xml
2021-09-09T14:00:31.8309219Z Traceback (most recent call last):
2021-09-09T14:00:31.8310068Z   File "test/run_test.py", line 1023, in <module>

This comment was automatically generated by Dr. CI (expand for details).Follow this link to opt-out of these comments for your Pull Requests.

Please report bugs/suggestions to the (internal) Dr. CI Users group.

Click here to manually regenerate this comment.

@iramazanli iramazanli force-pushed the adamax_algorithm_doc branch 3 times, most recently from 7d4f467 to 8391319 Compare August 25, 2021 15:23
@codecov
Copy link

codecov bot commented Aug 25, 2021

Codecov Report

Merging #63903 (23ac602) into master (65e6194) will increase coverage by 0.00%.
The diff coverage is n/a.

❗ Current head 23ac602 differs from pull request most recent head 088903a. Consider uploading reports for the commit 088903a to get more accurate results

@@           Coverage Diff           @@
##           master   #63903   +/-   ##
=======================================
  Coverage   66.81%   66.82%           
=======================================
  Files         695      698    +3     
  Lines       90845    90881   +36     
=======================================
+ Hits        60701    60733   +32     
- Misses      30144    30148    +4     

@iramazanli iramazanli force-pushed the adamax_algorithm_doc branch 6 times, most recently from 23ac602 to f485036 Compare August 27, 2021 19:55
@iramazanli iramazanli requested a review from albanD August 27, 2021 19:55
@iramazanli iramazanli force-pushed the adamax_algorithm_doc branch from f485036 to 088903a Compare August 27, 2021 21:03
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The code actually adds an epsilon to the absolute value no?

Copy link
Collaborator

@albanD albanD left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@facebook-github-bot
Copy link
Contributor

@iramazanli has imported this pull request. If you are a Facebook employee, you can view this diff on Phabricator.

@facebook-github-bot
Copy link
Contributor

@iramazanli has imported this pull request. If you are a Facebook employee, you can view this diff on Phabricator.

@facebook-github-bot
Copy link
Contributor

@iramazanli merged this pull request in 39ce801.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants