Skip to content

Commit e1cfcd3

Browse files
[pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
1 parent 863ec6f commit e1cfcd3

2 files changed

Lines changed: 3 additions & 3 deletions

File tree

‎transformer_engine/pytorch/attention/dot_product_attention/context_parallel.py‎

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -75,6 +75,7 @@ def _get_cp_p2p_transport_group(cp_group):
7575
_cp_p2p_transport_groups.pop(cp_group, None)
7676
return cp_group, False
7777

78+
7879
# Float8CurrentScaling: fused_attn_bwd takes O in FP8 by default, this flag allows it in F16
7980
_dpa_fp8_cs_o_in_f16 = os.getenv("NVTE_DPA_FP8CS_O_in_F16", "1") == "1"
8081

‎transformer_engine/pytorch/csrc/extensions/pybind.cpp‎

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -6,15 +6,14 @@
66

77
#include "pybind.h"
88

9+
#include <c10/core/Allocator.h>
10+
#include <c10/core/StorageImpl.h>
911
#include <pybind11/cast.h>
1012
#include <pybind11/detail/common.h>
1113
#include <pybind11/functional.h>
1214
#include <pybind11/pybind11.h>
1315
#include <pybind11/stl.h>
1416

15-
#include <c10/core/Allocator.h>
16-
#include <c10/core/StorageImpl.h>
17-
1817
#include <memory>
1918
#include <optional>
2019
#include <vector>

0 commit comments

Comments
 (0)