Well-typed, accelerated ML

If shape and device errors in your tensor code are causing you problems, check this out …

spidr, in alpha, is a tensor library that catches all shape errors before you run your code. For example, the compiler will reject this

prepend : Tensor [1, m] F64 -> Tensor [m, n] F64 -> Tensor [m, n + 1] F64
prepend x y = concat 1 x y
Enter fullscreen mode Exit fullscreen mode

but accept this

prepend : Tensor [m, 1] F64 -> Tensor [m, n] F64 -> Tensor [m, 1 + n] F64
prepend x y = concat 1 x y
Enter fullscreen mode Exit fullscreen mode

spidr’s not just special at compile time. It uses OpenXLA for serious speed, running on CPU, GPU and potentially more.

We have started work on vectorization and autodiff, and have long term plans for distributed computing, including compile-time checks that your tensors are on the devices you think they are.


Discover more from Coursity

Subscribe to get the latest posts sent to your email.

Leave a Comment

Your email address will not be published. Required fields are marked *

Discover more from Coursity

Subscribe now to keep reading and get access to the full archive.

Continue reading

Scroll to Top
This article delves into the key specifications and features of popular web browsers in 2024. Jamb 2025 runs commerce expo/runz.