Spaces:
Running
Running
github-actions[bot]
commited on
Commit
·
1f2cf0b
1
Parent(s):
b69388d
Auto-sync from demo at Tue Sep 30 09:26:48 UTC 2025
Browse files- graphgen/generate.py +1 -1
graphgen/generate.py
CHANGED
|
@@ -83,7 +83,7 @@ def main():
|
|
| 83 |
)
|
| 84 |
assert (
|
| 85 |
config["partition"]["method"] == "ece"
|
| 86 |
-
and "
|
| 87 |
), "Only ECE partition with edge sampling is supported."
|
| 88 |
config["partition"]["method_params"]["edge_sampling"] = "random"
|
| 89 |
elif mode == "cot":
|
|
|
|
| 83 |
)
|
| 84 |
assert (
|
| 85 |
config["partition"]["method"] == "ece"
|
| 86 |
+
and "method_params" in config["partition"]
|
| 87 |
), "Only ECE partition with edge sampling is supported."
|
| 88 |
config["partition"]["method_params"]["edge_sampling"] = "random"
|
| 89 |
elif mode == "cot":
|