we are having issues with assigning CPUs to a worker. We have 96 CPUs and 8 GPUs, and we want to assign 24 CPUs and 4 GPUs to one worker. We found the following error:
cryosparcw connect --master u035809.lgp.ehu.es -n -worker bremlive-worker --port 39000 --ssdpath /home/cryosparcuser/scratch/cryosparc_cache --newlane --lane bremlive --cpus 0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24 --gpus 0,1,2,3
usage: connect.py [-h] [–worker WORKER] [–master MASTER] [–port PORT]
[–sshstr SSHSTR] [–update] [–nogpu] [–gpus GPUS]
[–nossd] [–ssdpath SSDPATH] [–ssdquota SSDQUOTA]
[–ssdreserve SSDRESERVE] [–lane LANE] [–newlane]
[–rams RAMS] [–cpus CPUS] [–monitor_port MONITOR_PORT]
connect.py: error: argument --cpus: invalid int value: ‘0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24’
Without the CPU part, everything works well. We can create a worker with 4 GPUs, but we cannot modify the CPUs or the RAM. Are we doing something wrong?
Thanks for your help!