-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* fixed pip install * Update Dockerfile * fixed installs * dockerfile hotfix * cache dir for pip * Update Dockerfile * pip dirs * changed tmp dir * free space action * fixed reg credentials * copy files inside the image * fixed cache dir * fixed issues * cache purge * pip update * fixed build path * fixed torch version * fixed fairseq version * dependency fix * fixed dockerfile * public registry push * small bug fixes * registry name fix * fixed ingress tls * fixed registry name * fixed env position
- Loading branch information
1 parent
416af1f
commit ce2f4fb
Showing
5 changed files
with
55 additions
and
16 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1,15 @@ | ||
bash download_models.sh && bash ./server/CMD.httpserver_start.sh | ||
export VERSION=v1_2 | ||
|
||
cd /FBK | ||
# download models if the directory doesn't contains the same version | ||
if [ ! -d "models" ]; then | ||
mkdir models | ||
fi | ||
if [ ! -d "models/FBK_data_$VERSION" ]; then | ||
wget -O models/FBK_data_$VERSION.tar.gz https://fbk.sharepoint.com/:u:/s/MTUnit/$SHAREPOINT_ID?download=1 && tar xvfz models/FBK_data_$VERSION.tar.gz && rm models/FBK_data_$VERSION.tar.gz && mv FBK_data/.cache/* /root/.cache | ||
fi | ||
echo "FBK_data_$VERSION downloaded" | ||
echo "Creating upload and out directories" | ||
mkdir /FBK/server/upload mkdir /FBK/server/out | ||
echo "Starting the server" | ||
bash /FBK/server/CMD.httpserver_start.sh |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters