forked from catalyst-team/catalyst
-
Notifications
You must be signed in to change notification settings - Fork 1
/
Makefile
38 lines (31 loc) · 1.18 KB
/
Makefile
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
.PHONY: check-docs docker docker-fp16 docker-dev docker-dev-fp16 install-from-source clean
check-docs:
bash ./bin/tests/check_docs.sh
docker: ./requirements/
echo building $${REPO_NAME:-catalyst-base}:$${TAG:-latest} ...
docker build \
-t $${REPO_NAME:-catalyst-base}:$${TAG:-latest} . \
-f ./docker/Dockerfile --no-cache
docker-fp16: ./requirements/
echo building $${REPO_NAME:-catalyst-base-fp16}:$${TAG:-latest} ...
docker build \
-t $${REPO_NAME:-catalyst-base-fp16}:$${TAG:-latest} . \
-f ./docker/Dockerfile-fp16 --no-cache
docker-dev: ./requirements/
echo building $${REPO_NAME:-catalyst-dev}:$${TAG:-latest} ...
docker build \
-t $${REPO_NAME:-catalyst-dev}:$${TAG:-latest} . \
-f ./docker/Dockerfile-dev --no-cache
docker-dev-fp16: ./requirements/
echo building $${REPO_NAME:-catalyst-dev-fp16}:$${TAG:-latest} ...
docker build \
-t $${REPO_NAME:-catalyst-dev-fp16}:$${TAG:-latest} . \
-f ./docker/Dockerfile-dev-fp16 --no-cache
install-from-source:
pip uninstall catalyst -y && pip install -e ./
clean:
rm -rf build/
docker rmi -f catalyst-base:latest
docker rmi -f catalyst-base-fp16:latest
docker rmi -f catalyst-dev:latest
docker rmi -f catalyst-dev-fp16:latest