Skip to content

ProfilingSettings takes a nonnegative_int and a positive_int - #1679

Closed
elliottslaughter wants to merge 1 commit into
flexflow:masterfrom
elliottslaughter:profiling-iter-positive
Closed

ProfilingSettings takes a nonnegative_int and a positive_int#1679
elliottslaughter wants to merge 1 commit into
flexflow:masterfrom
elliottslaughter:profiling-iter-positive

Conversation

@elliottslaughter

@elliottslaughter elliottslaughter commented Sep 4, 2026

Copy link
Copy Markdown
Collaborator

Cloning from #1657 because GitHub is weird and doesn't seem to be updating to my changes.

This currently fails with:

Panic at ../lib/kernels/src/kernels/element_binary_kernels_cpu.cc:11: void FlexFlow::Kernels::ElementBinary::cpu_forward_kernel(const float*, const float*, float*, FlexFlow::OperatorType, bool): Not implemented

Which is not going to be resolved until #1667 merges.


This change is Reviewable

lockshaw pushed a commit that referenced this pull request Sep 5, 2026
#1679)

This adds constraints on ProfilingSettings by typing the fields more
accurately to nonnegative_int and positive_int respectively. Previously
we had a lot of tests that simply weren't running due to passing zero
for both parameters.
@lockshaw

lockshaw commented Sep 5, 2026

Copy link
Copy Markdown
Collaborator

Merged in ec3769ebf98c194d8476bf460364d38db7ccdd2e.

@lockshaw lockshaw closed this Sep 5, 2026
@elliottslaughter
elliottslaughter deleted the profiling-iter-positive branch September 8, 2026 21:45
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants