Skip to content

Commit

Permalink
Fixes cpu flag update for stateless llama from iree bump (#226)
Browse files Browse the repository at this point in the history
  • Loading branch information
IanNod authored Dec 7, 2023
1 parent 247396c commit 1981cd6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion python/turbine_models/custom_models/stateless_llama.py
Original file line number Diff line number Diff line change
Expand Up @@ -237,7 +237,7 @@ def forward(token0: torch.Tensor, *state0_flat):
"--iree-opt-const-expr-hoisting=False",
]
if device == "cpu":
flags.append("--iree-llvmcpu-enable-microkernels")
flags.append("--iree-llvmcpu-enable-ukernels=all")
device = "llvm-cpu"
elif device == "vulkan":
flags.extend(
Expand Down

0 comments on commit 1981cd6

Please sign in to comment.