Datasets:
Upload folder using huggingface_hub
Browse files- code/build.py +1 -1
- code/test_build.py +1 -0
code/build.py
CHANGED
|
@@ -310,7 +310,7 @@ FAMILIES = {
|
|
| 310 |
}
|
| 311 |
HW_RE = re.compile(
|
| 312 |
r"\b(H(?:20|100|200|800)|GB?[23]00|B[23]00|A100|A10G?|L40S?|L4|RTX ?\d{4}|MI3\d{2}X?|gfx\d{3,4}|sm_?\d{2,3}a?"
|
| 313 |
-
r"|hopper|blackwell|ampere|ada|xpu|cpu|tpu|gaudi)\b", re.I)
|
| 314 |
SPEEDUP_RE = re.compile(r"\b\d+(?:\.\d+)?\s?[x×](?![\w\d])")
|
| 315 |
|
| 316 |
|
|
|
|
| 310 |
}
|
| 311 |
HW_RE = re.compile(
|
| 312 |
r"\b(H(?:20|100|200|800)|GB?[23]00|B[23]00|A100|A10G?|L40S?|L4|RTX ?\d{4}|MI3\d{2}X?|gfx\d{3,4}|sm_?\d{2,3}a?"
|
| 313 |
+
r"|hopper|blackwell|ampere|ada|rocm|xpu|npu|cpu|tpu|gaudi)\b", re.I)
|
| 314 |
SPEEDUP_RE = re.compile(r"\b\d+(?:\.\d+)?\s?[x×](?![\w\d])")
|
| 315 |
|
| 316 |
|
code/test_build.py
CHANGED
|
@@ -58,4 +58,5 @@ assert patch_reward(ok, before, after) == 1.0
|
|
| 58 |
assert patch_reward(ok.replace("slow", "missing"), before, after) == -1.0 # SEARCH not in file
|
| 59 |
assert patch_reward("just rewrite it", before, after) == -1.0
|
| 60 |
assert 0 <= patch_reward(ok.replace("fast(x)", "faster(y)"), before, after) < 1
|
|
|
|
| 61 |
print("ok")
|
|
|
|
| 58 |
assert patch_reward(ok.replace("slow", "missing"), before, after) == -1.0 # SEARCH not in file
|
| 59 |
assert patch_reward("just rewrite it", before, after) == -1.0
|
| 60 |
assert 0 <= patch_reward(ok.replace("fast(x)", "faster(y)"), before, after) < 1
|
| 61 |
+
assert tags("[ROCm][Perf] paged MXFP4 indexer (#60834)")[1] == ["ROCM"]
|
| 62 |
print("ok")
|