Podman compose not working with GPU support

Hi,

I have been trying to use podman compose to pass through GPU inside container with WSL2.

podman run --rm --device nvidia.com/gpu=all --security-opt=label=disable - this command working fine for GPU pass through

However updating the same configuration in compose file which seems not working

devices:
  - nvidia.com/gpu=all
security_opt:
 - "label=disable"

Note: podman-compose command working fine with these configuration, wondering why its not working with podman compose (copied the docker-compose installer file to podman installer path)