https://github.com/tensorly/tensorly
Revision 7fab77bd7fe131b3033f681f80bc9a5bf979672c authored by Jean Kossaifi on 31 December 2022, 21:16:42 UTC, committed by Jean Kossaifi on 31 December 2022, 21:16:42 UTC
1 parent 7fc82e4
Raw File
Tip revision: 7fab77bd7fe131b3033f681f80bc9a5bf979672c authored by Jean Kossaifi on 31 December 2022, 21:16:42 UTC
DOC: revert last conf change
Tip revision: 7fab77b
Makefile
# Automate testing etc
BACKEND?='numpy'

.PHONY: all test install clean debug

all: install test

install:
	pip install -e .

debug:
	TENSORLY_BACKEND=$(BACKEND) pytest -v --pdb tensorly

test:
	TENSORLY_BACKEND=$(BACKEND) pytest -v tensorly

test-all:
	TENSORLY_BACKEND='numpy' pytest -v tensorly
	TENSORLY_BACKEND='cupy' pytest -v tensorly
	TENSORLY_BACKEND='pytorch' pytest -v tensorly
	TENSORLY_BACKEND='mxnet' pytest -v tensorly
	TENSORLY_BACKEND='jax' pytest -v tensorly
	TENSORLY_BACKEND='tensorflow' pytest -v tensorly

test-coverage:
	TENSORLY_BACKEND=$(BACKEND) pytest -v --cov tensorly tensorly

back to top