Is there a way to insert a custom label in the gcs table for worker nodes?

How severe does this issue affect your experience of using Ray?

  • None: Just asking a question out of curiosity
  • Low: It annoys or frustrates me for a moment.
  • Medium: It contributes to significant difficulty to complete my task, but I can work around it.
  • High: It blocks me to complete my task.
    Medium

When I call ray list nodes
I get:
======== List: 2024-01-31 13:03:37.248070 ========
Stats:

Total: 80

Table:

NODE_ID                                                   NODE_IP       IS_HEAD_NODE    STATE    NODE_NAME     RESOURCES_TOTAL                   LABELS

0 0ce65ad35614176859aacb8c0203b22a127dc1c207d1600b48b99476 10.66.48.88 False ALIVE 10.66.48.88 CPU: 1.0 ray.io/node_id: 0ce65ad35614176859aacb8c0203b22a127dc1c207d1600b48b99476
memory: 1090.667 GiB
node:10.66.48.88: 1.0
object_store_memory: 186.265 GiB
1 0ebd1eeb76c209762ae21b591194af79caf3a243b8614310fb4d0509 10.66.48.2 False DEAD 10.66.48.2 CPU: 1.0 ray.io/node_id: 0ebd1eeb76c209762ae21b591194af79caf3a243b8614310fb4d0509

and I see that the label and the node_id are redundant info. I’m running a ray cluster within a slurm cluster. I would like to associate the label with the slurm_id so that gcs contains a mapping from node_id to slurm_id. Is there a way to do this?

Thanks in advance to any reply.