Skip to content

Commit 5315f13

Browse files
node from aten IR should go to the last if/else, which had a bug so that it will not enter the condition and exec that func. tested on 2.51, should work for 2.6 as well
Signed-off-by: cliu-us <[email protected]>
1 parent b5f84d9 commit 5315f13

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

fms_mo/fx/utils.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -360,7 +360,7 @@ def get_org_mod_name_of_fx_node(
360360
org_name = v[: -len(suffix)]
361361
break
362362

363-
if org_name is None:
363+
if org_name.startswith("Unknown:"):
364364
org_name = lname_to_org_name(n_fx_org_mod_name)
365365

366366
return org_name

pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ dependencies = [
2525
"numpy>=1.26.4,<2.3.0",
2626
"accelerate>=0.20.3,!=0.34,<1.4",
2727
"transformers>=4.45,<4.49",
28-
"torch>=2.2.0,<2.5",
28+
"torch>=2.2.0,<2.6",
2929
"triton>=3.0,<3.2",
3030
"tqdm>=4.66.2,<5.0",
3131
"datasets>=3.0.0,<4.0",

0 commit comments

Comments
 (0)