Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 5 of 5 for _XlaInternalScope (0.21 sec)

  1. tensorflow/compiler/jit/cluster_scoping_pass.h

    #define TENSORFLOW_COMPILER_JIT_CLUSTER_SCOPING_PASS_H_
    
    #include "tensorflow/core/common_runtime/optimization_registry.h"
    
    namespace tensorflow {
    
    // This pass adds scopes to nodes in the _XlaInternalScope attribute to guide
    // the later clustering passes.  A major reason to do this is to prevent the
    // clustering from losing critical parallelism in the Tensorflow graph, which
    // can incur great performance degradation.
    //
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Aug 22 03:15:13 UTC 2019
    - 1.5K bytes
    - Viewed (0)
  2. tensorflow/compiler/jit/defs.cc

    const char* const kXlaScopeAttr = "_XlaScope";
    
    // Automatically inserted by auto_jit to guide clustering results.  Effective
    // only when auto_jit is ON.
    const char* const kXlaInternalScopeAttr = "_XlaInternalScope";
    
    const char* const kXlaClusterIdAttr = "_xla_compile_id";
    
    static std::atomic<bool> xla_devices_creation_required(false);
    
    // Request XLA:GPU and XLA:CPU device creation. Deprecated, only used by XRT
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue Dec 07 01:03:32 UTC 2021
    - 1.6K bytes
    - Viewed (0)
  3. tensorflow/compiler/jit/defs.h

    extern const char* const kXlaCompileAttr;  // "_XlaCompile"
    
    // Implies auto-clustering within the given scope.
    extern const char* const kXlaScopeAttr;    // "_XlaScope"
    extern const char* const kXlaInternalScopeAttr;  // "_XlaInternalScope"
    
    // The id of the compiled cluster.
    extern const char* const kXlaClusterIdAttr;  // "_xla_compile_id"
    
    [[deprecated("XLA:CPU/GPU devices are deprecated")]] void
    RequestXlaDevicesCreation();
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue Dec 07 01:03:32 UTC 2021
    - 1.7K bytes
    - Viewed (0)
  4. tensorflow/compiler/jit/cluster_scoping_pass.cc

      }
    
      return std::nullopt;
    }
    
    void SetXlaInternalScope(Node* node, StringPiece scope) {
      node->AddAttr(kXlaInternalScopeAttr, scope);
    }
    
    // NB! We append a new scope as suffix to the _XlaInternalScope attribute
    // instead of overriding the old value.  In other words, appending scope B to
    // scope A creates the conjunction of the scopes A and B (i.e, A & B) and,
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Feb 22 08:47:20 UTC 2024
    - 5.7K bytes
    - Viewed (0)
  5. tensorflow/compiler/jit/mark_for_compilation_pass.cc

      // Look for either _XlaScope or _XlaInternalScope on both nodes to guide
      // clustering.  If both nodes have a scope and the scopes do not match, do
      // not cluster along this edge.  If even one of the nodes lacks a scope
      // attribute, then it is treated as a "bridge" and a cluster may be created
      // along it.
      //
      // The difference between _XlaScope and _XlaInternalScope is that _XlaScope is
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed Feb 21 12:19:41 UTC 2024
    - 85.3K bytes
    - Viewed (0)
Back to top