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
Describe the bug
I am trying to bound a clamp operation. Since using torch.clamp directly produces an error stating that Cast is an unsupported operation, I instead tried torch.minimum(torch.maximum(x, mins), maxs) to replace clamp. This does not report any unsupported operations but yields nan bounds everywhere.
Hardware: CPU only (also verified on CUDA: GeForce GT 1030)
Have you tried to reproduce the problem in a cleanly created conda/virtualenv environment using official installation instructions and the latest code on the main branch?: Yes
The text was updated successfully, but these errors were encountered:
Describe the bug
I am trying to bound a
clamp
operation. Since usingtorch.clamp
directly produces an error stating thatCast
is an unsupported operation, I instead triedtorch.minimum(torch.maximum(x, mins), maxs)
to replaceclamp
. This does not report any unsupported operations but yieldsnan
bounds everywhere.To Reproduce
System configuration:
The text was updated successfully, but these errors were encountered: