diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index b3bb29402f..791f903008 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -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 diff --git a/tinygrad/ops.py b/tinygrad/ops.py index 241d698f57..6d6d791c39 100644 --- a/tinygrad/ops.py +++ b/tinygrad/ops.py @@ -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