Skip to content

Commit

Permalink
Install aarch pytorch package if linux os
Browse files Browse the repository at this point in the history
  • Loading branch information
dania-tii committed Nov 16, 2023
1 parent 223ef51 commit ab85110
Showing 1 changed file with 6 additions and 3 deletions.
9 changes: 6 additions & 3 deletions modules/utils/docker/entrypoint_nats.sh
Original file line number Diff line number Diff line change
Expand Up @@ -74,9 +74,12 @@ else
/opt/S90comms_controller start

# Install python package "torch"
echo "installing packages"
chmod +x /opt/mesh_com/modules/utils/package/install_dependencies.sh
/opt/mesh_com/modules/utils/package/install_dependencies.sh
os_type=$(uname -s)
if [ "$os_type" = "Linux" ]; then
echo "installing packages"
chmod +x /opt/mesh_com/modules/utils/package/install_dependencies.sh
/opt/mesh_com/modules/utils/package/install_dependencies.sh
fi

# alive
nohup /bin/bash -c "while true; do sleep infinity; done"
Expand Down

0 comments on commit ab85110

Please sign in to comment.