Revision 7e2e6cd3bb3f60a4f73307e0c0e35b196bdc64bd authored by Lili on 07 November 2022, 05:56:51 UTC, committed by Lili on 07 November 2022, 05:56:51 UTC
Merge the updates from tensorly since the svd_interface is in need for the current tensor-train-OI code
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
![swh spinner](/static/img/swh-spinner.gif)
Computing file changes ...