Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
M
mt-model-deploy-dhruva
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Service Desk
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Operations
Operations
Environments
Packages & Registries
Packages & Registries
Package Registry
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
ssmt
mt-model-deploy-dhruva
Commits
470398da
Commit
470398da
authored
Aug 01, 2023
by
Nikhilesh Bhatnagar
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix build errors on azure
parent
a80be722
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
5 additions
and
4 deletions
+5
-4
README.md
README.md
+3
-3
make_triton_model_repo.sh
make_triton_model_repo.sh
+2
-1
No files found.
README.md
View file @
470398da
...
...
@@ -5,11 +5,11 @@
## TL;DR
This repo contains code for python backend CTranslate2 based triton models for the SSMT project.
Prerequisites:
`python3.xx-venv`
,
`nvidia-docker`
Prerequisites:
`python3.xx-venv`
,
`nvidia-docker`
,
`bash`
```
bash
git clone https://ssmt.iiit.ac.in/meitygit/ssmt/mt-model-deploy-dhruva.git
cd
mt-model-deploy-dhruva
sh make_triton_model_repo.sh
"https://ssmt.iiit.ac.in/uploads/data_mining/models.zip"
"float16"
ba
sh make_triton_model_repo.sh
"https://ssmt.iiit.ac.in/uploads/data_mining/models.zip"
"float16"
docker build
-t
dhruva/ssmt-model-server:1
.
nvidia-docker run
--gpus
=
all
--rm
--shm-size
5g
--network
=
host
--name
dhruva-ssmt-triton-server
-v
./ssmt_triton_repo:/models dhruva/ssmt-model-server:1
```
...
...
@@ -37,7 +37,7 @@ One can construct the triton repo like so:
```
bash
git clone https://ssmt.iiit.ac.in/meitygit/ssmt/mt-model-deploy-dhruva.git
cd
mt-model-deploy-dhruva
sh make_triton_model_repo.sh
"https://ssmt.iiit.ac.in/uploads/data_mining/models.zip"
"float16"
ba
sh make_triton_model_repo.sh
"https://ssmt.iiit.ac.in/uploads/data_mining/models.zip"
"float16"
```
## Starting the triton server
...
...
make_triton_model_repo.sh
View file @
470398da
#!/bin/bash
MODELS_URL
=
$1
QUANTIZATION
=
$2
wget
-O
models.zip
$MODELS_URL
--no-check-certificate
...
...
@@ -46,7 +47,7 @@ cp -r ../triton_models/ssmt_template_model_repo ssmt_9_ct2
cp
-r
../models/9_ct2 ssmt_9_ct2/1/translator
sed
-i
's/model_name/ssmt_9_ct2/'
ssmt_9_ct2/config.pbtxt
cd
..
source
de
activate
source
./ssmt_ct2/bin/
activate
rm
-rf
ssmt_ct2
rm
-f
models.zip
rm
-rf
models
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment