Revision 75556ceca6d1a4af862e88d9a98923dc787742b0 authored by Aaron Meyer on 17 January 2023, 18:44:42 UTC, committed by GitHub on 17 January 2023, 18:44:42 UTC
* Test adjustments * Fix * Remove index_update from parafac2 * Consolidate CP tests * Fix torch * Black formatting * Add durations to testing output * More adjustments to speed up parafac2 test times * Fix test random states * Fix merge conflicts * Small fixes * Small fixes * Update Github actions * Fix occasional TTOI error * Fix mxnet test * Fix PARAFAC2 normalize factors * Fixes and black formatting Co-authored-by: Aaron Meyer <github@asmlab.org>
1 parent 8ff7e29
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 ...