fix(build): std::optional -> c10::optional in ALL ilu/ files including ixformer.h

This commit is contained in:
claude
2026-08-11 07:40:42 +00:00
parent f944ef912b
commit c31a749143
11 changed files with 77 additions and 77 deletions

View File

@@ -55,8 +55,8 @@ class FusedMoEImpl : public torch::nn::Module {
torch::Tensor reduce_weight;
torch::Tensor combine_idx;
torch::Tensor token_count_slice;
std::optional<torch::Tensor> cusum_token_count;
std::optional<torch::Tensor> input_scale;
c10::optional<torch::Tensor> cusum_token_count;
c10::optional<torch::Tensor> input_scale;
};
// initial steps for MoE computation, select the experts for each token