Makefile 751 Bytes
Newer Older
Olivier Dehaene's avatar
v0.1.0  
Olivier Dehaene committed
1
install-server:
Nicolas Patry's avatar
Nicolas Patry committed
2
	cd server && make install
Olivier Dehaene's avatar
v0.1.0  
Olivier Dehaene committed
3
4
5
6
7
8
9

install-router:
	cd router && cargo install --path .

install-launcher:
	cd launcher && cargo install --path .

Nicolas Patry's avatar
Nicolas Patry committed
10
11
12
13
14
15
16
install: install-server install-router install-launcher

server-dev:
	cd server && make run-dev

router-dev:
	cd router && cargo run
Olivier Dehaene's avatar
v0.1.0  
Olivier Dehaene committed
17
18

run-bloom-560m:
Nicolas Patry's avatar
Nicolas Patry committed
19
	text-generation-launcher --model-name bigscience/bloom-560m --num-shard 2
Olivier Dehaene's avatar
v0.1.0  
Olivier Dehaene committed
20

21
22
23
24
run-bloom-560m-quantize:
	text-generation-launcher --model-name bigscience/bloom-560m --num-shard 2 --quantize

download-bloom:
25
	text-generation-server download-weights bigscience/bloom
26

Olivier Dehaene's avatar
v0.1.0  
Olivier Dehaene committed
27
run-bloom:
Nicolas Patry's avatar
Nicolas Patry committed
28
	text-generation-launcher --model-name bigscience/bloom --num-shard 8
29
30
31

run-bloom-quantize:
	text-generation-launcher --model-name bigscience/bloom --num-shard 8 --quantize