tests maybe

This commit is contained in:
George Hotz 2022-07-18 08:23:41 -07:00
parent a2c4bcf313
commit ef4afdb5d2
2 changed files with 2 additions and 2 deletions

View File

@ -97,7 +97,7 @@ jobs:
- name: Install Dependencies
run: pip install -e '.[gpu,testing]'
- name: Run Pytest (default)
run: GPU=1 python -m pytest -s -v
run: OPT=2 GPU=1 python -m pytest -s -v
testopencl:
name: OpenCL Tests

View File

@ -22,7 +22,7 @@ OpType = Union[Type[UnaryOps], Type[BinaryOps], Type[ReduceOps], Type[MovementOp
DEBUG = int(os.getenv("DEBUG", "0"))
GRAPH = int(os.getenv("GRAPH", "0"))
OPT = int(os.getenv("OPT", "2"))
OPT = int(os.getenv("OPT", "1"))
NOCONV = int(os.getenv("NOCONV", "0"))
# TODO: movement ops that only change shape are really nops. treat them as such