[Hardware][Power] Unqualized MoE Backend for Power (VSX) (#51624)

Signed-off-by: Akash kaothalkar <akash.kaothalkar@ibm.com>
Co-authored-by: Akash kaothalkar <akash.kaothalkar@ibm.com>
Co-authored-by: Antigravity <antigravity@google.com>
This commit is contained in:
Akash kaothalkar
2026-08-13 10:56:09 +08:00
committed by GitHub
co-authored by Akash kaothalkar Antigravity
parent 8eb35c5217
commit 61826c1c6f
6 changed files with 500 additions and 6 deletions
+3 -1
View File
@@ -9,7 +9,7 @@
#include "cpu/cpu_types.hpp"
namespace cpu_utils {
enum class ISA { AMX, VEC, RVV, NEON };
enum class ISA { AMX, VEC, RVV, NEON, VSX };
inline ISA get_isa(const std::string& isa) {
if (isa == "amx") {
@@ -20,6 +20,8 @@ inline ISA get_isa(const std::string& isa) {
return ISA::RVV;
} else if (isa == "neon") {
return ISA::NEON;
} else if (isa == "vsx") {
return ISA::VSX;
} else {
TORCH_CHECK(false, "Invalid isa type: " + isa);
}