gnss_federated_learning / Scripts /run_seq_gpu.sh
FelixOtt's picture
Upload folder using huggingface_hub
29d330e verified
Raw History Blame Contribute Delete
606 Bytes
#!/bin/bash
#SBATCH --nodelist=hpc-gpu-01
#SBATCH --partition=gpu-short
#SBATCH --nodes=1
#SBATCH --gres=gpu:tesla:1
#SBATCH --mem-per-gpu=6000
#SBATCH --job-name=15mmd_mse# Specify the job name
#SBATCH --output=../logs/15mse_output.log
#SBATCH --error=../logs/15mse_error.log
cd ../Pytorch_federated
# Request specific CPU node
echo "started Training"
# Extract command-line arguments
srun -p gpu -n 1 --gres=gpu:tesla:1 --mem-per-gpu=6000 ~/miniconda3/envs/final_test_env/bin/python server_pytorch.py --method FedAvgM --run_name _mmd_15 --embedding_diff True --epochs 3 --lossfunction MMD --mode True