Skip to content

Commit 80a8e4a

Browse files
authored
- Fix to work around an issue in auto selection logic which requires the strides of tensors to be present (#168)
1 parent 1a7b4b7 commit 80a8e4a

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

include/cudnn_frontend/graph_interface.h

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -279,9 +279,11 @@ class Graph : public ICudnn, public INode {
279279
}
280280

281281
if (attributes.implementation == AttentionImplementation_t::AUTO) {
282+
// Temporary WAR to not choose UNIFIED for now.
283+
attributes.implementation = AttentionImplementation_t::COMPOSITE;
282284
// Sets attributes.implementation to a supporting implementation,
283285
// or leaves as AUTO if none found
284-
attributes._auto_select_implementation(context);
286+
// attributes._auto_select_implementation(context);
285287
}
286288

287289
switch (attributes.implementation) {

0 commit comments

Comments
 (0)