Skip to content

Commit

Permalink
remove experimental code
Browse files Browse the repository at this point in the history
  • Loading branch information
mariogeiger committed Nov 1, 2024
1 parent e113a73 commit fc31ac9
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 132 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -27,9 +27,6 @@
from cuequivariance_jax.primitives.tensor_product_vanilla_impl import (
tensor_product_vanilla_impl,
)
from cuequivariance_jax.primitives.tensor_product_ops_impl import (
tensor_product_ops_impl,
)

logger = logging.getLogger(__name__)

Expand Down Expand Up @@ -215,12 +212,8 @@ def dispatch(
exe: TensorProductExecution,
) -> list[jax.Array]:
if platform == "cuda" and use_custom_kernels:
cuda_outputs = tensor_product_ops_impl(
*inputs, shapes=shapes, d=d, exe=exe, **options
)
if cuda_outputs is not None:
logger.info("using custom CUDA implementation")
return cuda_outputs
# TODO: call custom kernels here
pass

return tensor_product_vanilla_impl(
*inputs, shapes=shapes, d=d, exe=exe, **options
Expand Down

This file was deleted.

0 comments on commit fc31ac9

Please sign in to comment.