Skip to content

Commit

Permalink
home once only
Browse files Browse the repository at this point in the history
  • Loading branch information
hugolatendresse committed Nov 30, 2024
1 parent 670b8cb commit 812deb0
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
4 changes: 4 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -196,3 +196,7 @@ tests/inference/python_test_configs/*.json

core.*
fine_grained_alignment_config.json

# CLion
.idea/
cmake-build-debug
2 changes: 1 addition & 1 deletion docker/run-persistent.sh
Original file line number Diff line number Diff line change
Expand Up @@ -129,6 +129,6 @@ if [ -f "$ssh_key_path" ] && [ -f "$ssh_key_path.pub" ]; then
ssh_key_volume="-v $ssh_key_path:/root/.ssh/id_rsa -v $ssh_key_path.pub:/root/.ssh/id_rsa.pub"
fi

docker_command="docker run -v my-volume:/home -it $gpu_arg --shm-size=${SHM_SIZE} --cap-add=SYS_PTRACE ${ssh_key_volume} ${cache_volume} ${home_volume} ${port_forward_arg} ${image}-${FF_GPU_BACKEND}${gpu_backend_version}:latest"
docker_command="docker run -it $gpu_arg --shm-size=${SHM_SIZE} --cap-add=SYS_PTRACE ${ssh_key_volume} ${cache_volume} ${home_volume} ${port_forward_arg} ${image}-${FF_GPU_BACKEND}${gpu_backend_version}:latest"
echo "$docker_command"
eval "$docker_command"

0 comments on commit 812deb0

Please sign in to comment.