You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
"Can't safely infer the device type of `fn` with multiple device types in `fn_args` and `fn_kwargs`!"
155
-
)
156
-
157
135
ifinferred_deviceisNone:
158
136
raiseValueError(
159
-
"Can't safely infer the device type of `fn` with no device types"
160
-
" in `fn_args` or `fn_kwargs` and `device` not explicitly provided!"
161
-
" You should be calling `.benchmark_cpu` or `.benchmark_gpu` directly."
137
+
"Can't safely infer the device type of `fn` with no device types in `fn_args` or `fn_kwargs`! You should be calling `.benchmark_cpu` or `.benchmark_gpu` directly."# noqa: B950
162
138
)
163
-
164
-
fn_args=fn_argsortuple()
165
-
fn_kwargs=fn_kwargsor {}
166
-
167
-
# No need to wrap if the callable takes no arguments
0 commit comments