TensorFlow.NET icon indicating copy to clipboard operation
TensorFlow.NET copied to clipboard

scisharp.tensorflow.redist-linux-gpu 2.5 inludes windows binary instead of linux binaries

Open rhythmnewt opened this issue 3 years ago • 3 comments

Shouldn't these be a bunch of .so files like in 2.3.1? Edit: changed to 2.3.1 since there was no 2.4.1 for GPU Linux (why?)

image

Thanks

rhythmnewt avatar May 27 '21 21:05 rhythmnewt

Getting correct binaries fixed my runtime issues:

Dockerfile steps for anyone struggling with the same thing. Insert after copying your .net bin/ to /app

WORKDIR /tensorflowlib
RUN curl -fSsl -O https://storage.googleapis.com/tensorflow/libtensorflow/libtensorflow-gpu-linux-x86_64-2.5.0.tar.gz
RUN tar xvzf libtensorflow-gpu-linux-x86_64-2.5.0.tar.gz
RUN cp ./lib/*.* /app/runtimes/linux-x64/native

rhythmnewt avatar May 27 '21 22:05 rhythmnewt

Seriously? It's been FOUR MONTHS since this was reported and no updated nuget package with fixed binaries???? SMH

rhythmnewt avatar Sep 22 '21 02:09 rhythmnewt

@rhythmnewt We can release the Linux gpu package due to binary file size limitation by NuGet. Please raise issue to NuGet.

Oceania2018 avatar Sep 22 '21 15:09 Oceania2018

I am closing this issue as resolved, since 2.11 solved the nuget binary size issue by splitting the gpu package into multiple dependencies about 10 months ago and there's a workaround for 2.5 without going through nuget.org.

https://www.nuget.org/packages/SciSharp.TensorFlow.Redist-Linux-GPU/2.11.1 https://github.com/SciSharp/TensorFlow.NET/issues/966

rhythmnewt avatar Mar 12 '24 16:03 rhythmnewt