If you need a GPU with *at least* 32 GB, but also would be happy with more, you just can tolerate any amount. Then,
make the pod require the node label "gpumem" to be larger than 31.
Note: typically, you should *not* do this and reserve a GPU which has just enough memory. However, if e.g. all 32 GB GPUs are busy already, you can move up to a 40 GB GPU.
Example: