Update the default std flag used during torch extensions compilation (#19516)

This commit is contained in:
Baiju Meswani 2024-02-14 12:49:34 -08:00 committed by GitHub
parent 3b03b2e046
commit 944d8f8513
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -23,7 +23,7 @@ header_filenames = [
cur_file_dir,
]
extra_compile_args = {"cxx": ["-O3"]}
extra_compile_args = {"cxx": ["-O3", "-std=c++17"]}
setup(
name="torch_interop_utils",
ext_modules=[