Skip to content

Commit

Permalink
rhode_island add experiment for rhode island dataset
Browse files Browse the repository at this point in the history
  • Loading branch information
cgerum committed Nov 17, 2023
1 parent 371645b commit 2a702e0
Show file tree
Hide file tree
Showing 2 changed files with 30 additions and 1 deletion.
26 changes: 26 additions & 0 deletions experiments/rhode_island/hydra/launcher/ml_cloud_1gpu.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
##
## Copyright (c) 2022 University of Tübingen.
##
## This file is part of hannah.
## See https://atreus.informatik.uni-tuebingen.de/ties/ai/hannah/hannah for further info.
##
## Licensed under the Apache License, Version 2.0 (the "License");
## you may not use this file except in compliance with the License.
## You may obtain a copy of the License at
##
## http://www.apache.org/licenses/LICENSE-2.0
##
## Unless required by applicable law or agreed to in writing, software
## distributed under the License is distributed on an "AS IS" BASIS,
## WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
## See the License for the specific language governing permissions and
## limitations under the License.
##
defaults:
- submitit_slurm
- _self_

timeout_min: 3600
gpus_per_task: 1
cpus_per_gpu: 4
partition: gpu-2080ti
5 changes: 4 additions & 1 deletion scripts/ml_cloud_ci.sh
Original file line number Diff line number Diff line change
Expand Up @@ -23,8 +23,11 @@ cd $WORK/hannah-ci
git fetch

if [[ -z "${CI_COMMIT_SHA}" ]]; then
git checkout main
git pull

export CI_COMMIT_SHA=`git rev-parse HEAD`
echo "CI_COMMIT_SHA is not defined, use current commit (${CI_COMMIT_SHA})"
echo "CI_COMMIT_SHA is not defined, use current head on main branch commit (${CI_COMMIT_SHA})"
else
git checkout $CI_COMMIT_SHA
fi
Expand Down

0 comments on commit 2a702e0

Please sign in to comment.