Slurm 22.05.2 gpu shard is invalid gres name

I’m trying to setup gpu sharding on a test slurm node (22.05.2 slurmctld + slurmd). However, regardless of the possible configuration (1. -3.) I’m using, the sharding does not work at all as slurmd ignores sharding as an invalid gres name:

slurmd: error: Ignoring gres.conf record, invalid name: shard

Has anyone got gpu sharding up and running?

Is this related to using Nsight Visual Studio Edition or does it belong under another forum?