We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 91f91f7 commit 3a8c686Copy full SHA for 3a8c686
src/infinicore/graph/graph.cc
@@ -80,6 +80,12 @@ void Graph::instantiate() {
80
// Reset device graph
81
device_graph_ = std::make_unique<DeviceGraph>();
82
83
+ // warmup
84
+ for (size_t iter = 0; iter < 5; ++iter) {
85
+ this->run();
86
+ }
87
+ infinicore::context::syncStream();
88
+
89
if (infinirtStreamBeginCapture(
90
context::getStream(),
91
INFINIRT_STREAM_CAPTURE_MODE_GLOBAL)
0 commit comments