Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
33 commits
Select commit Hold shift + click to select a range
ea77602
support checking model redundancy
lixinqi Jul 31, 2025
c3b3ea9
Merge branch 'develop' of github.com:PaddlePaddle/GraphNet into develop
lixinqi Jul 31, 2025
c21cb49
revert change of vision_model_test
lixinqi Jul 31, 2025
ca9017f
reformat python code.
lixinqi Jul 31, 2025
52cc34d
reformat bert_model_test.py and utils.py
lixinqi Jul 31, 2025
d8c6213
minor fix
lixinqi Jul 31, 2025
6bd1370
fix failed check by comparing directories after os.path.realpath()
lixinqi Aug 4, 2025
5db0b63
merge paddle repo develop
lixinqi Aug 4, 2025
165ae4b
fix bugs in check_validate.sh
lixinqi Aug 4, 2025
6059328
Merge branch 'develop' of github.com:PaddlePaddle/GraphNet into develop
lixinqi Aug 4, 2025
d2d9e0b
Merge branch 'develop' of github.com:PaddlePaddle/GraphNet into develop
lixinqi Aug 5, 2025
2cfa175
Merge branch 'develop' of github.com:PaddlePaddle/GraphNet into develop
lixinqi Aug 5, 2025
3a75ddd
set dynamic=False in single_device_runner.py
lixinqi Aug 5, 2025
b394760
Merge branch 'develop' of github.com:PaddlePaddle/GraphNet into develop
lixinqi Aug 6, 2025
868b686
reset graph hash
lixinqi Aug 6, 2025
4c473cf
Merge branch 'develop' of github.com:PaddlePaddle/GraphNet into develop
lixinqi Aug 6, 2025
5530841
Merge branch 'develop' of github.com:PaddlePaddle/GraphNet into develop
lixinqi Aug 6, 2025
0caf96a
Merge branch 'develop' of github.com:PaddlePaddle/GraphNet into develop
lixinqi Aug 6, 2025
718cd39
Merge branch 'develop' of github.com:PaddlePaddle/GraphNet into develop
lixinqi Aug 6, 2025
d46c810
Merge branch 'develop' of github.com:PaddlePaddle/GraphNet into develop
lixinqi Aug 7, 2025
985d3cc
Merge branch 'develop' of github.com:PaddlePaddle/GraphNet into develop
lixinqi Aug 7, 2025
782858e
Merge branch 'develop' of github.com:PaddlePaddle/GraphNet into develop
lixinqi Aug 11, 2025
a7acb51
Merge branch 'develop' of github.com:PaddlePaddle/GraphNet into develop
lixinqi Aug 14, 2025
b49edb4
Merge branch 'develop' of github.com:PaddlePaddle/GraphNet into develop
lixinqi Aug 15, 2025
6be9482
Merge branch 'develop' of github.com:PaddlePaddle/GraphNet into develop
lixinqi Aug 30, 2025
7b950b9
Merge branch 'develop' of github.com:PaddlePaddle/GraphNet into develop
lixinqi Sep 6, 2025
956fb0d
Merge branch 'develop' of github.com:PaddlePaddle/GraphNet into develop
lixinqi Sep 15, 2025
41fb776
Merge branch 'develop' of github.com:PaddlePaddle/GraphNet into develop
lixinqi Nov 6, 2025
99bbefe
Merge branch 'develop' of github.com:PaddlePaddle/GraphNet into develop
lixinqi Nov 7, 2025
16264a7
Merge branch 'develop' of github.com:PaddlePaddle/GraphNet into develop
lixinqi Nov 8, 2025
528d46c
Merge branch 'develop' of github.com:PaddlePaddle/GraphNet into develop
lixinqi Nov 10, 2025
72f1fda
Merge branch 'develop' of github.com:PaddlePaddle/GraphNet into develop
lixinqi Nov 10, 2025
f31fc3b
add task-anchor comments
lixinqi Nov 10, 2025
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
20 changes: 20 additions & 0 deletions graph_net/torch/backend/unstable_to_stable_backend.py
Original file line number Diff line number Diff line change
Expand Up @@ -147,6 +147,26 @@ def _impl_unstable_to_stable_special_logit(self, gm):

return gm

# replace this line with modification code for task 116 (torch._C._linalg.linalg_vector_norm)

# replace this line with modification code for task 117 (torch._C._linalg.linalg_norm)

# replace this line with modification code for task 118 (torch._C._nn.softplus)

# replace this line with modification code for task 119 (torch._C._nn.one_hot)

# replace this line with modification code for task 121 (torch._C._set_grad_enabled)

# replace this line with modification code for task 122 (torch._C._log_api_usage_once)

# replace this line with modification code for task 123 (torch._C._nn.pad)

# replace this line with modification code for task 125 (torch._C._nn.gelu)

# replace this line with modification code for task 126 (torch._C._nn.scaled_dot_product_attention)

# replace this line with modification code for task 127 (torch._C._nn.linear)

def unstable_to_stable(self, gm):
methods = (
name
Expand Down
11 changes: 10 additions & 1 deletion graph_net/torch/fx_graph_serialize_util.py
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,16 @@ def serialize_graph_module_to_str(gm: torch.fx.GraphModule) -> str:
(r"torch\._C\._fft\.fft_rfft\(", "torch.fft.rfft("),
(r"torch\._C\._fft\.fft_fftn\(", "torch.fft.fftn("),
(r"torch\._C\._special\.special_logit\(", "torch.special.logit("),
# Add new rules to this list as needed
# replace this line with modification code for task 116 (torch._C._linalg.linalg_vector_norm)
# replace this line with modification code for task 117 (torch._C._linalg.linalg_norm)
# replace this line with modification code for task 118 (torch._C._nn.softplus)
# replace this line with modification code for task 119 (torch._C._nn.one_hot)
# replace this line with modification code for task 121 (torch._C._set_grad_enabled)
# replace this line with modification code for task 122 (torch._C._log_api_usage_once)
# replace this line with modification code for task 123 (torch._C._nn.pad)
# replace this line with modification code for task 125 (torch._C._nn.gelu)
# replace this line with modification code for task 126 (torch._C._nn.scaled_dot_product_attention)
# replace this line with modification code for task 127 (torch._C._nn.linear)
]
for pattern, repl in replacements:
code = re.sub(pattern, repl, code)
Expand Down