Skip to content

Commit 4049235

Browse files
authored
Arm backend: Fix bug in compile spec for VGF (#13059)
Small bug in VGF check Signed-off-by: Elena Zhelezina <[email protected]>
1 parent e55bf54 commit 4049235

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

backends/arm/arm_backend.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,7 @@ def vgf_compile_spec(
5757
f"Invalid TOSA version: {tosa_version}"
5858
)
5959

60-
if not ("FP" or "INT" in tosa_profiles):
60+
if "FP" not in tosa_profiles and "INT" not in tosa_profiles:
6161
raise ValueError(
6262
"Arm backend only supports converter-backend for FP or INT. "
6363
f"Invalid TOSA profile: {tosa_profiles}"

0 commit comments

Comments
 (0)