Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 4 of 4 for last_tile_dims (0.16 sec)

  1. tensorflow/compiler/mlir/tensorflow/utils/xla_sharding_util.h

        const tpu::TPUCompileMetadataProto& metadata);
    
    // Gets the proper tensor dimension from XLA OpSharding.
    // "replicate_on_last_tile_dim" and "last_tile_dims" should be deducted from the
    // real Tensor dimensions when tiled.
    // For example:
    // f32[8,512](sharding={devices=[1,1,2]0,1 last_tile_dims={REPLICATED})
    // also means a replicated tensor over all devices.
    //
    // See xla_data.proto for detailed explanations on the fields.
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Mar 28 22:18:34 UTC 2024
    - 6K bytes
    - Viewed (0)
  2. tensorflow/compiler/mlir/tensorflow/tests/tpu_sharding_identification.mlir

    }
    
    // -----
    
    // Tests TPIv2 with a "subgroup tiled" XLA annotation where:
    //   type: OTHER
    //   tile_assignment_dimensions: [4, 1, 1, 1, 2]
    //   tile_assignment_devices: [0, 1, 2, 3, 4, 5, 6, 7]
    //   last_tile_dims: [REPLICATED]
    // Serialized string:
    //   "\08\03\1A\05\04\01\01\01\02\22\08\00\01\02\03\04\05\06\07B\01\00"
    
    // CHECK-LABEL: func @subgroup_tile_partitioned_variable
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue Feb 20 19:07:52 UTC 2024
    - 47.5K bytes
    - Viewed (0)
  3. tensorflow/compiler/mlir/tensorflow/utils/xla_sharding_util.cc

          return false;
        }
      }
      return xla_sharding.type() == xla::OpSharding::OTHER &&
             (xla_sharding.replicate_on_last_tile_dim() ||
              !xla_sharding.last_tile_dims().empty());
    }
    
    bool IsSplitSharding(const xla::OpSharding& sharding) {
      return sharding.type() == xla::OpSharding::OTHER &&
             !IsOtherReplicatedSharding(sharding);
    }
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed May 22 21:28:13 UTC 2024
    - 34K bytes
    - Viewed (0)
  4. tensorflow/compiler/mlir/tensorflow/tests/tpu_rewrite.mlir

    //   tile_assignment_dimensions: 1
    //   tile_assignment_dimensions: 1
    //   tile_assignment_devices: 0
    //   last_tile_dims: REPLICATED
    // Serialized string:
    //   "\08\03\1A\06\01\01\01\01\01\01\22\01\00B\01\00"
    
    // Test that an input sharding with last_tile_dims REPLICATED won't generate SplitOp.
    //CHECK-NOT: tf.Split
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu May 02 22:03:30 UTC 2024
    - 172.9K bytes
    - Viewed (0)
Back to top