-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathtune_classical.sh
More file actions
10 lines (9 loc) · 1.97 KB
/
tune_classical.sh
File metadata and controls
10 lines (9 loc) · 1.97 KB
1
2
3
4
5
6
7
8
9
10
source ~/.bashrc
job_slot_to_gpu=(-1 0)
# Classical
# KuramotoSivashinsky
env_parallel --eta -j 1 --header : CUDA_VISIBLE_DEVICES='${job_slot_to_gpu[{%}]}' python src/dafm/main.py dataset=KuramotoSivashinsky dataset.state_dimension=512 model={model} model.inflation_scale.constant={inflation} ::: model BootstrapParticleFilter EnsembleKalmanFilterPerturbedObservationsIterative ::: $(duckdb runs.sqlite -c "copy (select * from sweep_classical_inflation) to '/dev/stdout'")
env_parallel --eta -j 1 --header : CUDA_VISIBLE_DEVICES='${job_slot_to_gpu[{%}]}' python src/dafm/main.py dataset=KuramotoSivashinsky dataset.state_dimension=512 model={model} model.inflation_scale.constant={inflation} model.loc_radius_gc={localization} ::: model EnsembleKalmanFilterPerturbedObservations EnsembleRandomizedSquareRootFilter LocalEnsembleTransformKalmanFilter ::: $(duckdb runs.sqlite -c "copy (select * from sweep_classical_inflation) to '/dev/stdout'") ::: $(duckdb runs.sqlite -c "copy (select * from sweep_classical_localization) to '/dev/stdout'")
# NavierStokes
env_parallel --eta -j 1 --header : CUDA_VISIBLE_DEVICES='${job_slot_to_gpu[{%}]}' python src/dafm/main.py dataset=NavierStokesDim64 model={model} model.inflation_scale.constant={inflation} ::: model BootstrapParticleFilter EnsembleKalmanFilterPerturbedObservationsIterative ::: $(duckdb runs.sqlite -c "copy (select * from sweep_classical_inflation) to '/dev/stdout'")
env_parallel --eta -j 1 --header : CUDA_VISIBLE_DEVICES='${job_slot_to_gpu[{%}]}' python src/dafm/main.py dataset=NavierStokesDim64 model={model} model.inflation_scale.constant={inflation} model.loc_radius_gc={localization} ::: model EnsembleKalmanFilterPerturbedObservationsIterative EnsembleKalmanFilterPerturbedObservations EnsembleRandomizedSquareRootFilter LocalEnsembleTransformKalmanFilter ::: $(duckdb runs.sqlite -c "copy (select * from sweep_classical_inflation) to '/dev/stdout'") ::: $(duckdb runs.sqlite -c "copy (select * from sweep_classical_localization) to '/dev/stdout'")