https://github.com/tensorly/tensorly
Revision 971c7637514cf30a2ed423c2a896e95e22d27d0e authored by Jean Kossaifi on 31 December 2022, 14:36:41 UTC, committed by Jean Kossaifi on 31 December 2022, 14:36:41 UTC
1 parent 9204e5a
Tip revision: 971c7637514cf30a2ed423c2a896e95e22d27d0e authored by Jean Kossaifi on 31 December 2022, 14:36:41 UTC
Adds cuQuantum pluging
Adds cuQuantum pluging
Tip revision: 971c763
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
Computing file changes ...