diff --git a/lib/task-spec/include/task-spec/profiling.h b/lib/task-spec/include/task-spec/profiling.h index 567f9f6055..6ebb3f84cc 100644 --- a/lib/task-spec/include/task-spec/profiling.h +++ b/lib/task-spec/include/task-spec/profiling.h @@ -2,7 +2,6 @@ #define _FLEXFLOW_LIB_TASK_SPEC_INCLUDE_TASK_SPEC_PROFILING_H #include "kernels/profiling.h" -#include "utils/optional.h" #include namespace FlexFlow { @@ -18,7 +17,6 @@ std::optional f(get_stream_for_device_type(device_type), std::forward(ts)...); return std::nullopt; } else { - ProfilingSettings settings = assert_unwrap(profiling); milliseconds_t elapsed = profiling_wrapper( f, profiling.value(), device_type, std::forward(ts)...); spdlog::debug(s, elapsed);