flexflow / FlexFlow

FlexFlow Serve: Low-Latency, High-Performance LLM Serving
https://flexflow.readthedocs.io
Apache License 2.0
1.6k stars 219 forks source link

Implement a true `operator==` for `ParallelComputationGraph` and resolve the related hash issue #1329

Open wmdi opened 4 months ago

wmdi commented 4 months ago

We should provide a true operator== for ParallelComputationGraph, which means g1 == g2 iff they always gives the same outputs when given the same inputs. We allow the unavoidable performance issue in the comparison.

Also see https://reviewable.io/reviews/flexflow/FlexFlow/1229#-NpXFKHVCMVgHr2GOPAK