Nathan Murthy

Results 9 comments of Nathan Murthy

I'ld also like to see some documentation around best practices for in-process context propagation for the Java gRPC library. Here is some existing literature on the subject: - https://github.com/opentracing/specification/issues/23 -...

Yes, according to the CPU profile, `(*Eigen).Factorize` is the most expensive call:

@kortschak Do you have some documentation on how I can switch the linear algebra backends? Sounds like you're hinting at swapping out Dlaqr5 for OpenBLAS. @vladimir-ch I borrowed this [code](https://stackoverflow.com/a/16270026)....

I attempted to install `gonum/netlib` on an Alpine Linux image using the following commands: ``` go get -d gonum.org/v1/netlib/... cd /tmp git clone https://github.com/xianyi/OpenBLAS apk add update --no-cache build-base linux-headers...

Ah, didn't have `gfortran` installed, rebuilt OpenBLAS and installed the wrapper packages without much fuss. I included the imports in @kortschak's reply along with the addition to `main`. Here's what...

Ok, got things working with `netlib/lapack`, was missing ``` export LD_LIBRARY_PATH=/tmp/OpenBLAS/lib/ ``` and runtime is now in line with numpy ``` $ time go run demo.go false real 0m 1.47s...

Seems to be related: https://github.com/galeone/tfgo/issues/47#issuecomment-808698606

Hm, definitely not an M2 on this old clunky Mac 🙃 [](https://user-images.githubusercontent.com/1788878/214170643-5547f32e-9694-490f-822a-8e970c7f2696.png)

Yes, I successfully built this C program: https://github.com/natemurthy/go-playground/blob/main/tfgo/hello_tf.c ``` nate:tfgo$ gcc hello_tf.c -ltensorflow -o hello_tf nate:tfgo$ ./hello_tf Hello from TensorFlow C library version 2.11.0 ```