--- ./c10/core/DispatchKeySet.h_orig	2025-01-13 03:27:24.558006960 -0600
+++ ./c10/core/DispatchKeySet.h	2025-01-13 02:35:07.154614242 -0600
@@ -166,7 +166,7 @@
  public:
   enum Full { FULL };
   enum FullAfter { FULL_AFTER };
-  enum Raw { RAW };
+  enum Raw { RAWDATA };
 
   // NB: default constructor representation as zero is MANDATORY as
   // use of DispatchKeySet in TLS requires this.
@@ -716,7 +716,7 @@
     // Including the backend bits because this keyset is used during op
     // registration, which requires looping over all runtime autogradother
     // backend keys.
-    | DispatchKeySet(DispatchKeySet::RAW, full_backend_mask);
+    | DispatchKeySet(DispatchKeySet::RAWDATA, full_backend_mask);
 
 // The set of dispatch keys that come after autograd
 // n.b. this relies on the fact that AutogradOther is currently the lowest
@@ -747,7 +747,7 @@
             c10::DispatchKey::ADInplaceOrView);
 
 constexpr DispatchKeySet backend_bitset_mask =
-    DispatchKeySet(DispatchKeySet::RAW, (1ULL << num_backends) - 1);
+    DispatchKeySet(DispatchKeySet::RAWDATA, (1ULL << num_backends) - 1);
 
 constexpr auto inplace_or_view_ks =
     DispatchKeySet(DispatchKey::ADInplaceOrView);
@@ -791,7 +791,7 @@
         DispatchKey::Sparse,
         DispatchKey::SparseCsr,
     }) |
-    DispatchKeySet(DispatchKeySet::RAW, full_backend_mask);
+    DispatchKeySet(DispatchKeySet::RAWDATA, full_backend_mask);
 
 struct OpTableOffsetAndMask {
   uint16_t offset;
