WebGL tests are running incorrectly #5418
Labels
bazel
Issues or PRs related to the Bazel build system
RELEASE BLOCKER
These issues must be resolved before the next release.
type:bug
Something isn't working
Please make sure that this is a bug. As per our
GitHub Policy,
we only address code/doc bugs, performance issues, feature requests and
build/installation issues on GitHub. tag:bug_template
System information
Describe the current behavior
WebGL tests are running core tests using the CPU backend, and the WebGL tests themselves are not actually being run.
Describe the expected behavior
WebGL runs core tests using the webgl backend and runs its own tests.
Standalone code to reproduce the issue
Provide a reproducible test case that is the bare minimum necessary to generate
the problem. If possible, please share a link to Colab/CodePen/any notebook.
tfjs-backend-webgl
, runyarn bazel run :tfjs-backend-webgl_test
.debug
on the Chrome window that opens.fromPixels + regular math opfromPixels + regular math op
fromwebgl_ops_test.ts
. It does not appear in the logs, meaning that test was not run.tfjs-core
test, e.g.mat_mul_test.ts
, and pause in a spec. Then, look at_tfengine.backendName
. It iscpu
.Other info / logs Include any logs or source code that would be helpful to
diagnose the problem. If including tracebacks, please include the full
traceback. Large logs and files should be attached.
The text was updated successfully, but these errors were encountered: