Using slurm and ray

hey asking in curiosity, I am having a cluster created using kuberay. can I train a model with slurm in it