clusterscope
clusterscope copied to clipboard
Clusterscope is a CLI and python library to extract information from HPC Clusters and Jobs.
### 🐛 Describe the bug [fairseq2](https://github.com/facebookresearch/fairseq2) is relying on clusterscope to [setup the distributed environment variables when running on Slurm](https://github.com/facebookresearch/clusterscope/blob/main/clusterscope/job_info.py#L134-L144). This is nice, however, setting CUDA_VISIBLE_DEVICES to SLURM_LOCALID sometimes interferes...
### 🐛 Describe the bug Requesting 1 GPU without any CPU cores is a non-viable option combination. I think we should explicitly disallow this. It maybe possible to run GPU...
### A clear and concise description of what you want to happen. get tmp dir function. Here we would be able to give a tmp dir in the compute node...
### A clear and concise description of what you want to happen. show clusterscope version on the cli: `cscope --version` ### A clear and concise description of any alternative solutions...
### A clear and concise description of what you want to happen. Get optimal slurm resource request parameters given number of GPUs. I think we might keep it simple with...
If a user created the file `/tmp/clusterscopewhoami` and another user is trying to access the file, clusterscope gives a permission denied user. Ideally we should support the correct world readable/writable...
### A clear and concise description of what you want to happen. This method implicitly assumes that clients are only interested in GPU-memory. Let's add support for both CPU and...
### A clear and concise description of what you want to happen. Some of the AI clusters may only have CPUs to accommodate non-GPU computing needs. ClusterScope needs to support...
see failure in https://github.com/facebookresearch/fairchem/actions/runs/17438585091/job/49515138228#step:8:529
``` $ cscope aws Traceback (most recent call last): File "/storage/home/luccab/clusterscope/.venv/bin/cscope", line 10, in sys.exit(main()) File "/storage/home/luccab/clusterscope/clusterscope/cli.py", line 128, in main is_aws = unified_info.is_aws_cluster() AttributeError: 'UnifiedInfo' object has no attribute...