Skip to content

Commit 1961ce6

Browse files
committed
linter
1 parent 1f8c352 commit 1961ce6

File tree

3 files changed

+5
-4
lines changed

3 files changed

+5
-4
lines changed

torch_xla/csrc/aten_xla_type.cpp

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2316,9 +2316,10 @@ std::tuple<at::Tensor, at::Tensor> XLANativeFunctions::nll_loss_forward(
23162316
at::Tensor XLANativeFunctions::nonzero(const at::Tensor& self) {
23172317
XLA_FN_COUNTER("xla::");
23182318
XLATensor self_tensor = bridge::GetXlaTensor(self);
2319-
/*
2319+
/*
23202320
* REMOVE THIS SECTION TO ENABLE CREATING DYNAMIC SHAPES FOR POC
2321-
* TODO: REMOVE THIS SECTION AFTER POC SUCCEEDS: https://github.com/pytorch/xla/pull/3558
2321+
* TODO: REMOVE THIS SECTION AFTER POC SUCCEEDS:
2322+
* https://github.com/pytorch/xla/pull/3558
23222323
*
23232324
* // Initially make XLA handled nonzero() handling experimental, and opt-in.
23242325
* if (!DebugUtil::ExperimentEnabled("nonzero")) {

torch_xla/csrc/tensor.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,9 +21,9 @@
2121
#include "torch_xla/csrc/ir.h"
2222
#include "torch_xla/csrc/ir_util.h"
2323
#include "torch_xla/csrc/lowering_context.h"
24-
#include "torch_xla/csrc/xla_sharding_util.h"
2524
#include "torch_xla/csrc/ops/dynamic_ir.h"
2625
#include "torch_xla/csrc/view.h"
26+
#include "torch_xla/csrc/xla_sharding_util.h"
2727

2828
namespace torch_xla {
2929

torch_xla/csrc/torch_util.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,10 +5,10 @@
55
#include <c10/util/Optional.h>
66

77
#include "tensorflow/compiler/xla/shape.h"
8+
#include "torch/csrc/lazy/core/dynamic_ir.h"
89
#include "torch/csrc/lazy/core/hash.h"
910
#include "torch/csrc/lazy/core/tensor.h"
1011
#include "torch/csrc/lazy/core/util.h"
11-
#include "torch/csrc/lazy/core/dynamic_ir.h"
1212

1313
namespace torch_xla {
1414

0 commit comments

Comments
 (0)