Skip to content

Commit

Permalink
Upgrade to TF version 2.16.1
Browse files Browse the repository at this point in the history
  • Loading branch information
ekrich committed May 31, 2024
1 parent ea34a2b commit d14ef31
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 4 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ jobs:
- name: Setup (Linux)
if: startsWith(matrix.os, 'ubuntu')
run: |
curl -fsSL https://storage.googleapis.com/tensorflow/libtensorflow/libtensorflow-cpu-linux-x86_64-2.15.0.tar.gz \
curl -fsSL https://storage.googleapis.com/tensorflow/libtensorflow/libtensorflow-cpu-linux-x86_64-2.16.1.tar.gz \
-o ~/libtensorflow.tar.gz
mkdir -p ~/tensorflow && tar -xzf ~/libtensorflow.tar.gz -C ~/tensorflow
- name: Setup (macOS)
Expand Down
5 changes: 3 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ Note: Refer to release notes for older versions of Scala and Scala Native

## Tensorflow library

The TensorFlow C library is required and the current version is `2.15.0`.
The TensorFlow C library is required and the current version is `2.16.1`.

* Linux/Ubuntu can TensorFlow following the following directions:

Expand All @@ -65,7 +65,8 @@ $ sudo ldconfig /usr/local/lib
which will install into the `/usr/local/Cellar/libtensorflow/<version>` directory.

Note: macOS 12 or greater is recommended to install TensorFlow via
Homebrew and is used in CI. Tensorflow `2.15` is built for macos `13.1`.
Homebrew and is used in CI. Tensorflow `2.16.1` is built for macos `13.1` so you
will get a linking warning if using an older OS version.

```
$ brew install libtensorflow
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ import org.ekrich.tensorflow.unsafe.tensorflowEnums._

class TensorflowTest {

val tfVersion = "2.15"
val tfVersion = "2.16"

type DeallocateTensor = CFuncPtr3[Ptr[Byte], CSize, Ptr[Byte], Unit]

Expand Down

0 comments on commit d14ef31

Please sign in to comment.