RuntimeError: Error compiling objects for extension

Jesus! Why my error infor is incredibly long? (even shows 'There was an error creating your Issue: body is too long (maximum is 65536 characters).')
Environment:

Linux: 3.10.0-1160.25.1.el7.x86_64
cuda: Cuda compilation tools, release 12.4, V12.4.131  Build cuda_12.4.r12.4/compiler.34097967_0
Python 3.8.8
torch: 2.3.0+cu121

error part1:
_attn/src/flash_bwd_hdim64_fp16_causal_sm80.cu:5:
    /home/guoby/app/Anaconda3-2021.05/envs/news-2/lib/python3.8/site-packages/torch/include/c10/util/string_view.h:12:23: fatal error: string_view: No such file or directory
     #include <string_view>
                           ^
    compilation terminated.
    In file included from /usr/include/c++/4.8.2/cstdint:35:0,
                     from /home/guoby/app/Anaconda3-2021.05/envs/news-2/lib/python3.8/site-packages/torch/include/ATen/cuda/CUDAContextLight.h:4,
                     from /home/guoby/app/Anaconda3-2021.05/envs/news-2/lib/python3.8/site-packages/torch/include/ATen/cuda/CUDAContext.h:3,
                     from /tmp/pip-install-clm5mnmq/flash-attn_a54803c8052b4a8d9d6efbd30fc37f0f/csrc/flash_attn/src/flash_bwd_launch_template.h:7,
                     from /tmp/pip-install-clm5mnmq/flash-attn_a54803c8052b4a8d9d6efbd30fc37f0f/csrc/flash_attn/src/flash_bwd_hdim64_fp16_causal_sm80.cu:5:
    /usr/include/c++/4.8.2/bits/c++0x_warning.h:32:2: error: #error This file requires compiler and library support for the ISO C++ 2011 standard. This support is currently experimental, and must be enabled with the -std=c++11 or -std=gnu++11 compiler options.
     #error This file requires compiler and library support for the \
      ^
    In file included from /home/guoby/app/Anaconda3-2021.05/envs/news-2/lib/python3.8/site-packages/torch/include/c10/util/StringUtil.h:6:0,
                     from /home/guoby/app/Anaconda3-2021.05/envs/news-2/lib/python3.8/site-packages/torch/include/c10/util/Exception.h:6,
                     from /home/guoby/app/Anaconda3-2021.05/envs/news-2/lib/python3.8/site-packages/torch/include/c10/core/Device.h:5,
                     from /home/guoby/app/Anaconda3-2021.05/envs/news-2/lib/python3.8/site-packages/torch/include/c10/core/Allocator.h:9,
                     from /home/guoby/app/Anaconda3-2021.05/envs/news-2/lib/python3.8/site-packages/torch/include/ATen/cuda/CUDAContextLight.h:24,
                     from /home/guoby/app/Anaconda3-2021.05/envs/news-2/lib/python3.8/site-packages/torch/include/ATen/cuda/CUDAContext.h:3,
                     from /tmp/pip-install-clm5mnmq/flash-attn_a54803c8052b4a8d9d6efbd30fc37f0f/csrc/flash_attn/src/flash_bwd_launch_template.h:7,
                     from /tmp/pip-install-clm5mnmq/flash-attn_a54803c8052b4a8d9d6efbd30fc37f0f/csrc/flash_attn/src/flash_bwd_hdim64_fp16_causal_sm80.cu:5:
    /home/guoby/app/Anaconda3-2021.05/envs/news-2/lib/python3.8/site-packages/torch/include/c10/util/string_view.h:12:23: fatal error: string_view: No such file or directory
     #include <string_view>
                           ^
    compilation terminated.
    In file included from /usr/include/c++/4.8.2/cstdint:35:0,
                     from /home/guoby/app/Anaconda3-2021.05/envs/news-2/lib/python3.8/site-packages/torch/include/ATen/cuda/CUDAContextLight.h:4,
                     from /home/guoby/app/Anaconda3-2021.05/envs/news-2/lib/python3.8/site-packages/torch/include/ATen/cuda/CUDAContext.h:3,
                     from /tmp/pip-install-clm5mnmq/flash-attn_a54803c8052b4a8d9d6efbd30fc37f0f/csrc/flash_attn/src/flash_bwd_launch_template.h:7,
                     from /tmp/pip-install-clm5mnmq/flash-attn_a54803c8052b4a8d9d6efbd30fc37f0f/csrc/flash_attn/src/flash_bwd_hdim64_fp16_causal_sm80.cu:5:
    /usr/include/c++/4.8.2/bits/c++0x_warning.h:32:2: error: #error This file requires compiler and library support for the ISO C++ 2011 standard. This support is currently experimental, and must be enabled with the -std=c++11 or -std=gnu++11 compiler options.
     #error This file requires compiler and library support for the \
      ^
    In file included from /home/guoby/app/Anaconda3-2021.05/envs/news-2/lib/python3.8/site-packages/torch/include/c10/util/StringUtil.h:6:0,
                     from /home/guoby/app/Anaconda3-2021.05/envs/news-2/lib/python3.8/site-packages/torch/include/c10/util/Exception.h:6,
                     from /home/guoby/app/Anaconda3-2021.05/envs/news-2/lib/python3.8/site-packages/torch/include/c10/core/Device.h:5,
                     from /home/guoby/app/Anaconda3-2021.05/envs/news-2/lib/python3.8/site-packages/torch/include/c10/core/Allocator.h:9,
                     from /home/guoby/app/Anaconda3-2021.05/envs/news-2/lib/python3.8/site-packages/torch/include/ATen/cuda/CUDAContextLight.h:24,
                     from /home/guoby/app/Anaconda3-2021.05/envs/news-2/lib/python3.8/site-packages/torch/include/ATen/cuda/CUDAContext.h:3,
                     from /tmp/pip-install-clm5mnmq/flash-attn_a54803c8052b4a8d9d6efbd30fc37f0f/csrc/flash_attn/src/flash_bwd_launch_template.h:7,
                     from /tmp/pip-install-clm5mnmq/flash-attn_a54803c8052b4a8d9d6efbd30fc37f0f/csrc/flash_attn/src/flash_bwd_hdim64_fp16_causal_sm80.cu:5:
    /home/guoby/app/Anaconda3-2021.05/envs/news-2/lib/python3.8/site-packages/torch/include/c10/util/string_view.h:12:23: fatal error: string_view: No such file or directory
     #include <string_view>
                           ^
    compilation terminated.
    fatal   : Could not open input file /tmp/tmpxft_000086d7_00000000-8_flash_bwd_hdim64_fp16_causal_sm80.compute_80.cpp1.ii

error part2:
    [43/85] /opt/cuda_12.4.1_550.54.15_linux/bin/nvcc --generate-dependencies-with-compile --dependency-output /tmp/pip-install-clm5mnmq/flash-attn_a54803c8052b4a8d9d6efbd30fc37f0f/build/temp.linux-x86_64-3.8/csrc/flash_attn/src/flash_fwd_hdim256_bf16_causal_sm80.o.d -I/tmp/pip-install-clm5mnmq/flash-attn_a54803c8052b4a8d9d6efbd30fc37f0f/csrc/flash_attn -I/tmp/pip-install-clm5mnmq/flash-attn_a54803c8052b4a8d9d6efbd30fc37f0f/csrc/flash_attn/src -I/tmp/pip-install-clm5mnmq/flash-attn_a54803c8052b4a8d9d6efbd30fc37f0f/csrc/cutlass/include -I/home/guoby/app/Anaconda3-2021.05/envs/news-2/lib/python3.8/site-packages/torch/include -I/home/guoby/app/Anaconda3-2021.05/envs/news-2/lib/python3.8/site-packages/torch/include/torch/csrc/api/include -I/home/guoby/app/Anaconda3-2021.05/envs/news-2/lib/python3.8/site-packages/torch/include/TH -I/home/guoby/app/Anaconda3-2021.05/envs/news-2/lib/python3.8/site-packages/torch/include/THC -I/opt/cuda_12.4.1_550.54.15_linux/include -I/home/guoby/app/Anaconda3-2021.05/envs/news-2/include/python3.8 -c -c /tmp/pip-install-clm5mnmq/flash-attn_a54803c8052b4a8d9d6efbd30fc37f0f/csrc/flash_attn/src/flash_fwd_hdim256_bf16_causal_sm80.cu -o /tmp/pip-install-clm5mnmq/flash-attn_a54803c8052b4a8d9d6efbd30fc37f0f/build/temp.linux-x86_64-3.8/csrc/flash_attn/src/flash_fwd_hdim256_bf16_causal_sm80.o -D__CUDA_NO_HALF_OPERATORS__ -D__CUDA_NO_HALF_CONVERSIONS__ -D__CUDA_NO_BFLOAT16_CONVERSIONS__ -D__CUDA_NO_HALF2_OPERATORS__ --expt-relaxed-constexpr --compiler-options ''"'"'-fPIC'"'"'' -O3 -std=c++17 -U__CUDA_NO_HALF_OPERATORS__ -U__CUDA_NO_HALF_CONVERSIONS__ -U__CUDA_NO_HALF2_OPERATORS__ -U__CUDA_NO_BFLOAT16_CONVERSIONS__ --expt-relaxed-constexpr --expt-extended-lambda --use_fast_math -gencode arch=compute_80,code=sm_80 -gencode arch=compute_90,code=sm_90 --threads 4 -DTORCH_API_INCLUDE_EXTENSION_H '-DPYBIND11_COMPILER_TYPE="_gcc"' '-DPYBIND11_STDLIB="_libstdcpp"' '-DPYBIND11_BUILD_ABI="_cxxabi1011"' -DTORCH_EXTENSION_NAME=flash_attn_2_cuda -D_GLIBCXX_USE_CXX11_ABI=0
    FAILED: /tmp/pip-install-clm5mnmq/flash-attn_a54803c8052b4a8d9d6efbd30fc37f0f/build/temp.linux-x86_64-3.8/csrc/flash_attn/src/flash_fwd_hdim256_bf16_causal_sm80.o
    /opt/cuda_12.4.1_550.54.15_linux/bin/nvcc --generate-dependencies-with-compile --dependency-output /tmp/pip-install-clm5mnmq/flash-attn_a54803c8052b4a8d9d6efbd30fc37f0f/build/temp.linux-x86_64-3.8/csrc/flash_attn/src/flash_fwd_hdim256_bf16_causal_sm80.o.d -I/tmp/pip-install-clm5mnmq/flash-attn_a54803c8052b4a8d9d6efbd30fc37f0f/csrc/flash_attn -I/tmp/pip-install-clm5mnmq/flash-attn_a54803c8052b4a8d9d6efbd30fc37f0f/csrc/flash_attn/src -I/tmp/pip-install-clm5mnmq/flash-attn_a54803c8052b4a8d9d6efbd30fc37f0f/csrc/cutlass/include -I/home/guoby/app/Anaconda3-2021.05/envs/news-2/lib/python3.8/site-packages/torch/include -I/home/guoby/app/Anaconda3-2021.05/envs/news-2/lib/python3.8/site-packages/torch/include/torch/csrc/api/include -I/home/guoby/app/Anaconda3-2021.05/envs/news-2/lib/python3.8/site-packages/torch/include/TH -I/home/guoby/app/Anaconda3-2021.05/envs/news-2/lib/python3.8/site-packages/torch/include/THC -I/opt/cuda_12.4.1_550.54.15_linux/include -I/home/guoby/app/Anaconda3-2021.05/envs/news-2/include/python3.8 -c -c /tmp/pip-install-clm5mnmq/flash-attn_a54803c8052b4a8d9d6efbd30fc37f0f/csrc/flash_attn/src/flash_fwd_hdim256_bf16_causal_sm80.cu -o /tmp/pip-install-clm5mnmq/flash-attn_a54803c8052b4a8d9d6efbd30fc37f0f/build/temp.linux-x86_64-3.8/csrc/flash_attn/src/flash_fwd_hdim256_bf16_causal_sm80.o -D__CUDA_NO_HALF_OPERATORS__ -D__CUDA_NO_HALF_CONVERSIONS__ -D__CUDA_NO_BFLOAT16_CONVERSIONS__ -D__CUDA_NO_HALF2_OPERATORS__ --expt-relaxed-constexpr --compiler-options ''"'"'-fPIC'"'"'' -O3 -std=c++17 -U__CUDA_NO_HALF_OPERATORS__ -U__CUDA_NO_HALF_CONVERSIONS__ -U__CUDA_NO_HALF2_OPERATORS__ -U__CUDA_NO_BFLOAT16_CONVERSIONS__ --expt-relaxed-constexpr --expt-extended-lambda --use_fast_math -gencode arch=compute_80,code=sm_80 -gencode arch=compute_90,code=sm_90 --threads 4 -DTORCH_API_INCLUDE_EXTENSION_H '-DPYBIND11_COMPILER_TYPE="_gcc"' '-DPYBIND11_STDLIB="_libstdcpp"' '-DPYBIND11_BUILD_ABI="_cxxabi1011"' -DTORCH_EXTENSION_NAME=flash_attn_2_cuda -D_GLIBCXX_USE_CXX11_ABI=0
    nvcc warning : The -std=c++17 flag is not supported with the configured host compiler. Flag will be ignored.
    In file included from /usr/include/c++/4.8.2/cstdint:35:0,
                     from /home/guoby/app/Anaconda3-2021.05/envs/news-2/lib/python3.8/site-packages/torch/include/ATen/cuda/CUDAContextLight.h:4,
                     from /home/guoby/app/Anaconda3-2021.05/envs/news-2/lib/python3.8/site-packages/torch/include/ATen/cuda/CUDAContext.h:3,
                     from /tmp/pip-install-clm5mnmq/flash-attn_a54803c8052b4a8d9d6efbd30fc37f0f/csrc/flash_attn/src/flash_fwd_launch_template.h:7,
                     from /tmp/pip-install-clm5mnmq/flash-attn_a54803c8052b4a8d9d6efbd30fc37f0f/csrc/flash_attn/src/flash_fwd_hdim256_bf16_causal_sm80.cu:5:
    /usr/include/c++/4.8.2/bits/c++0x_warning.h:32:2: error: #error This file requires compiler and library support for the ISO C++ 2011 standard. This support is currently experimental, and must be enabled with the -std=c++11 or -std=gnu++11 compiler options.
     #error This file requires compiler and library support for the \
      ^
    In file included from /home/guoby/app/Anaconda3-2021.05/envs/news-2/lib/python3.8/site-packages/torch/include/c10/util/StringUtil.h:6:0,
                     from /home/guoby/app/Anaconda3-2021.05/envs/news-2/lib/python3.8/site-packages/torch/include/c10/util/Exception.h:6,
                     from /home/guoby/app/Anaconda3-2021.05/envs/news-2/lib/python3.8/site-packages/torch/include/c10/core/Device.h:5,
                     from /home/guoby/app/Anaconda3-2021.05/envs/news-2/lib/python3.8/site-packages/torch/include/c10/core/Allocator.h:9,
                     from /home/guoby/app/Anaconda3-2021.05/envs/news-2/lib/python3.8/site-packages/torch/include/ATen/cuda/CUDAContextLight.h:24,
                     from /home/guoby/app/Anaconda3-2021.05/envs/news-2/lib/python3.8/site-packages/torch/include/ATen/cuda/CUDAContext.h:3,
                     from /tmp/pip-install-clm5mnmq/flash-attn_a54803c8052b4a8d9d6efbd30fc37f0f/csrc/flash_attn/src/flash_fwd_launch_template.h:7,
                     from /tmp/pip-install-clm5mnmq/flash-attn_a54803c8052b4a8d9d6efbd30fc37f0f/csrc/flash_attn/src/flash_fwd_hdim256_bf16_causal_sm80.cu:5:
    /home/guoby/app/Anaconda3-2021.05/envs/news-2/lib/python3.8/site-packages/torch/include/c10/util/string_view.h:12:23: fatal error: string_view: No such file or directory
     #include <string_view>
                           ^
    compilation terminated.
    In file included from /usr/include/c++/4.8.2/cstdint:35:0,
                     from /home/guoby/app/Anaconda3-2021.05/envs/news-2/lib/python3.8/site-packages/torch/include/ATen/cuda/CUDAContextLight.h:4,
                     from /home/guoby/app/Anaconda3-2021.05/envs/news-2/lib/python3.8/site-packages/torch/include/ATen/cuda/CUDAContext.h:3,
                     from /tmp/pip-install-clm5mnmq/flash-attn_a54803c8052b4a8d9d6efbd30fc37f0f/csrc/flash_attn/src/flash_fwd_launch_template.h:7,
                     from /tmp/pip-install-clm5mnmq/flash-attn_a54803c8052b4a8d9d6efbd30fc37f0f/csrc/flash_attn/src/flash_fwd_hdim256_bf16_causal_sm80.cu:5:
    /usr/include/c++/4.8.2/bits/c++0x_warning.h:32:2: error: #error This file requires compiler and library support for the ISO C++ 2011 standard. This support is currently experimental, and must be enabled with the -std=c++11 or -std=gnu++11 compiler options.
     #error This file requires compiler and library support for the \
      ^
    In file included from /home/guoby/app/Anaconda3-2021.05/envs/news-2/lib/python3.8/site-packages/torch/include/c10/util/StringUtil.h:6:0,
                     from /home/guoby/app/Anaconda3-2021.05/envs/news-2/lib/python3.8/site-packages/torch/include/c10/util/Exception.h:6,
                     from /home/guoby/app/Anaconda3-2021.05/envs/news-2/lib/python3.8/site-packages/torch/include/c10/core/Device.h:5,
                     from /home/guoby/app/Anaconda3-2021.05/envs/news-2/lib/python3.8/site-packages/torch/include/c10/core/Allocator.h:9,
                     from /home/guoby/app/Anaconda3-2021.05/envs/news-2/lib/python3.8/site-packages/torch/include/ATen/cuda/CUDAContextLight.h:24,
                     from /home/guoby/app/Anaconda3-2021.05/envs/news-2/lib/python3.8/site-packages/torch/include/ATen/cuda/CUDAContext.h:3,
                     from /tmp/pip-install-clm5mnmq/flash-attn_a54803c8052b4a8d9d6efbd30fc37f0f/csrc/flash_attn/src/flash_fwd_launch_template.h:7,
                     from /tmp/pip-install-clm5mnmq/flash-attn_a54803c8052b4a8d9d6efbd30fc37f0f/csrc/flash_attn/src/flash_fwd_hdim256_bf16_causal_sm80.cu:5:
    /home/guoby/app/Anaconda3-2021.05/envs/news-2/lib/python3.8/site-packages/torch/include/c10/util/string_view.h:12:23: fatal error: string_view: No such file or directory
     #include <string_view>
                           ^
    compilation terminated.
    In file included from /usr/include/c++/4.8.2/cstdint:35:0,
                     from /home/guoby/app/Anaconda3-2021.05/envs/news-2/lib/python3.8/site-packages/torch/include/ATen/cuda/CUDAContextLight.h:4,
                     from /home/guoby/app/Anaconda3-2021.05/envs/news-2/lib/python3.8/site-packages/torch/include/ATen/cuda/CUDAContext.h:3,
                     from /tmp/pip-install-clm5mnmq/flash-attn_a54803c8052b4a8d9d6efbd30fc37f0f/csrc/flash_attn/src/flash_fwd_launch_template.h:7,
                     from /tmp/pip-install-clm5mnmq/flash-attn_a54803c8052b4a8d9d6efbd30fc37f0f/csrc/flash_attn/src/flash_fwd_hdim256_bf16_causal_sm80.cu:5:
    /usr/include/c++/4.8.2/bits/c++0x_warning.h:32:2: error: #error This file requires compiler and library support for the ISO C++ 2011 standard. This support is currently experimental, and must be enabled with the -std=c++11 or -std=gnu++11 compiler options.
     #error This file requires compiler and library support for the \
      ^
    In file included from /home/guoby/app/Anaconda3-2021.05/envs/news-2/lib/python3.8/site-packages/torch/include/c10/util/StringUtil.h:6:0,
                     from /home/guoby/app/Anaconda3-2021.05/envs/news-2/lib/python3.8/site-packages/torch/include/c10/util/Exception.h:6,
                     from /home/guoby/app/Anaconda3-2021.05/envs/news-2/lib/python3.8/site-packages/torch/include/c10/core/Device.h:5,
                     from /home/guoby/app/Anaconda3-2021.05/envs/news-2/lib/python3.8/site-packages/torch/include/c10/core/Allocator.h:9,
                     from /home/guoby/app/Anaconda3-2021.05/envs/news-2/lib/python3.8/site-packages/torch/include/ATen/cuda/CUDAContextLight.h:24,
                     from /home/guoby/app/Anaconda3-2021.05/envs/news-2/lib/python3.8/site-packages/torch/include/ATen/cuda/CUDAContext.h:3,
                     from /tmp/pip-install-clm5mnmq/flash-attn_a54803c8052b4a8d9d6efbd30fc37f0f/csrc/flash_attn/src/flash_fwd_launch_template.h:7,
                     from /tmp/pip-install-clm5mnmq/flash-attn_a54803c8052b4a8d9d6efbd30fc37f0f/csrc/flash_attn/src/flash_fwd_hdim256_bf16_causal_sm80.cu:5:
    /home/guoby/app/Anaconda3-2021.05/envs/news-2/lib/python3.8/site-packages/torch/include/c10/util/string_view.h:12:23: fatal error: string_view: No such file or directory
     #include <string_view>
                           ^
    compilation terminated.
    fatal   : Could not open input file /tmp/tmpxft_00008578_00000000-8_flash_fwd_hdim256_bf16_causal_sm80.compute_80.cpp1.ii
    [44/85] /opt/cuda_12.4.1_550.54.15_linux/bin/nvcc --generate-dependencies-with-compile --dependency-output /tmp/pip-install-clm5mnmq/flash-attn_a54803c8052b4a8d9d6efbd30fc37f0f/build/temp.linux-x86_64-3.8/csrc/flash_attn/src/flash_bwd_hdim96_fp16_sm80.o.d -I/tmp/pip-install-clm5mnmq/flash-attn_a54803c8052b4a8d9d6efbd30fc37f0f/csrc/flash_attn -I/tmp/pip-install-clm5mnmq/flash-attn_a54803c8052b4a8d9d6efbd30fc37f0f/csrc/flash_attn/src -I/tmp/pip-install-clm5mnmq/flash-attn_a54803c8052b4a8d9d6efbd30fc37f0f/csrc/cutlass/include -I/home/guoby/app/Anaconda3-2021.05/envs/news-2/lib/python3.8/site-packages/torch/include -I/home/guoby/app/Anaconda3-2021.05/envs/news-2/lib/python3.8/site-packages/torch/include/torch/csrc/api/include -I/home/guoby/app/Anaconda3-2021.05/envs/news-2/lib/python3.8/site-packages/torch/include/TH -I/home/guoby/app/Anaconda3-2021.05/envs/news-2/lib/python3.8/site-packages/torch/include/THC -I/opt/cuda_12.4.1_550.54.15_linux/include -I/home/guoby/app/Anaconda3-2021.05/envs/news-2/include/python3.8 -c -c /tmp/pip-install-clm5mnmq/flash-attn_a54803c8052b4a8d9d6efbd30fc37f0f/csrc/flash_attn/src/flash_bwd_hdim96_fp16_sm80.cu -o /tmp/pip-install-clm5mnmq/flash-attn_a54803c8052b4a8d9d6efbd30fc37f0f/build/temp.linux-x86_64-3.8/csrc/flash_attn/src/flash_bwd_hdim96_fp16_sm80.o -D__CUDA_NO_HALF_OPERATORS__ -D__CUDA_NO_HALF_CONVERSIONS__ -D__CUDA_NO_BFLOAT16_CONVERSIONS__ -D__CUDA_NO_HALF2_OPERATORS__ --expt-relaxed-constexpr --compiler-options ''"'"'-fPIC'"'"'' -O3 -std=c++17 -U__CUDA_NO_HALF_OPERATORS__ -U__CUDA_NO_HALF_CONVERSIONS__ -U__CUDA_NO_HALF2_OPERATORS__ -U__CUDA_NO_BFLOAT16_CONVERSIONS__ --expt-relaxed-constexpr --expt-extended-lambda --use_fast_math -gencode arch=compute_80,code=sm_80 -gencode arch=compute_90,code=sm_90 --threads 4 -DTORCH_API_INCLUDE_EXTENSION_H '-DPYBIND11_COMPILER_TYPE="_gcc"' '-DPYBIND11_STDLIB="_libstdcpp"' '-DPYBIND11_BUILD_ABI="_cxxabi1011"' -DTORCH_EXTENSION_NAME=flash_attn_2_cuda -D_GLIBCXX_USE_CXX11_ABI=0
    FAILED: /tmp/pip-install-clm5mnmq/flash-attn_a54803c8052b4a8d9d6efbd30fc37f0f/build/temp.linux-x86_64-3.8/csrc/flash_attn/src/flash_bwd_hdim96_fp16_sm80.o
    /opt/cuda_12.4.1_550.54.15_linux/bin/nvcc --generate-dependencies-with-compile --dependency-output /tmp/pip-install-clm5mnmq/flash-attn_a54803c8052b4a8d9d6efbd30fc37f0f/build/temp.linux-x86_64-3.8/csrc/flash_attn/src/flash_bwd_hdim96_fp16_sm80.o.d -I/tmp/pip-install-clm5mnmq/flash-attn_a54803c8052b4a8d9d6efbd30fc37f0f/csrc/flash_attn -I/tmp/pip-install-clm5mnmq/flash-attn_a54803c8052b4a8d9d6efbd30fc37f0f/csrc/flash_attn/src -I/tmp/pip-install-clm5mnmq/flash-attn_a54803c8052b4a8d9d6efbd30fc37f0f/csrc/cutlass/include -I/home/guoby/app/Anaconda3-2021.05/envs/news-2/lib/python3.8/site-packages/torch/include -I/home/guoby/app/Anaconda3-2021.05/envs/news-2/lib/python3.8/site-packages/torch/include/torch/csrc/api/include -I/home/guoby/app/Anaconda3-2021.05/envs/news-2/lib/python3.8/site-packages/torch/include/TH -I/home/guoby/app/Anaconda3-2021.05/envs/news-2/lib/python3.8/site-packages/torch/include/THC -I/opt/cuda_12.4.1_550.54.15_linux/include -I/home/guoby/app/Anaconda3-2021.05/envs/news-2/include/python3.8 -c -c /tmp/pip-install-clm5mnmq/flash-attn_a54803c8052b4a8d9d6efbd30fc37f0f/csrc/flash_attn/src/flash_bwd_hdim96_fp16_sm80.cu -o /tmp/pip-install-clm5mnmq/flash-attn_a54803c8052b4a8d9d6efbd30fc37f0f/build/temp.linux-x86_64-3.8/csrc/flash_attn/src/flash_bwd_hdim96_fp16_sm80.o -D__CUDA_NO_HALF_OPERATORS__ -D__CUDA_NO_HALF_CONVERSIONS__ -D__CUDA_NO_BFLOAT16_CONVERSIONS__ -D__CUDA_NO_HALF2_OPERATORS__ --expt-relaxed-constexpr --compiler-options ''"'"'-fPIC'"'"'' -O3 -std=c++17 -U__CUDA_NO_HALF_OPERATORS__ -U__CUDA_NO_HALF_CONVERSIONS__ -U__CUDA_NO_HALF2_OPERATORS__ -U__CUDA_NO_BFLOAT16_CONVERSIONS__ --expt-relaxed-constexpr --expt-extended-lambda --use_fast_math -gencode arch=compute_80,code=sm_80 -gencode arch=compute_90,code=sm_90 --threads 4 -DTORCH_API_INCLUDE_EXTENSION_H '-DPYBIND11_COMPILER_TYPE="_gcc"' '-DPYBIND11_STDLIB="_libstdcpp"' '-DPYBIND11_BUILD_ABI="_cxxabi1011"' -DTORCH_EXTENSION_NAME=flash_attn_2_cuda -D_GLIBCXX_USE_CXX11_ABI=0
    nvcc warning : The -std=c++17 flag is not supported with the configured host compiler. Flag will be ignored.
    In file included from /usr/include/c++/4.8.2/cstdint:35:0,
                     from /home/guoby/app/Anaconda3-2021.05/envs/news-2/lib/python3.8/site-packages/torch/include/ATen/cuda/CUDAContextLight.h:4,
                     from /home/guoby/app/Anaconda3-2021.05/envs/news-2/lib/python3.8/site-packages/torch/include/ATen/cuda/CUDAContext.h:3,
                     from /tmp/pip-install-clm5mnmq/flash-attn_a54803c8052b4a8d9d6efbd30fc37f0f/csrc/flash_attn/src/flash_bwd_launch_template.h:7,
                     from /tmp/pip-install-clm5mnmq/flash-attn_a54803c8052b4a8d9d6efbd30fc37f0f/csrc/flash_attn/src/flash_bwd_hdim96_fp16_sm80.cu:5:
    /usr/include/c++/4.8.2/bits/c++0x_warning.h:32:2: error: #error This file requires compiler and library support for the ISO C++ 2011 standard. This support is currently experimental, and must be enabled with the -std=c++11 or -std=gnu++11 compiler options.
     #error This file requires compiler and library support for the \
      ^
    In file included from /home/guoby/app/Anaconda3-2021.05/envs/news-2/lib/python3.8/site-packages/torch/include/c10/util/StringUtil.h:6:0,
                     from /home/guoby/app/Anaconda3-2021.05/envs/news-2/lib/python3.8/site-packages/torch/include/c10/util/Exception.h:6,
                     from /home/guoby/app/Anaconda3-2021.05/envs/news-2/lib/python3.8/site-packages/torch/include/c10/core/Device.h:5,
                     from /home/guoby/app/Anaconda3-2021.05/envs/news-2/lib/python3.8/site-packages/torch/include/c10/core/Allocator.h:9,
                     from /home/guoby/app/Anaconda3-2021.05/envs/news-2/lib/python3.8/site-packages/torch/include/ATen/cuda/CUDAContextLight.h:24,
                     from /home/guoby/app/Anaconda3-2021.05/envs/news-2/lib/python3.8/site-packages/torch/include/ATen/cuda/CUDAContext.h:3,
                     from /tmp/pip-install-clm5mnmq/flash-attn_a54803c8052b4a8d9d6efbd30fc37f0f/csrc/flash_attn/src/flash_bwd_launch_template.h:7,
                     from /tmp/pip-install-clm5mnmq/flash-attn_a54803c8052b4a8d9d6efbd30fc37f0f/csrc/flash_attn/src/flash_bwd_hdim96_fp16_sm80.cu:5:
    /home/guoby/app/Anaconda3-2021.05/envs/news-2/lib/python3.8/site-packages/torch/include/c10/util/string_view.h:12:23: fatal error: string_view: No such file or directory
     #include <string_view>
                           ^
    compilation terminated.
    In file included from /usr/include/c++/4.8.2/cstdint:35:0,
                     from /home/guoby/app/Anaconda3-2021.05/envs/news-2/lib/python3.8/site-packages/torch/include/ATen/cuda/CUDAContextLight.h:4,
                     from /home/guoby/app/Anaconda3-2021.05/envs/news-2/lib/python3.8/site-packages/torch/include/ATen/cuda/CUDAContext.h:3,
                     from /tmp/pip-install-clm5mnmq/flash-attn_a54803c8052b4a8d9d6efbd30fc37f0f/csrc/flash_attn/src/flash_bwd_launch_template.h:7,
                     from /tmp/pip-install-clm5mnmq/flash-attn_a54803c8052b4a8d9d6efbd30fc37f0f/csrc/flash_attn/src/flash_bwd_hdim96_fp16_sm80.cu:5:
    /usr/include/c++/4.8.2/bits/c++0x_warning.h:32:2: error: #error This file requires compiler and library support for the ISO C++ 2011 standard. This support is currently experimental, and must be enabled with the -std=c++11 or -std=gnu++11 compiler options.
     #error This file requires compiler and library support for the \
      ^
    In file included from /home/guoby/app/Anaconda3-2021.05/envs/news-2/lib/python3.8/site-packages/torch/include/c10/util/StringUtil.h:6:0,
                     from /home/guoby/app/Anaconda3-2021.05/envs/news-2/lib/python3.8/site-packages/torch/include/c10/util/Exception.h:6,
                     from /home/guoby/app/Anaconda3-2021.05/envs/news-2/lib/python3.8/site-packages/torch/include/c10/core/Device.h:5,
                     from /home/guoby/app/Anaconda3-2021.05/envs/news-2/lib/python3.8/site-packages/torch/include/c10/core/Allocator.h:9,
                     from /home/guoby/app/Anaconda3-2021.05/envs/news-2/lib/python3.8/site-packages/torch/include/ATen/cuda/CUDAContextLight.h:24,
                     from /home/guoby/app/Anaconda3-2021.05/envs/news-2/lib/python3.8/site-packages/torch/include/ATen/cuda/CUDAContext.h:3,
                     from /tmp/pip-install-clm5mnmq/flash-attn_a54803c8052b4a8d9d6efbd30fc37f0f/csrc/flash_attn/src/flash_bwd_launch_template.h:7,
                     from /tmp/pip-install-clm5mnmq/flash-attn_a54803c8052b4a8d9d6efbd30fc37f0f/csrc/flash_attn/src/flash_bwd_hdim96_fp16_sm80.cu:5:
    /home/guoby/app/Anaconda3-2021.05/envs/news-2/lib/python3.8/site-packages/torch/include/c10/util/string_view.h:12:23: fatal error: string_view: No such file or directory
     #include <string_view>
                           ^
    compilation terminated.
    In file included from /usr/include/c++/4.8.2/cstdint:35:0,
                     from /home/guoby/app/Anaconda3-2021.05/envs/news-2/lib/python3.8/site-packages/torch/include/ATen/cuda/CUDAContextLight.h:4,
                     from /home/guoby/app/Anaconda3-2021.05/envs/news-2/lib/python3.8/site-packages/torch/include/ATen/cuda/CUDAContext.h:3,
                     from /tmp/pip-install-clm5mnmq/flash-attn_a54803c8052b4a8d9d6efbd30fc37f0f/csrc/flash_attn/src/flash_bwd_launch_template.h:7,
                     from /tmp/pip-install-clm5mnmq/flash-attn_a54803c8052b4a8d9d6efbd30fc37f0f/csrc/flash_attn/src/flash_bwd_hdim96_fp16_sm80.cu:5:
    /usr/include/c++/4.8.2/bits/c++0x_warning.h:32:2: error: #error This file requires compiler and library support for the ISO C++ 2011 standard. This support is currently experimental, and must be enabled with the -std=c++11 or -std=gnu++11 compiler options.
     #error This file requires compiler and library support for the \
      ^
    In file included from /home/guoby/app/Anaconda3-2021.05/envs/news-2/lib/python3.8/site-packages/torch/include/c10/util/StringUtil.h:6:0,
                     from /home/guoby/app/Anaconda3-2021.05/envs/news-2/lib/python3.8/site-packages/torch/include/c10/util/Exception.h:6,
                     from /home/guoby/app/Anaconda3-2021.05/envs/news-2/lib/python3.8/site-packages/torch/include/c10/core/Device.h:5,
                     from /home/guoby/app/Anaconda3-2021.05/envs/news-2/lib/python3.8/site-packages/torch/include/c10/core/Allocator.h:9,
                     from /home/guoby/app/Anaconda3-2021.05/envs/news-2/lib/python3.8/site-packages/torch/include/ATen/cuda/CUDAContextLight.h:24,
                     from /home/guoby/app/Anaconda3-2021.05/envs/news-2/lib/python3.8/site-packages/torch/include/ATen/cuda/CUDAContext.h:3,
                     from /tmp/pip-install-clm5mnmq/flash-attn_a54803c8052b4a8d9d6efbd30fc37f0f/csrc/flash_attn/src/flash_bwd_launch_template.h:7,
                     from /tmp/pip-install-clm5mnmq/flash-attn_a54803c8052b4a8d9d6efbd30fc37f0f/csrc/flash_attn/src/flash_bwd_hdim96_fp16_sm80.cu:5:
    /home/guoby/app/Anaconda3-2021.05/envs/news-2/lib/python3.8/site-packages/torch/include/c10/util/string_view.h:12:23: fatal error: string_view: No such file or directory
     #include <string_view>
                           ^
    compilation terminated.
    fatal   : Could not open input file /tmp/tmpxft_000085d5_00000000-8_flash_bwd_hdim96_fp16_sm80.compute_80.cpp1.ii
    [45/85] /opt/cuda_12.4.1_550.54.15_linux/bin/nvcc --generate-dependencies-with-compile --dependency-output /tmp/pip-install-clm5mnmq/flash-attn_a54803c8052b4a8d9d6efbd30fc37f0f/build/temp.linux-x86_64-3.8/csrc/flash_attn/src/flash_bwd_hdim128_fp16_sm80.o.d -I/tmp/pip-install-clm5mnmq/flash-attn_a54803c8052b4a8d9d6efbd30fc37f0f/csrc/flash_attn -I/tmp/pip-install-clm5mnmq/flash-attn_a54803c8052b4a8d9d6efbd30fc37f0f/csrc/flash_attn/src -I/tmp/pip-install-clm5mnmq/flash-attn_a54803c8052b4a8d9d6efbd30fc37f0f/csrc/cutlass/include -I/home/guoby/app/Anaconda3-2021.05/envs/news-2/lib/python3.8/site-packages/torch/include -I/home/guoby/app/Anaconda3-2021.05/envs/news-2/lib/python3.8/site-packages/torch/include/torch/csrc/api/include -I/home/guoby/app/Anaconda3-2021.05/envs/news-2/lib/python3.8/site-packages/torch/include/TH -I/home/guoby/app/Anaconda3-2021.05/envs/news-2/lib/python3.8/site-packages/torch/include/THC -I/opt/cuda_12.4.1_550.54.15_linux/include -I/home/guoby/app/Anaconda3-2021.05/envs/news-2/include/python3.8 -c -c /tmp/pip-install-clm5mnmq/flash-attn_a54803c8052b4a8d9d6efbd30fc37f0f/csrc/flash_attn/src/flash_bwd_hdim128_fp16_sm80.cu -o /tmp/pip-install-clm5mnmq/flash-attn_a54803c8052b4a8d9d6efbd30fc37f0f/build/temp.linux-x86_64-3.8/csrc/flash_attn/src/flash_bwd_hdim128_fp16_sm80.o -D__CUDA_NO_HALF_OPERATORS__ -D__CUDA_NO_HALF_CONVERSIONS__ -D__CUDA_NO_BFLOAT16_CONVERSIONS__ -D__CUDA_NO_HALF2_OPERATORS__ --expt-relaxed-constexpr --compiler-options ''"'"'-fPIC'"'"'' -O3 -std=c++17 -U__CUDA_NO_HALF_OPERATORS__ -U__CUDA_NO_HALF_CONVERSIONS__ -U__CUDA_NO_HALF2_OPERATORS__ -U__CUDA_NO_BFLOAT16_CONVERSIONS__ --expt-relaxed-constexpr --expt-extended-lambda --use_fast_math -gencode arch=compute_80,code=sm_80 -gencode arch=compute_90,code=sm_90 --threads 4 -DTORCH_API_INCLUDE_EXTENSION_H '-DPYBIND11_COMPILER_TYPE="_gcc"' '-DPYBIND11_STDLIB="_libstdcpp"' '-DPYBIND11_BUILD_ABI="_cxxabi1011"' -DTORCH_EXTENSION_NAME=flash_attn_2_cuda -D_GLIBCXX_USE_CXX11_ABI=0
    FAILED: /tmp/pip-install-clm5mnmq/flash-attn_a54803c8052b4a8d9d6efbd30fc37f0f/build/temp.linux-x86_64-3.8/csrc/flash_attn/src/flash_bwd_hdim128_fp16_sm80.o
    /opt/cuda_12.4.1_550.54.15_linux/bin/nvcc --generate-dependencies-with-compile --dependency-output /tmp/pip-install-clm5mnmq/flash-attn_a54803c8052b4a8d9d6efbd30fc37f0f/build/temp.linux-x86_64-3.8/csrc/flash_attn/src/flash_bwd_hdim128_fp16_sm80.o.d -I/tmp/pip-install-clm5mnmq/flash-attn_a54803c8052b4a8d9d6efbd30fc37f0f/csrc/flash_attn -I/tmp/pip-install-clm5mnmq/flash-attn_a54803c8052b4a8d9d6efbd30fc37f0f/csrc/flash_attn/src -I/tmp/pip-install-clm5mnmq/flash-attn_a54803c8052b4a8d9d6efbd30fc37f0f/csrc/cutlass/include -I/home/guoby/app/Anaconda3-2021.05/envs/news-2/lib/python3.8/site-packages/torch/include -I/home/guoby/app/Anaconda3-2021.05/envs/news-2/lib/python3.8/site-packages/torch/include/torch/csrc/api/include -I/home/guoby/app/Anaconda3-2021.05/envs/news-2/lib/python3.8/site-packages/torch/include/TH -I/home/guoby/app/Anaconda3-2021.05/envs/news-2/lib/python3.8/site-packages/torch/include/THC -I/opt/cuda_12.4.1_550.54.15_linux/include -I/home/guoby/app/Anaconda3-2021.05/envs/news-2/include/python3.8 -c -c /tmp/pip-install-clm5mnmq/flash-attn_a54803c8052b4a8d9d6efbd30fc37f0f/csrc/flash_attn/src/flash_bwd_hdim128_fp16_sm80.cu -o /tmp/pip-install-clm5mnmq/flash-attn_a54803c8052b4a8d9d6efbd30fc37f0f/build/temp.linux-x86_64-3.8/csrc/flash_attn/src/flash_bwd_hdim128_fp16_sm80.o -D__CUDA_NO_HALF_OPERATORS__ -D__CUDA_NO_HALF_CONVERSIONS__ -D__CUDA_NO_BFLOAT16_CONVERSIONS__ -D__CUDA_NO_HALF2_OPERATORS__ --expt-relaxed-constexpr --compiler-options ''"'"'-fPIC'"'"'' -O3 -std=c++17 -U__CUDA_NO_HALF_OPERATORS__ -U__CUDA_NO_HALF_CONVERSIONS__ -U__CUDA_NO_HALF2_OPERATORS__ -U__CUDA_NO_BFLOAT16_CONVERSIONS__ --expt-relaxed-constexpr --expt-extended-lambda --use_fast_math -gencode arch=compute_80,code=sm_80 -gencode arch=compute_90,code=sm_90 --threads 4 -DTORCH_API_INCLUDE_EXTENSION_H '-DPYBIND11_COMPILER_TYPE="_gcc"' '-DPYBIND11_STDLIB="_libstdcpp"' '-DPYBIND11_BUILD_ABI="_cxxabi1011"' -DTORCH_EXTENSION_NAME=flash_attn_2_cuda -D_GLIBCXX_USE_CXX11_ABI=0
    nvcc warning : The -std=c++17 flag is not supported with the configured host compiler. Flag will be ignored.
    In file included from /usr/include/c++/4.8.2/cstdint:35:0,
                     from /home/guoby/app/Anaconda3-2021.05/envs/news-2/lib/python3.8/site-packages/torch/include/ATen/cuda/CUDAContextLight.h:4,
                     from /home/guoby/app/Anaconda3-2021.05/envs/news-2/lib/python3.8/site-packages/torch/include/ATen/cuda/CUDAContext.h:3,
                     from /tmp/pip-install-clm5mnmq/flash-attn_a54803c8052b4a8d9d6efbd30fc37f0f/csrc/flash_attn/src/flash_bwd_launch_template.h:7,
                     from /tmp/pip-install-clm5mnmq/flash-attn_a54803c8052b4a8d9d6efbd30fc37f0f/csrc/flash_attn/src/flash_bwd_hdim128_fp16_sm80.cu:5:
    /usr/include/c++/4.8.2/bits/c++0x_warning.h:32:2: error: #error This file requires compiler and library support for the ISO C++ 2011 standard. This support is currently experimental, and must be enabled with the -std=c++11 or -std=gnu++11 compiler options.
     #error This file requires compiler and library support for the \
      ^
    In file included from /home/guoby/app/Anaconda3-2021.05/envs/news-2/lib/python3.8/site-packages/torch/include/c10/util/StringUtil.h:6:0,
                     from /home/guoby/app/Anaconda3-2021.05/envs/news-2/lib/python3.8/site-packages/torch/include/c10/util/Exception.h:6,
                     from /home/guoby/app/Anaconda3-2021.05/envs/news-2/lib/python3.8/site-packages/torch/include/c10/core/Device.h:5,
                     from /home/guoby/app/Anaconda3-2021.05/envs/news-2/lib/python3.8/site-packages/torch/include/c10/core/Allocator.h:9,
                     from /home/guoby/app/Anaconda3-2021.05/envs/news-2/lib/python3.8/site-packages/torch/include/ATen/cuda/CUDAContextLight.h:24,
                     from /home/guoby/app/Anaconda3-2021.05/envs/news-2/lib/python3.8/site-packages/torch/include/ATen/cuda/CUDAContext.h:3,
                     from /tmp/pip-install-clm5mnmq/flash-attn_a54803c8052b4a8d9d6efbd30fc37f0f/csrc/flash_attn/src/flash_bwd_launch_template.h:7,
                     from /tmp/pip-install-clm5mnmq/flash-attn_a54803c8052b4a8d9d6efbd30fc37f0f/csrc/flash_attn/src/flash_bwd_hdim128_fp16_sm80.cu:5:
    /home/guoby/app/Anaconda3-2021.05/envs/news-2/lib/python3.8/site-packages/torch/include/c10/util/string_view.h:12:23: fatal error: string_view: No such file or directory
     #include <string_view>
                           ^
    compilation terminated.
    In file included from /usr/include/c++/4.8.2/cstdint:35:0,
                     from /home/guoby/app/Anaconda3-2021.05/envs/news-2/lib/python3.8/site-packages/torch/include/ATen/cuda/CUDAContextLight.h:4,
                     from /home/guoby/app/Anaconda3-2021.05/envs/news-2/lib/python3.8/site-packages/torch/include/ATen/cuda/CUDAContext.h:3,
                     from /tmp/pip-install-clm5mnmq/flash-attn_a54803c8052b4a8d9d6efbd30fc37f0f/csrc/flash_attn/src/flash_bwd_launch_template.h:7,
                     from /tmp/pip-install-clm5mnmq/flash-attn_a54803c8052b4a8d9d6efbd30fc37f0f/csrc/flash_attn/src/flash_bwd_hdim128_fp16_sm80.cu:5:
    /usr/include/c++/4.8.2/bits/c++0x_warning.h:32:2: error: #error This file requires compiler and library support for the ISO C++ 2011 standard. This support is currently experimental, and must be enabled with the -std=c++11 or -std=gnu++11 compiler options.
     #error This file requires compiler and library support for the \
      ^
    In file included from /home/guoby/app/Anaconda3-2021.05/envs/news-2/lib/python3.8/site-packages/torch/include/c10/util/StringUtil.h:6:0,
                     from /home/guoby/app/Anaconda3-2021.05/envs/news-2/lib/python3.8/site-packages/torch/include/c10/util/Exception.h:6,
                     from /home/guoby/app/Anaconda3-2021.05/envs/news-2/lib/python3.8/site-packages/torch/include/c10/core/Device.h:5,
                     from /home/guoby/app/Anaconda3-2021.05/envs/news-2/lib/python3.8/site-packages/torch/include/c10/core/Allocator.h:9,
                     from /home/guoby/app/Anaconda3-2021.05/envs/news-2/lib/python3.8/site-packages/torch/include/ATen/cuda/CUDAContextLight.h:24,
                     from /home/guoby/app/Anaconda3-2021.05/envs/news-2/lib/python3.8/site-packages/torch/include/ATen/cuda/CUDAContext.h:3,
                     from /tmp/pip-install-clm5mnmq/flash-attn_a54803c8052b4a8d9d6efbd30fc37f0f/csrc/flash_attn/src/flash_bwd_launch_template.h:7,
                     from /tmp/pip-install-clm5mnmq/flash-attn_a54803c8052b4a8d9d6efbd30fc37f0f/csrc/flash_attn/src/flash_bwd_hdim128_fp16_sm80.cu:5:
    /home/guoby/app/Anaconda3-2021.05/envs/news-2/lib/python3.8/site-packages/torch/include/c10/util/string_view.h:12:23: fatal error: string_view: No such file or directory
     #include <string_view>
                           ^
    compilation terminated.
    In file included from /usr/include/c++/4.8.2/cstdint:35:0,
                     from /home/guoby/app/Anaconda3-2021.05/envs/news-2/lib/python3.8/site-packages/torch/include/ATen/cuda/CUDAContextLight.h:4,
                     from /home/guoby/app/Anaconda3-2021.05/envs/news-2/lib/python3.8/site-packages/torch/include/ATen/cuda/CUDAContext.h:3,
                     from /tmp/pip-install-clm5mnmq/flash-attn_a54803c8052b4a8d9d6efbd30fc37f0f/csrc/flash_attn/src/flash_bwd_launch_template.h:7,
                     from /tmp/pip-install-clm5mnmq/flash-attn_a54803c8052b4a8d9d6efbd30fc37f0f/csrc/flash_attn/src/flash_bwd_hdim128_fp16_sm80.cu:5:
    /usr/include/c++/4.8.2/bits/c++0x_warning.h:32:2: error: #error This file requires compiler and library support for the ISO C++ 2011 standard. This support is currently experimental, and must be enabled with the -std=c++11 or -std=gnu++11 compiler options.
     #error This file requires compiler and library support for the \
      ^
    In file included from /home/guoby/app/Anaconda3-2021.05/envs/news-2/lib/python3.8/site-packages/torch/include/c10/util/StringUtil.h:6:0,
                     from /home/guoby/app/Anaconda3-2021.05/envs/news-2/lib/python3.8/site-packages/torch/include/c10/util/Exception.h:6,
                     from /home/guoby/app/Anaconda3-2021.05/envs/news-2/lib/python3.8/site-packages/torch/include/c10/core/Device.h:5,
                     from /home/guoby/app/Anaconda3-2021.05/envs/news-2/lib/python3.8/site-packages/torch/include/c10/core/Allocator.h:9,
                     from /home/guoby/app/Anaconda3-2021.05/envs/news-2/lib/python3.8/site-packages/torch/include/ATen/cuda/CUDAContextLight.h:24,
                     from /home/guoby/app/Anaconda3-2021.05/envs/news-2/lib/python3.8/site-packages/torch/include/ATen/cuda/CUDAContext.h:3,
                     from /tmp/pip-install-clm5mnmq/flash-attn_a54803c8052b4a8d9d6efbd30fc37f0f/csrc/flash_attn/src/flash_bwd_launch_template.h:7,
                     from /tmp/pip-install-clm5mnmq/flash-attn_a54803c8052b4a8d9d6efbd30fc37f0f/csrc/flash_attn/src/flash_bwd_hdim128_fp16_sm80.cu:5:
    /home/guoby/app/Anaconda3-2021.05/envs/news-2/lib/python3.8/site-packages/torch/include/c10/util/string_view.h:12:23: fatal error: string_view: No such file or directory
     #include <string_view>
                           ^
    compilation terminated.
    fatal   : Could not open input file /tmp/tmpxft_000085fc_00000000-8_flash_bwd_hdim128_fp16_sm80.compute_80.cpp1.ii
    [46/85] /opt/cuda_12.4.1_550.54.15_linux/bin/nvcc --generate-dependencies-with-compile --dependency-output /tmp/pip-install-clm5mnmq/flash-attn_a54803c8052b4a8d9d6efbd30fc37f0f/build/temp.linux-x86_64-3.8/csrc/flash_attn/src/flash_bwd_hdim160_fp16_sm80.o.d -I/tmp/pip-install-clm5mnmq/flash-attn_a54803c8052b4a8d9d6efbd30fc37f0f/csrc/flash_attn -I/tmp/pip-install-clm5mnmq/flash-attn_a54803c8052b4a8d9d6efbd30fc37f0f/csrc/flash_attn/src -I/tmp/pip-install-clm5mnmq/flash-attn_a54803c8052b4a8d9d6efbd30fc37f0f/csrc/cutlass/include -I/home/guoby/app/Anaconda3-2021.05/envs/news-2/lib/python3.8/site-packages/torch/include -I/home/guoby/app/Anaconda3-2021.05/envs/news-2/lib/python3.8/site-packages/torch/include/torch/csrc/api/include -I/home/guoby/app/Anaconda3-2021.05/envs/news-2/lib/python3.8/site-packages/torch/include/TH -I/home/guoby/app/Anaconda3-2021.05/envs/news-2/lib/python3.8/site-packages/torch/include/THC -I/opt/cuda_12.4.1_550.54.15_linux/include -I/home/guoby/app/Anaconda3-2021.05/envs/news-2/include/python3.8 -c -c /tmp/pip-install-clm5mnmq/flash-attn_a54803c8052b4a8d9d6efbd30fc37f0f/csrc/flash_attn/src/flash_bwd_hdim160_fp16_sm80.cu -o /tmp/pip-install-clm5mnmq/flash-attn_a54803c8052b4a8d9d6efbd30fc37f0f/build/temp.linux-x86_64-3.8/csrc/flash_attn/src/flash_bwd_hdim160_fp16_sm80.o -D__CUDA_NO_HALF_OPERATORS__ -D__CUDA_NO_HALF_CONVERSIONS__ -D__CUDA_NO_BFLOAT16_CONVERSIONS__ -D__CUDA_NO_HALF2_OPERATORS__ --expt-relaxed-constexpr --compiler-options ''"'"'-fPIC'"'"'' -O3 -std=c++17 -U__CUDA_NO_HALF_OPERATORS__ -U__CUDA_NO_HALF_CONVERSIONS__ -U__CUDA_NO_HALF2_OPERATORS__ -U__CUDA_NO_BFLOAT16_CONVERSIONS__ --expt-relaxed-constexpr --expt-extended-lambda --use_fast_math -gencode arch=compute_80,code=sm_80 -gencode arch=compute_90,code=sm_90 --threads 4 -DTORCH_API_INCLUDE_EXTENSION_H '-DPYBIND11_COMPILER_TYPE="_gcc"' '-DPYBIND11_STDLIB="_libstdcpp"' '-DPYBIND11_BUILD_ABI="_cxxabi1011"' -DTORCH_EXTENSION_NAME=flash_attn_2_cuda -D_GLIBCXX_USE_CXX11_ABI=0
    FAILED: /tmp/pip-install-clm5mnmq/flash-attn_a54803c8052b4a8d9d6efbd30fc37f0f/build/temp.linux-x86_64-3.8/csrc/flash_attn/src/flash_bwd_hdim160_fp16_sm80.o
    /opt/cuda_12.4.1_550.54.15_linux/bin/nvcc --generate-dependencies-with-compile --dependency-output /tmp/pip-install-clm5mnmq/flash-attn_a54803c8052b4a8d9d6efbd30fc37f0f/build/temp.linux-x86_64-3.8/csrc/flash_attn/src/flash_bwd_hdim160_fp16_sm80.o.d -I/tmp/pip-install-clm5mnmq/flash-attn_a54803c8052b4a8d9d6efbd30fc37f0f/csrc/flash_attn -I/tmp/pip-install-clm5mnmq/flash-attn_a54803c8052b4a8d9d6efbd30fc37f0f/csrc/flash_attn/src -I/tmp/pip-install-clm5mnmq/flash-attn_a54803c8052b4a8d9d6efbd30fc37f0f/csrc/cutlass/include -I/home/guoby/app/Anaconda3-2021.05/envs/news-2/lib/python3.8/site-packages/torch/include -I/home/guoby/app/Anaconda3-2021.05/envs/news-2/lib/python3.8/site-packages/torch/include/torch/csrc/api/include -I/home/guoby/app/Anaconda3-2021.05/envs/news-2/lib/python3.8/site-packages/torch/include/TH -I/home/guoby/app/Anaconda3-2021.05/envs/news-2/lib/python3.8/site-packages/torch/include/THC -I/opt/cuda_12.4.1_550.54.15_linux/include -I/home/guoby/app/Anaconda3-2021.05/envs/news-2/include/python3.8 -c -c /tmp/pip-install-clm5mnmq/flash-attn_a54803c8052b4a8d9d6efbd30fc37f0f/csrc/flash_attn/src/flash_bwd_hdim160_fp16_sm80.cu -o /tmp/pip-install-clm5mnmq/flash-attn_a54803c8052b4a8d9d6efbd30fc37f0f/build/temp.linux-x86_64-3.8/csrc/flash_attn/src/flash_bwd_hdim160_fp16_sm80.o -D__CUDA_NO_HALF_OPERATORS__ -D__CUDA_NO_HALF_CONVERSIONS__ -D__CUDA_NO_BFLOAT16_CONVERSIONS__ -D__CUDA_NO_HALF2_OPERATORS__ --expt-relaxed-constexpr --compiler-options ''"'"'-fPIC'"'"'' -O3 -std=c++17 -U__CUDA_NO_HALF_OPERATORS__ -U__CUDA_NO_HALF_CONVERSIONS__ -U__CUDA_NO_HALF2_OPERATORS__ -U__CUDA_NO_BFLOAT16_CONVERSIONS__ --expt-relaxed-constexpr --expt-extended-lambda --use_fast_math -gencode arch=compute_80,code=sm_80 -gencode arch=compute_90,code=sm_90 --threads 4 -DTORCH_API_INCLUDE_EXTENSION_H '-DPYBIND11_COMPILER_TYPE="_gcc"' '-DPYBIND11_STDLIB="_libstdcpp"' '-DPYBIND11_BUILD_ABI="_cxxabi1011"' -DTORCH_EXTENSION_NAME=flash_attn_2_cuda -D_GLIBCXX_USE_CXX11_ABI=0
    nvcc warning : The -std=c++17 flag is not supported with the configured host compiler. Flag will be ignored.
    In file included from /usr/include/c++/4.8.2/cstdint:35:0,
                     from /home/guoby/app/Anaconda3-2021.05/envs/news-2/lib/python3.8/site-packages/torch/include/ATen/cuda/CUDAContextLight.h:4,
                     from /home/guoby/app/Anaconda3-2021.05/envs/news-2/lib/python3.8/site-packages/torch/include/ATen/cuda/CUDAContext.h:3,
                     from /tmp/pip-install-clm5mnmq/flash-attn_a54803c8052b4a8d9d6efbd30fc37f0f/csrc/flash_attn/src/flash_bwd_launch_template.h:7,
                     from /tmp/pip-install-clm5mnmq/flash-attn_a54803c8052b4a8d9d6efbd30fc37f0f/csrc/flash_attn/src/flash_bwd_hdim160_fp16_sm80.cu:5:
    /usr/include/c++/4.8.2/bits/c++0x_warning.h:32:2: error: #error This file requires compiler and library support for the ISO C++ 2011 standard. This support is currently experimental, and must be enabled with the -std=c++11 or -std=gnu++11 compiler options.
     #error This file requires compiler and library support for the \
      ^
    In file included from /home/guoby/app/Anaconda3-2021.05/envs/news-2/lib/python3.8/site-packages/torch/include/c10/util/StringUtil.h:6:0,
                     from /home/guoby/app/Anaconda3-2021.05/envs/news-2/lib/python3.8/site-packages/torch/include/c10/util/Exception.h:6,
                     from /home/guoby/app/Anaconda3-2021.05/envs/news-2/lib/python3.8/site-packages/torch/include/c10/core/Device.h:5,
                     from /home/guoby/app/Anaconda3-2021.05/envs/news-2/lib/python3.8/site-packages/torch/include/c10/core/Allocator.h:9,
                     from /home/guoby/app/Anaconda3-2021.05/envs/news-2/lib/python3.8/site-packages/torch/include/ATen/cuda/CUDAContextLight.h:24,
                     from /home/guoby/app/Anaconda3-2021.05/envs/news-2/lib/python3.8/site-packages/torch/include/ATen/cuda/CUDAContext.h:3,
                     from /tmp/pip-install-clm5mnmq/flash-attn_a54803c8052b4a8d9d6efbd30fc37f0f/csrc/flash_attn/src/flash_bwd_launch_template.h:7,
                     from /tmp/pip-install-clm5mnmq/flash-attn_a54803c8052b4a8d9d6efbd30fc37f0f/csrc/flash_attn/src/flash_bwd_hdim160_fp16_sm80.cu:5:
    /home/guoby/app/Anaconda3-2021.05/envs/news-2/lib/python3.8/site-packages/torch/include/c10/util/string_view.h:12:23: fatal error: string_view: No such file or directory
     #include <string_view>
                           ^
    compilation terminated.
    In file included from /usr/include/c++/4.8.2/cstdint:35:0,
                     from /home/guoby/app/Anaconda3-2021.05/envs/news-2/lib/python3.8/site-packages/torch/include/ATen/cuda/CUDAContextLight.h:4,
                     from /home/guoby/app/Anaconda3-2021.05/envs/news-2/lib/python3.8/site-packages/torch/include/ATen/cuda/CUDAContext.h:3,
                     from /tmp/pip-install-clm5mnmq/flash-attn_a54803c8052b4a8d9d6efbd30fc37f0f/csrc/flash_attn/src/flash_bwd_launch_template.h:7,
                     from /tmp/pip-install-clm5mnmq/flash-attn_a54803c8052b4a8d9d6efbd30fc37f0f/csrc/flash_attn/src/flash_bwd_hdim160_fp16_sm80.cu:5:
    /usr/include/c++/4.8.2/bits/c++0x_warning.h:32:2: error: #error This file requires compiler and library support for the ISO C++ 2011 standard. This support is currently experimental, and must be enabled with the -std=c++11 or -std=gnu++11 compiler options.
     #error This file requires compiler and library support for the \
      ^
    In file included from /home/guoby/app/Anaconda3-2021.05/envs/news-2/lib/python3.8/site-packages/torch/include/c10/util/StringUtil.h:6:0,
                     from /home/guoby/app/Anaconda3-2021.05/envs/news-2/lib/python3.8/site-packages/torch/include/c10/util/Exception.h:6,
                     from /home/guoby/app/Anaconda3-2021.05/envs/news-2/lib/python3.8/site-packages/torch/include/c10/core/Device.h:5,
                     from /home/guoby/app/Anaconda3-2021.05/envs/news-2/lib/python3.8/site-packages/torch/include/c10/core/Allocator.h:9,
                     from /home/guoby/app/Anaconda3-2021.05/envs/news-2/lib/python3.8/site-packages/torch/include/ATen/cuda/CUDAContextLight.h:24,
                     from /home/guoby/app/Anaconda3-2021.05/envs/news-2/lib/python3.8/site-packages/torch/include/ATen/cuda/CUDAContext.h:3,
                     from /tmp/pip-install-clm5mnmq/flash-attn_a54803c8052b4a8d9d6efbd30fc37f0f/csrc/flash_attn/src/flash_bwd_launch_template.h:7,
                     from /tmp/pip-install-clm5mnmq/flash-attn_a54803c8052b4a8d9d6efbd30fc37f0f/csrc/flash_attn/src/flash_bwd_hdim160_fp16_sm80.cu:5:
    /home/guoby/app/Anaconda3-2021.05/envs/news-2/lib/python3.8/site-packages/torch/include/c10/util/string_view.h:12:23: fatal error: string_view: No such file or directory

error part3:
     #include <string_view>
                           ^
    compilation terminated.
    In file included from /usr/include/c++/4.8.2/cstdint:35:0,
                     from /home/guoby/app/Anaconda3-2021.05/envs/news-2/lib/python3.8/site-packages/torch/include/ATen/cuda/CUDAContextLight.h:4,
                     from /home/guoby/app/Anaconda3-2021.05/envs/news-2/lib/python3.8/site-packages/torch/include/ATen/cuda/CUDAContext.h:3,
                     from /tmp/pip-install-clm5mnmq/flash-attn_a54803c8052b4a8d9d6efbd30fc37f0f/csrc/flash_attn/src/flash_bwd_launch_template.h:7,
                     from /tmp/pip-install-clm5mnmq/flash-attn_a54803c8052b4a8d9d6efbd30fc37f0f/csrc/flash_attn/src/flash_bwd_hdim160_fp16_sm80.cu:5:
    /usr/include/c++/4.8.2/bits/c++0x_warning.h:32:2: error: #error This file requires compiler and library support for the ISO C++ 2011 standard. This support is currently experimental, and must be enabled with the -std=c++11 or -std=gnu++11 compiler options.
     #error This file requires compiler and library support for the \
      ^
    In file included from /home/guoby/app/Anaconda3-2021.05/envs/news-2/lib/python3.8/site-packages/torch/include/c10/util/StringUtil.h:6:0,
                     from /home/guoby/app/Anaconda3-2021.05/envs/news-2/lib/python3.8/site-packages/torch/include/c10/util/Exception.h:6,
                     from /home/guoby/app/Anaconda3-2021.05/envs/news-2/lib/python3.8/site-packages/torch/include/c10/core/Device.h:5,
                     from /home/guoby/app/Anaconda3-2021.05/envs/news-2/lib/python3.8/site-packages/torch/include/c10/core/Allocator.h:9,
                     from /home/guoby/app/Anaconda3-2021.05/envs/news-2/lib/python3.8/site-packages/torch/include/ATen/cuda/CUDAContextLight.h:24,
                     from /home/guoby/app/Anaconda3-2021.05/envs/news-2/lib/python3.8/site-packages/torch/include/ATen/cuda/CUDAContext.h:3,
                     from /tmp/pip-install-clm5mnmq/flash-attn_a54803c8052b4a8d9d6efbd30fc37f0f/csrc/flash_attn/src/flash_bwd_launch_template.h:7,
                     from /tmp/pip-install-clm5mnmq/flash-attn_a54803c8052b4a8d9d6efbd30fc37f0f/csrc/flash_attn/src/flash_bwd_hdim160_fp16_sm80.cu:5:
    /home/guoby/app/Anaconda3-2021.05/envs/news-2/lib/python3.8/site-packages/torch/include/c10/util/string_view.h:12:23: fatal error: string_view: No such file or directory
     #include <string_view>
                           ^
    compilation terminated.
    fatal   : Could not open input file /tmp/tmpxft_00008613_00000000-8_flash_bwd_hdim160_fp16_sm80.compute_80.cpp1.ii
    [47/85] /opt/cuda_12.4.1_550.54.15_linux/bin/nvcc --generate-dependencies-with-compile --dependency-output /tmp/pip-install-clm5mnmq/flash-attn_a54803c8052b4a8d9d6efbd30fc37f0f/build/temp.linux-x86_64-3.8/csrc/flash_attn/src/flash_bwd_hdim64_bf16_causal_sm80.o.d -I/tmp/pip-install-clm5mnmq/flash-attn_a54803c8052b4a8d9d6efbd30fc37f0f/csrc/flash_attn -I/tmp/pip-install-clm5mnmq/flash-attn_a54803c8052b4a8d9d6efbd30fc37f0f/csrc/flash_attn/src -I/tmp/pip-install-clm5mnmq/flash-attn_a54803c8052b4a8d9d6efbd30fc37f0f/csrc/cutlass/include -I/home/guoby/app/Anaconda3-2021.05/envs/news-2/lib/python3.8/site-packages/torch/include -I/home/guoby/app/Anaconda3-2021.05/envs/news-2/lib/python3.8/site-packages/torch/include/torch/csrc/api/include -I/home/guoby/app/Anaconda3-2021.05/envs/news-2/lib/python3.8/site-packages/torch/include/TH -I/home/guoby/app/Anaconda3-2021.05/envs/news-2/lib/python3.8/site-packages/torch/include/THC -I/opt/cuda_12.4.1_550.54.15_linux/include -I/home/guoby/app/Anaconda3-2021.05/envs/news-2/include/python3.8 -c -c /tmp/pip-install-clm5mnmq/flash-attn_a54803c8052b4a8d9d6efbd30fc37f0f/csrc/flash_attn/src/flash_bwd_hdim64_bf16_causal_sm80.cu -o /tmp/pip-install-clm5mnmq/flash-attn_a54803c8052b4a8d9d6efbd30fc37f0f/build/temp.linux-x86_64-3.8/csrc/flash_attn/src/flash_bwd_hdim64_bf16_causal_sm80.o -D__CUDA_NO_HALF_OPERATORS__ -D__CUDA_NO_HALF_CONVERSIONS__ -D__CUDA_NO_BFLOAT16_CONVERSIONS__ -D__CUDA_NO_HALF2_OPERATORS__ --expt-relaxed-constexpr --compiler-options ''"'"'-fPIC'"'"'' -O3 -std=c++17 -U__CUDA_NO_HALF_OPERATORS__ -U__CUDA_NO_HALF_CONVERSIONS__ -U__CUDA_NO_HALF2_OPERATORS__ -U__CUDA_NO_BFLOAT16_CONVERSIONS__ --expt-relaxed-constexpr --expt-extended-lambda --use_fast_math -gencode arch=compute_80,code=sm_80 -gencode arch=compute_90,code=sm_90 --threads 4 -DTORCH_API_INCLUDE_EXTENSION_H '-DPYBIND11_COMPILER_TYPE="_gcc"' '-DPYBIND11_STDLIB="_libstdcpp"' '-DPYBIND11_BUILD_ABI="_cxxabi1011"' -DTORCH_EXTENSION_NAME=flash_attn_2_cuda -D_GLIBCXX_USE_CXX11_ABI=0
    FAILED: /tmp/pip-install-clm5mnmq/flash-attn_a54803c8052b4a8d9d6efbd30fc37f0f/build/temp.linux-x86_64-3.8/csrc/flash_attn/src/flash_bwd_hdim64_bf16_causal_sm80.o
    /opt/cuda_12.4.1_550.54.15_linux/bin/nvcc --generate-dependencies-with-compile --dependency-output /tmp/pip-install-clm5mnmq/flash-attn_a54803c8052b4a8d9d6efbd30fc37f0f/build/temp.linux-x86_64-3.8/csrc/flash_attn/src/flash_bwd_hdim64_bf16_causal_sm80.o.d -I/tmp/pip-install-clm5mnmq/flash-attn_a54803c8052b4a8d9d6efbd30fc37f0f/csrc/flash_attn -I/tmp/pip-install-clm5mnmq/flash-attn_a54803c8052b4a8d9d6efbd30fc37f0f/csrc/flash_attn/src -I/tmp/pip-install-clm5mnmq/flash-attn_a54803c8052b4a8d9d6efbd30fc37f0f/csrc/cutlass/include -I/home/guoby/app/Anaconda3-2021.05/envs/news-2/lib/python3.8/site-packages/torch/include -I/home/guoby/app/Anaconda3-2021.05/envs/news-2/lib/python3.8/site-packages/torch/include/torch/csrc/api/include -I/home/guoby/app/Anaconda3-2021.05/envs/news-2/lib/python3.8/site-packages/torch/include/TH -I/home/guoby/app/Anaconda3-2021.05/envs/news-2/lib/python3.8/site-packages/torch/include/THC -I/opt/cuda_12.4.1_550.54.15_linux/include -I/home/guoby/app/Anaconda3-2021.05/envs/news-2/include/python3.8 -c -c /tmp/pip-install-clm5mnmq/flash-attn_a54803c8052b4a8d9d6efbd30fc37f0f/csrc/flash_attn/src/flash_bwd_hdim64_bf16_causal_sm80.cu -o /tmp/pip-install-clm5mnmq/flash-attn_a54803c8052b4a8d9d6efbd30fc37f0f/build/temp.linux-x86_64-3.8/csrc/flash_attn/src/flash_bwd_hdim64_bf16_causal_sm80.o -D__CUDA_NO_HALF_OPERATORS__ -D__CUDA_NO_HALF_CONVERSIONS__ -D__CUDA_NO_BFLOAT16_CONVERSIONS__ -D__CUDA_NO_HALF2_OPERATORS__ --expt-relaxed-constexpr --compiler-options ''"'"'-fPIC'"'"'' -O3 -std=c++17 -U__CUDA_NO_HALF_OPERATORS__ -U__CUDA_NO_HALF_CONVERSIONS__ -U__CUDA_NO_HALF2_OPERATORS__ -U__CUDA_NO_BFLOAT16_CONVERSIONS__ --expt-relaxed-constexpr --expt-extended-lambda --use_fast_math -gencode arch=compute_80,code=sm_80 -gencode arch=compute_90,code=sm_90 --threads 4 -DTORCH_API_INCLUDE_EXTENSION_H '-DPYBIND11_COMPILER_TYPE="_gcc"' '-DPYBIND11_STDLIB="_libstdcpp"' '-DPYBIND11_BUILD_ABI="_cxxabi1011"' -DTORCH_EXTENSION_NAME=flash_attn_2_cuda -D_GLIBCXX_USE_CXX11_ABI=0
    nvcc warning : The -std=c++17 flag is not supported with the configured host compiler. Flag will be ignored.
    In file included from /usr/include/c++/4.8.2/cstdint:35:0,
                     from /home/guoby/app/Anaconda3-2021.05/envs/news-2/lib/python3.8/site-packages/torch/include/ATen/cuda/CUDAContextLight.h:4,
                     from /home/guoby/app/Anaconda3-2021.05/envs/news-2/lib/python3.8/site-packages/torch/include/ATen/cuda/CUDAContext.h:3,
                     from /tmp/pip-install-clm5mnmq/flash-attn_a54803c8052b4a8d9d6efbd30fc37f0f/csrc/flash_attn/src/flash_bwd_launch_template.h:7,
                     from /tmp/pip-install-clm5mnmq/flash-attn_a54803c8052b4a8d9d6efbd30fc37f0f/csrc/flash_attn/src/flash_bwd_hdim64_bf16_causal_sm80.cu:5:
    /usr/include/c++/4.8.2/bits/c++0x_warning.h:32:2: error: #error This file requires compiler and library support for the ISO C++ 2011 standard. This support is currently experimental, and must be enabled with the -std=c++11 or -std=gnu++11 compiler options.
     #error This file requires compiler and library support for the \
      ^
    In file included from /home/guoby/app/Anaconda3-2021.05/envs/news-2/lib/python3.8/site-packages/torch/include/c10/util/StringUtil.h:6:0,
                     from /home/guoby/app/Anaconda3-2021.05/envs/news-2/lib/python3.8/site-packages/torch/include/c10/util/Exception.h:6,
                     from /home/guoby/app/Anaconda3-2021.05/envs/news-2/lib/python3.8/site-packages/torch/include/c10/core/Device.h:5,
                     from /home/guoby/app/Anaconda3-2021.05/envs/news-2/lib/python3.8/site-packages/torch/include/c10/core/Allocator.h:9,
                     from /home/guoby/app/Anaconda3-2021.05/envs/news-2/lib/python3.8/site-packages/torch/include/ATen/cuda/CUDAContextLight.h:24,
                     from /home/guoby/app/Anaconda3-2021.05/envs/news-2/lib/python3.8/site-packages/torch/include/ATen/cuda/CUDAContext.h:3,
                     from /tmp/pip-install-clm5mnmq/flash-attn_a54803c8052b4a8d9d6efbd30fc37f0f/csrc/flash_attn/src/flash_bwd_launch_template.h:7,
                     from /tmp/pip-install-clm5mnmq/flash-attn_a54803c8052b4a8d9d6efbd30fc37f0f/csrc/flash_attn/src/flash_bwd_hdim64_bf16_causal_sm80.cu:5:
    /home/guoby/app/Anaconda3-2021.05/envs/news-2/lib/python3.8/site-packages/torch/include/c10/util/string_view.h:12:23: fatal error: string_view: No such file or directory
     #include <string_view>
                           ^
    compilation terminated.
    In file included from /usr/include/c++/4.8.2/cstdint:35:0,
                     from /home/guoby/app/Anaconda3-2021.05/envs/news-2/lib/python3.8/site-packages/torch/include/ATen/cuda/CUDAContextLight.h:4,
                     from /home/guoby/app/Anaconda3-2021.05/envs/news-2/lib/python3.8/site-packages/torch/include/ATen/cuda/CUDAContext.h:3,
                     from /tmp/pip-install-clm5mnmq/flash-attn_a54803c8052b4a8d9d6efbd30fc37f0f/csrc/flash_attn/src/flash_bwd_launch_template.h:7,
                     from /tmp/pip-install-clm5mnmq/flash-attn_a54803c8052b4a8d9d6efbd30fc37f0f/csrc/flash_attn/src/flash_bwd_hdim64_bf16_causal_sm80.cu:5:
    /usr/include/c++/4.8.2/bits/c++0x_warning.h:32:2: error: #error This file requires compiler and library support for the ISO C++ 2011 standard. This support is currently experimental, and must be enabled with the -std=c++11 or -std=gnu++11 compiler options.
     #error This file requires compiler and library support for the \
      ^
    In file included from /home/guoby/app/Anaconda3-2021.05/envs/news-2/lib/python3.8/site-packages/torch/include/c10/util/StringUtil.h:6:0,
                     from /home/guoby/app/Anaconda3-2021.05/envs/news-2/lib/python3.8/site-packages/torch/include/c10/util/Exception.h:6,
                     from /home/guoby/app/Anaconda3-2021.05/envs/news-2/lib/python3.8/site-packages/torch/include/c10/core/Device.h:5,
                     from /home/guoby/app/Anaconda3-2021.05/envs/news-2/lib/python3.8/site-packages/torch/include/c10/core/Allocator.h:9,
                     from /home/guoby/app/Anaconda3-2021.05/envs/news-2/lib/python3.8/site-packages/torch/include/ATen/cuda/CUDAContextLight.h:24,
                     from /home/guoby/app/Anaconda3-2021.05/envs/news-2/lib/python3.8/site-packages/torch/include/ATen/cuda/CUDAContext.h:3,
                     from /tmp/pip-install-clm5mnmq/flash-attn_a54803c8052b4a8d9d6efbd30fc37f0f/csrc/flash_attn/src/flash_bwd_launch_template.h:7,
                     from /tmp/pip-install-clm5mnmq/flash-attn_a54803c8052b4a8d9d6efbd30fc37f0f/csrc/flash_attn/src/flash_bwd_hdim64_bf16_causal_sm80.cu:5:
    /home/guoby/app/Anaconda3-2021.05/envs/news-2/lib/python3.8/site-packages/torch/include/c10/util/string_view.h:12:23: fatal error: string_view: No such file or directory
     #include <string_view>
                           ^
    compilation terminated.
    In file included from /usr/include/c++/4.8.2/cstdint:35:0,
                     from /home/guoby/app/Anaconda3-2021.05/envs/news-2/lib/python3.8/site-packages/torch/include/ATen/cuda/CUDAContextLight.h:4,
                     from /home/guoby/app/Anaconda3-2021.05/envs/news-2/lib/python3.8/site-packages/torch/include/ATen/cuda/CUDAContext.h:3,
                     from /tmp/pip-install-clm5mnmq/flash-attn_a54803c8052b4a8d9d6efbd30fc37f0f/csrc/flash_attn/src/flash_bwd_launch_template.h:7,
                     from /tmp/pip-install-clm5mnmq/flash-attn_a54803c8052b4a8d9d6efbd30fc37f0f/csrc/flash_attn/src/flash_bwd_hdim64_bf16_causal_sm80.cu:5:
    /usr/include/c++/4.8.2/bits/c++0x_warning.h:32:2: error: #error This file requires compiler and library support for the ISO C++ 2011 standard. This support is currently experimental, and must be enabled with the -std=c++11 or -std=gnu++11 compiler options.
     #error This file requires compiler and library support for the \
      ^
    In file included from /home/guoby/app/Anaconda3-2021.05/envs/news-2/lib/python3.8/site-packages/torch/include/c10/util/StringUtil.h:6:0,
                     from /home/guoby/app/Anaconda3-2021.05/envs/news-2/lib/python3.8/site-packages/torch/include/c10/util/Exception.h:6,
                     from /home/guoby/app/Anaconda3-2021.05/envs/news-2/lib/python3.8/site-packages/torch/include/c10/core/Device.h:5,
                     from /home/guoby/app/Anaconda3-2021.05/envs/news-2/lib/python3.8/site-packages/torch/include/c10/core/Allocator.h:9,
                     from /home/guoby/app/Anaconda3-2021.05/envs/news-2/lib/python3.8/site-packages/torch/include/ATen/cuda/CUDAContextLight.h:24,
                     from /home/guoby/app/Anaconda3-2021.05/envs/news-2/lib/python3.8/site-packages/torch/include/ATen/cuda/CUDAContext.h:3,
                     from /tmp/pip-install-clm5mnmq/flash-attn_a54803c8052b4a8d9d6efbd30fc37f0f/csrc/flash_attn/src/flash_bwd_launch_template.h:7,
                     from /tmp/pip-install-clm5mnmq/flash-attn_a54803c8052b4a8d9d6efbd30fc37f0f/csrc/flash_attn/src/flash_bwd_hdim64_bf16_causal_sm80.cu:5:
    /home/guoby/app/Anaconda3-2021.05/envs/news-2/lib/python3.8/site-packages/torch/include/c10/util/string_view.h:12:23: fatal error: string_view: No such file or directory
     #include <string_view>
                           ^
    compilation terminated.
    fatal   : Could not open input file /tmp/tmpxft_000086f8_00000000-8_flash_bwd_hdim64_bf16_causal_sm80.compute_80.cpp1.ii
    [48/85] /opt/cuda_12.4.1_550.54.15_linux/bin/nvcc --generate-dependencies-with-compile --dependency-output /tmp/pip-install-clm5mnmq/flash-attn_a54803c8052b4a8d9d6efbd30fc37f0f/build/temp.linux-x86_64-3.8/csrc/flash_attn/src/flash_bwd_hdim96_fp16_causal_sm80.o.d -I/tmp/pip-install-clm5mnmq/flash-attn_a54803c8052b4a8d9d6efbd30fc37f0f/csrc/flash_attn -I/tmp/pip-install-clm5mnmq/flash-attn_a54803c8052b4a8d9d6efbd30fc37f0f/csrc/flash_attn/src -I/tmp/pip-install-clm5mnmq/flash-attn_a54803c8052b4a8d9d6efbd30fc37f0f/csrc/cutlass/include -I/home/guoby/app/Anaconda3-2021.05/envs/news-2/lib/python3.8/site-packages/torch/include -I/home/guoby/app/Anaconda3-2021.05/envs/news-2/lib/python3.8/site-packages/torch/include/torch/csrc/api/include -I/home/guoby/app/Anaconda3-2021.05/envs/news-2/lib/python3.8/site-packages/torch/include/TH -I/home/guoby/app/Anaconda3-2021.05/envs/news-2/lib/python3.8/site-packages/torch/include/THC -I/opt/cuda_12.4.1_550.54.15_linux/include -I/home/guoby/app/Anaconda3-2021.05/envs/news-2/include/python3.8 -c -c /tmp/pip-install-clm5mnmq/flash-attn_a54803c8052b4a8d9d6efbd30fc37f0f/csrc/flash_attn/src/flash_bwd_hdim96_fp16_causal_sm80.cu -o /tmp/pip-install-clm5mnmq/flash-attn_a54803c8052b4a8d9d6efbd30fc37f0f/build/temp.linux-x86_64-3.8/csrc/flash_attn/src/flash_bwd_hdim96_fp16_causal_sm80.o -D__CUDA_NO_HALF_OPERATORS__ -D__CUDA_NO_HALF_CONVERSIONS__ -D__CUDA_NO_BFLOAT16_CONVERSIONS__ -D__CUDA_NO_HALF2_OPERATORS__ --expt-relaxed-constexpr --compiler-options ''"'"'-fPIC'"'"'' -O3 -std=c++17 -U__CUDA_NO_HALF_OPERATORS__ -U__CUDA_NO_HALF_CONVERSIONS__ -U__CUDA_NO_HALF2_OPERATORS__ -U__CUDA_NO_BFLOAT16_CONVERSIONS__ --expt-relaxed-constexpr --expt-extended-lambda --use_fast_math -gencode arch=compute_80,code=sm_80 -gencode arch=compute_90,code=sm_90 --threads 4 -DTORCH_API_INCLUDE_EXTENSION_H '-DPYBIND11_COMPILER_TYPE="_gcc"' '-DPYBIND11_STDLIB="_libstdcpp"' '-DPYBIND11_BUILD_ABI="_cxxabi1011"' -DTORCH_EXTENSION_NAME=flash_attn_2_cuda -D_GLIBCXX_USE_CXX11_ABI=0
    FAILED: /tmp/pip-install-clm5mnmq/flash-attn_a54803c8052b4a8d9d6efbd30fc37f0f/build/temp.linux-x86_64-3.8/csrc/flash_attn/src/flash_bwd_hdim96_fp16_causal_sm80.o
    /opt/cuda_12.4.1_550.54.15_linux/bin/nvcc --generate-dependencies-with-compile --dependency-output /tmp/pip-install-clm5mnmq/flash-attn_a54803c8052b4a8d9d6efbd30fc37f0f/build/temp.linux-x86_64-3.8/csrc/flash_attn/src/flash_bwd_hdim96_fp16_causal_sm80.o.d -I/tmp/pip-install-clm5mnmq/flash-attn_a54803c8052b4a8d9d6efbd30fc37f0f/csrc/flash_attn -I/tmp/pip-install-clm5mnmq/flash-attn_a54803c8052b4a8d9d6efbd30fc37f0f/csrc/flash_attn/src -I/tmp/pip-install-clm5mnmq/flash-attn_a54803c8052b4a8d9d6efbd30fc37f0f/csrc/cutlass/include -I/home/guoby/app/Anaconda3-2021.05/envs/news-2/lib/python3.8/site-packages/torch/include -I/home/guoby/app/Anaconda3-2021.05/envs/news-2/lib/python3.8/site-packages/torch/include/torch/csrc/api/include -I/home/guoby/app/Anaconda3-2021.05/envs/news-2/lib/python3.8/site-packages/torch/include/TH -I/home/guoby/app/Anaconda3-2021.05/envs/news-2/lib/python3.8/site-packages/torch/include/THC -I/opt/cuda_12.4.1_550.54.15_linux/include -I/home/guoby/app/Anaconda3-2021.05/envs/news-2/include/python3.8 -c -c /tmp/pip-install-clm5mnmq/flash-attn_a54803c8052b4a8d9d6efbd30fc37f0f/csrc/flash_attn/src/flash_bwd_hdim96_fp16_causal_sm80.cu -o /tmp/pip-install-clm5mnmq/flash-attn_a54803c8052b4a8d9d6efbd30fc37f0f/build/temp.linux-x86_64-3.8/csrc/flash_attn/src/flash_bwd_hdim96_fp16_causal_sm80.o -D__CUDA_NO_HALF_OPERATORS__ -D__CUDA_NO_HALF_CONVERSIONS__ -D__CUDA_NO_BFLOAT16_CONVERSIONS__ -D__CUDA_NO_HALF2_OPERATORS__ --expt-relaxed-constexpr --compiler-options ''"'"'-fPIC'"'"'' -O3 -std=c++17 -U__CUDA_NO_HALF_OPERATORS__ -U__CUDA_NO_HALF_CONVERSIONS__ -U__CUDA_NO_HALF2_OPERATORS__ -U__CUDA_NO_BFLOAT16_CONVERSIONS__ --expt-relaxed-constexpr --expt-extended-lambda --use_fast_math -gencode arch=compute_80,code=sm_80 -gencode arch=compute_90,code=sm_90 --threads 4 -DTORCH_API_INCLUDE_EXTENSION_H '-DPYBIND11_COMPILER_TYPE="_gcc"' '-DPYBIND11_STDLIB="_libstdcpp"' '-DPYBIND11_BUILD_ABI="_cxxabi1011"' -DTORCH_EXTENSION_NAME=flash_attn_2_cuda -D_GLIBCXX_USE_CXX11_ABI=0
    nvcc warning : The -std=c++17 flag is not supported with the configured host compiler. Flag will be ignored.
    In file included from /usr/include/c++/4.8.2/cstdint:35:0,
                     from /home/guoby/app/Anaconda3-2021.05/envs/news-2/lib/python3.8/site-packages/torch/include/ATen/cuda/CUDAContextLight.h:4,
                     from /home/guoby/app/Anaconda3-2021.05/envs/news-2/lib/python3.8/site-packages/torch/include/ATen/cuda/CUDAContext.h:3,
                     from /tmp/pip-install-clm5mnmq/flash-attn_a54803c8052b4a8d9d6efbd30fc37f0f/csrc/flash_attn/src/flash_bwd_launch_template.h:7,
                     from /tmp/pip-install-clm5mnmq/flash-attn_a54803c8052b4a8d9d6efbd30fc37f0f/csrc/flash_attn/src/flash_bwd_hdim96_fp16_causal_sm80.cu:5:
    /usr/include/c++/4.8.2/bits/c++0x_warning.h:32:2: error: #error This file requires compiler and library support for the ISO C++ 2011 standard. This support is currently experimental, and must be enabled with the -std=c++11 or -std=gnu++11 compiler options.
     #error This file requires compiler and library support for the \
      ^
    In file included from /home/guoby/app/Anaconda3-2021.05/envs/news-2/lib/python3.8/site-packages/torch/include/c10/util/StringUtil.h:6:0,
                     from /home/guoby/app/Anaconda3-2021.05/envs/news-2/lib/python3.8/site-packages/torch/include/c10/util/Exception.h:6,
                     from /home/guoby/app/Anaconda3-2021.05/envs/news-2/lib/python3.8/site-packages/torch/include/c10/core/Device.h:5,
                     from /home/guoby/app/Anaconda3-2021.05/envs/news-2/lib/python3.8/site-packages/torch/include/c10/core/Allocator.h:9,
                     from /home/guoby/app/Anaconda3-2021.05/envs/news-2/lib/python3.8/site-packages/torch/include/ATen/cuda/CUDAContextLight.h:24,
                     from /home/guoby/app/Anaconda3-2021.05/envs/news-2/lib/python3.8/site-packages/torch/include/ATen/cuda/CUDAContext.h:3,
                     from /tmp/pip-install-clm5mnmq/flash-attn_a54803c8052b4a8d9d6efbd30fc37f0f/csrc/flash_attn/src/flash_bwd_launch_template.h:7,
                     from /tmp/pip-install-clm5mnmq/flash-attn_a54803c8052b4a8d9d6efbd30fc37f0f/csrc/flash_attn/src/flash_bwd_hdim96_fp16_causal_sm80.cu:5:
    /home/guoby/app/Anaconda3-2021.05/envs/news-2/lib/python3.8/site-packages/torch/include/c10/util/string_view.h:12:23: fatal error: string_view: No such file or directory
     #include <string_view>
                           ^
    compilation terminated.
    In file included from /usr/include/c++/4.8.2/cstdint:35:0,
                     from /home/guoby/app/Anaconda3-2021.05/envs/news-2/lib/python3.8/site-packages/torch/include/ATen/cuda/CUDAContextLight.h:4,
                     from /home/guoby/app/Anaconda3-2021.05/envs/news-2/lib/python3.8/site-packages/torch/include/ATen/cuda/CUDAContext.h:3,
                     from /tmp/pip-install-clm5mnmq/flash-attn_a54803c8052b4a8d9d6efbd30fc37f0f/csrc/flash_attn/src/flash_bwd_launch_template.h:7,
                     from /tmp/pip-install-clm5mnmq/flash-attn_a54803c8052b4a8d9d6efbd30fc37f0f/csrc/flash_attn/src/flash_bwd_hdim96_fp16_causal_sm80.cu:5:
    /usr/include/c++/4.8.2/bits/c++0x_warning.h:32:2: error: #error This file requires compiler and library support for the ISO C++ 2011 standard. This support is currently experimental, and must be enabled with the -std=c++11 or -std=gnu++11 compiler options.
     #error This file requires compiler and library support for the \
      ^
    In file included from /home/guoby/app/Anaconda3-2021.05/envs/news-2/lib/python3.8/site-packages/torch/include/c10/util/StringUtil.h:6:0,
                     from /home/guoby/app/Anaconda3-2021.05/envs/news-2/lib/python3.8/site-packages/torch/include/c10/util/Exception.h:6,
                     from /home/guoby/app/Anaconda3-2021.05/envs/news-2/lib/python3.8/site-packages/torch/include/c10/core/Device.h:5,
                     from /home/guoby/app/Anaconda3-2021.05/envs/news-2/lib/python3.8/site-packages/torch/include/c10/core/Allocator.h:9,
                     from /home/guoby/app/Anaconda3-2021.05/envs/news-2/lib/python3.8/site-packages/torch/include/ATen/cuda/CUDAContextLight.h:24,
                     from /home/guoby/app/Anaconda3-2021.05/envs/news-2/lib/python3.8/site-packages/torch/include/ATen/cuda/CUDAContext.h:3,
                     from /tmp/pip-install-clm5mnmq/flash-attn_a54803c8052b4a8d9d6efbd30fc37f0f/csrc/flash_attn/src/flash_bwd_launch_template.h:7,
                     from /tmp/pip-install-clm5mnmq/flash-attn_a54803c8052b4a8d9d6efbd30fc37f0f/csrc/flash_attn/src/flash_bwd_hdim96_fp16_causal_sm80.cu:5:
    /home/guoby/app/Anaconda3-2021.05/envs/news-2/lib/python3.8/site-packages/torch/include/c10/util/string_view.h:12:23: fatal error: string_view: No such file or directory
     #include <string_view>
                           ^
    compilation terminated.
    In file included from /usr/include/c++/4.8.2/cstdint:35:0,
                     from /home/guoby/app/Anaconda3-2021.05/envs/news-2/lib/python3.8/site-packages/torch/include/ATen/cuda/CUDAContextLight.h:4,
                     from /home/guoby/app/Anaconda3-2021.05/envs/news-2/lib/python3.8/site-packages/torch/include/ATen/cuda/CUDAContext.h:3,
                     from /tmp/pip-install-clm5mnmq/flash-attn_a54803c8052b4a8d9d6efbd30fc37f0f/csrc/flash_attn/src/flash_bwd_launch_template.h:7,
                     from /tmp/pip-install-clm5mnmq/flash-attn_a54803c8052b4a8d9d6efbd30fc37f0f/csrc/flash_attn/src/flash_bwd_hdim96_fp16_causal_sm80.cu:5:
    /usr/include/c++/4.8.2/bits/c++0x_warning.h:32:2: error: #error This file requires compiler and library support for the ISO C++ 2011 standard. This support is currently experimental, and must be enabled with the -std=c++11 or -std=gnu++11 compiler options.
     #error This file requires compiler and library support for the \
      ^
    In file included from /home/guoby/app/Anaconda3-2021.05/envs/news-2/lib/python3.8/site-packages/torch/include/c10/util/StringUtil.h:6:0,
                     from /home/guoby/app/Anaconda3-2021.05/envs/news-2/lib/python3.8/site-packages/torch/include/c10/util/Exception.h:6,
                     from /home/guoby/app/Anaconda3-2021.05/envs/news-2/lib/python3.8/site-packages/torch/include/c10/core/Device.h:5,
                     from /home/guoby/app/Anaconda3-2021.05/envs/news-2/lib/python3.8/site-packages/torch/include/c10/core/Allocator.h:9,
                     from /home/guoby/app/Anaconda3-2021.05/envs/news-2/lib/python3.8/site-packages/torch/include/ATen/cuda/CUDAContextLight.h:24,
                     from /home/guoby/app/Anaconda3-2021.05/envs/news-2/lib/python3.8/site-packages/torch/include/ATen/cuda/CUDAContext.h:3,
                     from /tmp/pip-install-clm5mnmq/flash-attn_a54803c8052b4a8d9d6efbd30fc37f0f/csrc/flash_attn/src/flash_bwd_launch_template.h:7,
                     from /tmp/pip-install-clm5mnmq/flash-attn_a54803c8052b4a8d9d6efbd30fc37f0f/csrc/flash_attn/src/flash_bwd_hdim96_fp16_causal_sm80.cu:5:
    /home/guoby/app/Anaconda3-2021.05/envs/news-2/lib/python3.8/site-packages/torch/include/c10/util/string_view.h:12:23: fatal error: string_view: No such file or directory
     #include <string_view>
                           ^
    compilation terminated.
    fatal   : Could not open input file /tmp/tmpxft_00008709_00000000-8_flash_bwd_hdim96_fp16_causal_sm80.compute_80.cpp1.ii
    ninja: build stopped: subcommand failed.
    Traceback (most recent call last):
      File "/home/guoby/app/Anaconda3-2021.05/envs/news-2/lib/python3.8/site-packages/torch/utils/cpp_extension.py", line 2107, in _run_ninja_build
        subprocess.run(
      File "/home/guoby/app/Anaconda3-2021.05/envs/news-2/lib/python3.8/subprocess.py", line 516, in run
        raise CalledProcessError(retcode, process.args,
    subprocess.CalledProcessError: Command '['ninja', '-v', '-j', '48']' returned non-zero exit status 1.

    The above exception was the direct cause of the following exception:

    Traceback (most recent call last):
      File "<string>", line 1, in <module>
      File "/tmp/pip-install-clm5mnmq/flash-attn_a54803c8052b4a8d9d6efbd30fc37f0f/setup.py", line 508, in <module>
        setup(
      File "/home/guoby/app/Anaconda3-2021.05/envs/news-2/lib/python3.8/site-packages/setuptools/__init__.py", line 153, in setup
        return distutils.core.setup(**attrs)
      File "/home/guoby/app/Anaconda3-2021.05/envs/news-2/lib/python3.8/distutils/core.py", line 148, in setup
        dist.run_commands()
      File "/home/guoby/app/Anaconda3-2021.05/envs/news-2/lib/python3.8/distutils/dist.py", line 966, in run_commands
        self.run_command(cmd)
      File "/home/guoby/app/Anaconda3-2021.05/envs/news-2/lib/python3.8/distutils/dist.py", line 985, in run_command
        cmd_obj.run()
      File "/home/guoby/app/Anaconda3-2021.05/envs/news-2/lib/python3.8/site-packages/setuptools/command/install.py", line 61, in run
        return orig.install.run(self)
      File "/home/guoby/app/Anaconda3-2021.05/envs/news-2/lib/python3.8/distutils/command/install.py", line 545, in run
        self.run_command('build')
      File "/home/guoby/app/Anaconda3-2021.05/envs/news-2/lib/python3.8/distutils/cmd.py", line 313, in run_command
        self.distribution.run_command(command)
      File "/home/guoby/app/Anaconda3-2021.05/envs/news-2/lib/python3.8/distutils/dist.py", line 985, in run_command
        cmd_obj.run()
      File "/home/guoby/app/Anaconda3-2021.05/envs/news-2/lib/python3.8/distutils/command/build.py", line 135, in run
        self.run_command(cmd_name)
      File "/home/guoby/app/Anaconda3-2021.05/envs/news-2/lib/python3.8/distutils/cmd.py", line 313, in run_command
        self.distribution.run_command(command)
      File "/home/guoby/app/Anaconda3-2021.05/envs/news-2/lib/python3.8/distutils/dist.py", line 985, in run_command
        cmd_obj.run()
      File "/home/guoby/app/Anaconda3-2021.05/envs/news-2/lib/python3.8/site-packages/setuptools/command/build_ext.py", line 79, in run
        _build_ext.run(self)
      File "/home/guoby/app/Anaconda3-2021.05/envs/news-2/lib/python3.8/site-packages/Cython/Distutils/old_build_ext.py", line 186, in run
        _build_ext.build_ext.run(self)
      File "/home/guoby/app/Anaconda3-2021.05/envs/news-2/lib/python3.8/distutils/command/build_ext.py", line 340, in run
        self.build_extensions()
      File "/home/guoby/app/Anaconda3-2021.05/envs/news-2/lib/python3.8/site-packages/torch/utils/cpp_extension.py", line 870, in build_extensions
        build_ext.build_extensions(self)
      File "/home/guoby/app/Anaconda3-2021.05/envs/news-2/lib/python3.8/site-packages/Cython/Distutils/old_build_ext.py", line 195, in build_extensions
        _build_ext.build_ext.build_extensions(self)
      File "/home/guoby/app/Anaconda3-2021.05/envs/news-2/lib/python3.8/distutils/command/build_ext.py", line 449, in build_extensions
        self._build_extensions_serial()
      File "/home/guoby/app/Anaconda3-2021.05/envs/news-2/lib/python3.8/distutils/command/build_ext.py", line 474, in _build_extensions_serial
        self.build_extension(ext)
      File "/home/guoby/app/Anaconda3-2021.05/envs/news-2/lib/python3.8/site-packages/setuptools/command/build_ext.py", line 196, in build_extension
        _build_ext.build_extension(self, ext)
      File "/home/guoby/app/Anaconda3-2021.05/envs/news-2/lib/python3.8/distutils/command/build_ext.py", line 528, in build_extension
        objects = self.compiler.compile(sources,
      File "/home/guoby/app/Anaconda3-2021.05/envs/news-2/lib/python3.8/site-packages/torch/utils/cpp_extension.py", line 683, in unix_wrap_ninja_compile
        _write_ninja_file_and_compile_objects(
      File "/home/guoby/app/Anaconda3-2021.05/envs/news-2/lib/python3.8/site-packages/torch/utils/cpp_extension.py", line 1783, in _write_ninja_file_and_compile_objects
        _run_ninja_build(
      File "/home/guoby/app/Anaconda3-2021.05/envs/news-2/lib/python3.8/site-packages/torch/utils/cpp_extension.py", line 2123, in _run_ninja_build
        raise RuntimeError(message) from e
    RuntimeError: Error compiling objects for extension
    ----------------------------------------
ERROR: Command errored out with exit status 1: /home/guoby/app/Anaconda3-2021.05/envs/news-2/bin/python -u -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'/tmp/pip-install-clm5mnmq/flash-attn_a54803c8052b4a8d9d6efbd30fc37f0f/setup.py'"'"'; __file__='"'"'/tmp/pip-install-clm5mnmq/flash-attn_a54803c8052b4a8d9d6efbd30fc37f0f/setup.py'"'"';f=getattr(tokenize, '"'"'open'"'"', open)(__file__);code=f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, __file__, '"'"'exec'"'"'))' install --record /tmp/pip-record-krrrai0b/install-record.txt --single-version-externally-managed --compile --install-headers /home/guoby/app/Anaconda3-2021.05/envs/news-2/include/python3.8/flash-attn Check the logs for full command output.

As the error message say
error: #error This file requires compiler and library support for the ISO C++ 2011 standard
You'll need a newer version of the compiler (e.g. gcc >= 8)

Thanks for your quick reply!
I tried with gcc-9.2.0 again, using python setup.py install, and it shows:
...
compilation terminated.
fatal   : Could not open input file /tmp/tmpxft_0001466a_00000000-8_flash_fwd_hdim160_fp16_causal_sm80.compute_80.cpp1.ii
[48/85] /opt/cuda_12.4.1_550.54.15_linux/bin/nvcc --generate-dependencies-with-compile --dependency-output /home/guoby/MyProjects/flash-attention-main/build/temp.linux-x86_64-3.8/csrc/flash_attn/src/flash_fwd_hdim64_fp16_causal_sm80.o.d -I/home/guoby/MyProjects/flash-attention-main/csrc/flash_attn -I/home/guoby/MyProjects/flash-attention-main/csrc/flash_attn/src -I/home/guoby/MyProjects/flash-attention-main/csrc/cutlass/include -I/home/guoby/app/Anaconda3-2021.05/envs/news-2/lib/python3.8/site-packages/torch/include -I/home/guoby/app/Anaconda3-2021.05/envs/news-2/lib/python3.8/site-packages/torch/include/torch/csrc/api/include -I/home/guoby/app/Anaconda3-2021.05/envs/news-2/lib/python3.8/site-packages/torch/include/TH -I/home/guoby/app/Anaconda3-2021.05/envs/news-2/lib/python3.8/site-packages/torch/include/THC -I/opt/cuda_12.4.1_550.54.15_linux/include -I/home/guoby/app/Anaconda3-2021.05/envs/news-2/include/python3.8 -c -c /home/guoby/MyProjects/flash-attention-main/csrc/flash_attn/src/flash_fwd_hdim64_fp16_causal_sm80.cu -o /home/guoby/MyProjects/flash-attention-main/build/temp.linux-x86_64-3.8/csrc/flash_attn/src/flash_fwd_hdim64_fp16_causal_sm80.o -D__CUDA_NO_HALF_OPERATORS__ -D__CUDA_NO_HALF_CONVERSIONS__ -D__CUDA_NO_BFLOAT16_CONVERSIONS__ -D__CUDA_NO_HALF2_OPERATORS__ --expt-relaxed-constexpr --compiler-options ''"'"'-fPIC'"'"'' -O3 -std=c++17 -U__CUDA_NO_HALF_OPERATORS__ -U__CUDA_NO_HALF_CONVERSIONS__ -U__CUDA_NO_HALF2_OPERATORS__ -U__CUDA_NO_BFLOAT16_CONVERSIONS__ --expt-relaxed-constexpr --expt-extended-lambda --use_fast_math -gencode arch=compute_80,code=sm_80 -gencode arch=compute_90,code=sm_90 --threads 4 -DTORCH_API_INCLUDE_EXTENSION_H '-DPYBIND11_COMPILER_TYPE="_gcc"' '-DPYBIND11_STDLIB="_libstdcpp"' '-DPYBIND11_BUILD_ABI="_cxxabi1011"' -DTORCH_EXTENSION_NAME=flash_attn_2_cuda -D_GLIBCXX_USE_CXX11_ABI=0 -ccbin /opt/gcc-9.2.0/bin/gcc
FAILED: /home/guoby/MyProjects/flash-attention-main/build/temp.linux-x86_64-3.8/csrc/flash_attn/src/flash_fwd_hdim64_fp16_causal_sm80.o
/opt/cuda_12.4.1_550.54.15_linux/bin/nvcc --generate-dependencies-with-compile --dependency-output /home/guoby/MyProjects/flash-attention-main/build/temp.linux-x86_64-3.8/csrc/flash_attn/src/flash_fwd_hdim64_fp16_causal_sm80.o.d -I/home/guoby/MyProjects/flash-attention-main/csrc/flash_attn -I/home/guoby/MyProjects/flash-attention-main/csrc/flash_attn/src -I/home/guoby/MyProjects/flash-attention-main/csrc/cutlass/include -I/home/guoby/app/Anaconda3-2021.05/envs/news-2/lib/python3.8/site-packages/torch/include -I/home/guoby/app/Anaconda3-2021.05/envs/news-2/lib/python3.8/site-packages/torch/include/torch/csrc/api/include -I/home/guoby/app/Anaconda3-2021.05/envs/news-2/lib/python3.8/site-packages/torch/include/TH -I/home/guoby/app/Anaconda3-2021.05/envs/news-2/lib/python3.8/site-packages/torch/include/THC -I/opt/cuda_12.4.1_550.54.15_linux/include -I/home/guoby/app/Anaconda3-2021.05/envs/news-2/include/python3.8 -c -c /home/guoby/MyProjects/flash-attention-main/csrc/flash_attn/src/flash_fwd_hdim64_fp16_causal_sm80.cu -o /home/guoby/MyProjects/flash-attention-main/build/temp.linux-x86_64-3.8/csrc/flash_attn/src/flash_fwd_hdim64_fp16_causal_sm80.o -D__CUDA_NO_HALF_OPERATORS__ -D__CUDA_NO_HALF_CONVERSIONS__ -D__CUDA_NO_BFLOAT16_CONVERSIONS__ -D__CUDA_NO_HALF2_OPERATORS__ --expt-relaxed-constexpr --compiler-options ''"'"'-fPIC'"'"'' -O3 -std=c++17 -U__CUDA_NO_HALF_OPERATORS__ -U__CUDA_NO_HALF_CONVERSIONS__ -U__CUDA_NO_HALF2_OPERATORS__ -U__CUDA_NO_BFLOAT16_CONVERSIONS__ --expt-relaxed-constexpr --expt-extended-lambda --use_fast_math -gencode arch=compute_80,code=sm_80 -gencode arch=compute_90,code=sm_90 --threads 4 -DTORCH_API_INCLUDE_EXTENSION_H '-DPYBIND11_COMPILER_TYPE="_gcc"' '-DPYBIND11_STDLIB="_libstdcpp"' '-DPYBIND11_BUILD_ABI="_cxxabi1011"' -DTORCH_EXTENSION_NAME=flash_attn_2_cuda -D_GLIBCXX_USE_CXX11_ABI=0 -ccbin /opt/gcc-9.2.0/bin/gcc
In file included from /home/guoby/MyProjects/flash-attention-main/csrc/flash_attn/src/flash_fwd_launch_template.h:11,
                 from /home/guoby/MyProjects/flash-attention-main/csrc/flash_attn/src/flash_fwd_hdim64_fp16_causal_sm80.cu:5:
/home/guoby/MyProjects/flash-attention-main/csrc/flash_attn/src/flash_fwd_kernel.h:7:10: fatal error: cute/tensor.hpp: No such file or directory
    7 | #include <cute/tensor.hpp>
      |          ^~~~~~~~~~~~~~~~~
compilation terminated.
In file included from /home/guoby/MyProjects/flash-attention-main/csrc/flash_attn/src/flash_fwd_launch_template.h:11,
                 from /home/guoby/MyProjects/flash-attention-main/csrc/flash_attn/src/flash_fwd_hdim64_fp16_causal_sm80.cu:5:
/home/guoby/MyProjects/flash-attention-main/csrc/flash_attn/src/flash_fwd_kernel.h:7:10: fatal error: cute/tensor.hpp: No such file or directory
    7 | #include <cute/tensor.hpp>
      |          ^~~~~~~~~~~~~~~~~
compilation terminated.
In file included from /home/guoby/MyProjects/flash-attention-main/csrc/flash_attn/src/flash_fwd_launch_template.h:11,
                 from /home/guoby/MyProjects/flash-attention-main/csrc/flash_attn/src/flash_fwd_hdim64_fp16_causal_sm80.cu:5:
/home/guoby/MyProjects/flash-attention-main/csrc/flash_attn/src/flash_fwd_kernel.h:7:10: fatal error: cute/tensor.hpp: No such file or directory
    7 | #include <cute/tensor.hpp>
      |          ^~~~~~~~~~~~~~~~~
compilation terminated.
fatal   : Could not open input file /tmp/tmpxft_0001463b_00000000-8_flash_fwd_hdim64_fp16_causal_sm80.compute_80.cpp1.ii
ninja: build stopped: subcommand failed.
Traceback (most recent call last):
  File "/home/guoby/app/Anaconda3-2021.05/envs/news-2/lib/python3.8/site-packages/torch/utils/cpp_extension.py", line 2107, in _run_ninja_build
    subprocess.run(
  File "/home/guoby/app/Anaconda3-2021.05/envs/news-2/lib/python3.8/subprocess.py", line 516, in run
    raise CalledProcessError(retcode, process.args,
subprocess.CalledProcessError: Command '['ninja', '-v', '-j', '48']' returned non-zero exit status 1.

The above exception was the direct cause of the following exception:

Traceback (most recent call last):
  File "setup.py", line 508, in <module>
    setup(
  File "/home/guoby/app/Anaconda3-2021.05/envs/news-2/lib/python3.8/site-packages/setuptools/__init__.py", line 153, in setup
    return distutils.core.setup(**attrs)
  File "/home/guoby/app/Anaconda3-2021.05/envs/news-2/lib/python3.8/distutils/core.py", line 148, in setup
    dist.run_commands()
  File "/home/guoby/app/Anaconda3-2021.05/envs/news-2/lib/python3.8/distutils/dist.py", line 966, in run_commands
    self.run_command(cmd)
  File "/home/guoby/app/Anaconda3-2021.05/envs/news-2/lib/python3.8/distutils/dist.py", line 985, in run_command
    cmd_obj.run()
  File "/home/guoby/app/Anaconda3-2021.05/envs/news-2/lib/python3.8/site-packages/setuptools/command/install.py", line 67, in run
    self.do_egg_install()
  File "/home/guoby/app/Anaconda3-2021.05/envs/news-2/lib/python3.8/site-packages/setuptools/command/install.py", line 109, in do_egg_install
    self.run_command('bdist_egg')
  File "/home/guoby/app/Anaconda3-2021.05/envs/news-2/lib/python3.8/distutils/cmd.py", line 313, in run_command
    self.distribution.run_command(command)
  File "/home/guoby/app/Anaconda3-2021.05/envs/news-2/lib/python3.8/distutils/dist.py", line 985, in run_command
    cmd_obj.run()
  File "/home/guoby/app/Anaconda3-2021.05/envs/news-2/lib/python3.8/site-packages/setuptools/command/bdist_egg.py", line 164, in run
    cmd = self.call_command('install_lib', warn_dir=0)
  File "/home/guoby/app/Anaconda3-2021.05/envs/news-2/lib/python3.8/site-packages/setuptools/command/bdist_egg.py", line 150, in call_command
    self.run_command(cmdname)
  File "/home/guoby/app/Anaconda3-2021.05/envs/news-2/lib/python3.8/distutils/cmd.py", line 313, in run_command
    self.distribution.run_command(command)
  File "/home/guoby/app/Anaconda3-2021.05/envs/news-2/lib/python3.8/distutils/dist.py", line 985, in run_command
    cmd_obj.run()
  File "/home/guoby/app/Anaconda3-2021.05/envs/news-2/lib/python3.8/site-packages/setuptools/command/install_lib.py", line 11, in run
    self.build()
  File "/home/guoby/app/Anaconda3-2021.05/envs/news-2/lib/python3.8/distutils/command/install_lib.py", line 107, in build
    self.run_command('build_ext')
  File "/home/guoby/app/Anaconda3-2021.05/envs/news-2/lib/python3.8/distutils/cmd.py", line 313, in run_command
    self.distribution.run_command(command)
  File "/home/guoby/app/Anaconda3-2021.05/envs/news-2/lib/python3.8/distutils/dist.py", line 985, in run_command
    cmd_obj.run()
  File "/home/guoby/app/Anaconda3-2021.05/envs/news-2/lib/python3.8/site-packages/setuptools/command/build_ext.py", line 79, in run
    _build_ext.run(self)
  File "/home/guoby/app/Anaconda3-2021.05/envs/news-2/lib/python3.8/site-packages/Cython/Distutils/old_build_ext.py", line 186, in run
    _build_ext.build_ext.run(self)
  File "/home/guoby/app/Anaconda3-2021.05/envs/news-2/lib/python3.8/distutils/command/build_ext.py", line 340, in run
    self.build_extensions()
  File "/home/guoby/app/Anaconda3-2021.05/envs/news-2/lib/python3.8/site-packages/torch/utils/cpp_extension.py", line 870, in build_extensions
    build_ext.build_extensions(self)
  File "/home/guoby/app/Anaconda3-2021.05/envs/news-2/lib/python3.8/site-packages/Cython/Distutils/old_build_ext.py", line 195, in build_extensions
    _build_ext.build_ext.build_extensions(self)
  File "/home/guoby/app/Anaconda3-2021.05/envs/news-2/lib/python3.8/distutils/command/build_ext.py", line 449, in build_extensions
    self._build_extensions_serial()
  File "/home/guoby/app/Anaconda3-2021.05/envs/news-2/lib/python3.8/distutils/command/build_ext.py", line 474, in _build_extensions_serial
    self.build_extension(ext)
  File "/home/guoby/app/Anaconda3-2021.05/envs/news-2/lib/python3.8/site-packages/setuptools/command/build_ext.py", line 196, in build_extension
    _build_ext.build_extension(self, ext)
  File "/home/guoby/app/Anaconda3-2021.05/envs/news-2/lib/python3.8/distutils/command/build_ext.py", line 528, in build_extension
    objects = self.compiler.compile(sources,
  File "/home/guoby/app/Anaconda3-2021.05/envs/news-2/lib/python3.8/site-packages/torch/utils/cpp_extension.py", line 683, in unix_wrap_ninja_compile
    _write_ninja_file_and_compile_objects(
  File "/home/guoby/app/Anaconda3-2021.05/envs/news-2/lib/python3.8/site-packages/torch/utils/cpp_extension.py", line 1783, in _write_ninja_file_and_compile_objects
    _run_ninja_build(
  File "/home/guoby/app/Anaconda3-2021.05/envs/news-2/lib/python3.8/site-packages/torch/utils/cpp_extension.py", line 2123, in _run_ninja_build
    raise RuntimeError(message) from e
RuntimeError: Error compiling objects for extension


Remove pinned CSS Select version

CSSSelect is not invoked directly but instead used by PyQuery. After upgrading PyQuery in https://github.com/rtfd/readthedocs.org/pull/2916 the new version now requires a newer version of CSSSelect.
If we want to be super explicit, we should specify the version of CSSSelect right next to where we specify PyQuery rather than in a separate file. The separate file was particularly bad because a different version of CSSSelect ran in testing vs production/deploy.

I think this one can be merged.

I merged master in to fix the tests so I can merge this.


nixos/pingvin-share: init at 0.25.0

Description of changes
https://github.com/stonith404/pingvin-share
Pingvin Share is self-hosted file sharing platform and an alternative for WeTransfer.
Tested with different configurations on an headless server.
Added a package, a nixos module calling the package, a small documentation of the module and a test.
Things done

Built on platform(s)

[x] x86_64-linux
[ ] aarch64-linux
[ ] x86_64-darwin
[ ] aarch64-darwin

For non-Linux: Is sandboxing enabled in nix.conf? (See Nix manual)

[ ] sandbox = relaxed
[ ] sandbox = true

[x] Tested, as applicable:

NixOS test(s) (look inside nixos/tests)
and/or package tests
or, for functions and "core" functionality, tests in lib/tests or pkgs/test
made sure NixOS tests are linked to the relevant packages

[ ] Tested compilation of all packages that depend on this change using nix-shell -p nixpkgs-review --run "nixpkgs-review rev HEAD". Note: all changes have to be committed, also see nixpkgs-review usage
[x] Tested basic functionality of all binary files (usually in ./result/bin/)
24.05 Release Notes (or backporting 23.05 and 23.11 Release notes)

[ ] (Package updates) Added a release notes entry if the change is major or breaking
[ ] (Module updates) Added a release notes entry if the change is significant
[x] (Module addition) Added a release notes entry if adding a new NixOS module

[x] Fits CONTRIBUTING.md.

Add a :+1: reaction to pull requests you find important.

This pull request has been mentioned on NixOS Discourse. There might be relevant details there:
https://discourse.nixos.org/t/prs-ready-for-review/3032/3409

Okay I tried to fix everything, tell me if you want explanations on what I did

Thank you! I've tested the module as well now.
A noticed this in the logs:
⚠ "next start" does not work with "output: standalone" configuration. Use "node .next/standalone/server.js" instead.

I don't really have the next.js knowhow to know if this is a big deal or not. But everything seems to be working nicely, so it's probably fine. Just mentioning.
And lastly, with the default Nginx config you can easily get 413 Request Entity Too Large when uploading a larger file. This can be fixed by setting client_max_body_size in the nginx location block for /api. Do you think it's worth setting this by default and exposing it as a config option?

Thank you! I've tested the NixOS module as well now.
A noticed this in the logs:
⚠ "next start" does not work with "output: standalone" configuration. Use "node .next/standalone/server.js" instead.

I don't really have the next.js knowhow to know if this is a big deal or not. But everything seems to be working nicely, so it's probably fine. Just mentioning.
And lastly, with the default Nginx config you can easily get 413 Request Entity Too Large when uploading a larger file. This can be fixed by setting client_max_body_size in the nginx location block for /api. Do you think it's worth setting this by default and exposing it as a config option?

I mentionned it in the doc I wrote so I don't think that create a wrapper around this nginx option is a good idea as it can easily cause unclear conflicts

This pull request has been mentioned on NixOS Discourse. There might be relevant details there:
https://discourse.nixos.org/t/prs-ready-for-review/3032/3667

@RatCornu could you mark all the comments you've addressed as resolved?

This pull request has been mentioned on NixOS Discourse. There might be relevant details there:
https://discourse.nixos.org/t/prs-ready-for-review/3032/4015

The version 0.27.0 of pingvin-share has been released but it cannot compile as is: I'll wait until the version 0.27.1 (or any further version)

I updated to the newest version and moved the tests to the two subpackages

This pull request has been mentioned on NixOS Discourse. There might be relevant details there:
https://discourse.nixos.org/t/prs-ready-for-review/3032/4438


Standalone Embedding Projector does not load bookmarks

The standalone Embedding Projector does not open the Load bookmarks window for me all of a sudden. Save bookmarks and everything else still works though.
I am on Windows 7 (Enterprise) using Chrome (Google Chrome	59.0.3071.115 (Official Build) (64-bit) (cohort: Stable)).

My Chrome Version is 59.0.3071.115 (Official Build) (64-bit) which is as same as your one. It's working completely fine. I would suggest if the tensor is too big then it takes a while to load.
If it's not working fine then please provide in-depth insight including options which you have selected while saving a bookmark and loading a bookmark.

@printdhruv Thank you for your response, however, maybe I was not really clear about the problem.
The issue is that the window to select the saved bookmark does not even appear when clicking on it.
I have only 21k vectors (each with a 300 dimension), so not that big I suppose. The weird thing is that everything worked perfectly a month ago.
In terms of saving and loading, I just used default settings.

@Deepak- The following log get generated while you are trying to load bookmark!
Uncaught TypeError: Cannot read property 'select' of undefined
at HTMLElement.b._uploadFile ((index):10152)
at HTMLElement.d ((index):4668)
 at HTMLElement.fire ((index):4690)
at Object.fire ((index):4678)
at Object.forward ((index):4685)
at Object.touchend ((index):4685)
at HTMLElement.handleNative ((index):4674)

@printdhruv Yes exactly! How do I debug it?

Thanks for your help @printdhruv.  @dandelionmane have you seen this issue before?

It has been 14 days with no activity and the awaiting tensorflower label was assigned. Please update the label and/or status accordingly.

Nagging Awaiting TensorFlower: It has been 14 days with no activity and the awaiting tensorflower label was assigned. Please update the label and/or status accordingly.

Nagging Awaiting TensorFlower: It has been 14 days with no activity and the awaiting tensorflower label was assigned. Please update the label and/or status accordingly.

Nagging TensorFlower: It has been 14 days with no activity and the awaiting tensorflower label was assigned. Please update the label and/or status accordingly.

Nagging Assignee @asimshankar: It has been 14 days with no activity and this issue has an assignee. Please update the label and/or status accordingly.

Hi thanks for the bug report.
This is a tensorboard problem, and should be moved to that repo (now that it has it's own repo).
A quick search shows that this has been reported there:
tensorflow/tensorboard#911
tensorflow/tensorboard#835
So I'm closing this as duplicate.


Description field missing on Linux but present in Windows

Windows 10
Description field is present:

Linux (Ubuntu 22.04)
Description field is missing:

Description field shows up only if netlist is used as extra data file. Ibom automatically picks the latest modified file as source of extra data and on your linux machine it probably happens to be the pcb file and not netlist file.

Thanks, we found out what was happening:

In Linux, you were right, your plugin did not pick explicitly the .net file because it was a bit older than the .kicad_pcb file. After pointing to the .net file, the Description field appears.
On Windows, my colleague had generated a BOM using the KiBOM tool which also generates a .xml file from the schematics, and it appears that your plugin also picks .xml files as source of extra fields which is why the Description field was showing even though we did not explicitly export the netlist.

Mystery solved :smile: Thanks again!