Skip to content

Commit

Permalink
Cleanup tensorflow for mac arm (#2713)
Browse files Browse the repository at this point in the history
CVS-161264

tensorflow-macos package was updated but tensorflow package was
installed too, but shouldn't
  • Loading branch information
aleksandr-mokrov authored Feb 4, 2025
1 parent 4600eac commit 4797e76
Showing 1 changed file with 6 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -72,6 +72,12 @@
"metadata": {},
"outputs": [],
"source": [
"import platform\n",
"\n",
"\n",
"if platform.system() == \"darwin\" and platform.processor() in (\"arm\", \"arm64\"):\n",
" %pip uninstall -qy tensorflow\n",
"\n",
"%pip install -q \"openvino>=2024.6.0\" \"nncf>=2.14.0\"\n",
"%pip install -q \"tensorflow-macos>=2.9.3,<2.16.0; sys_platform == 'darwin' and platform_machine == 'arm64'\"\n",
"%pip install -q \"tensorflow>=2.9.3,<2.16.0; sys_platform == 'darwin' and platform_machine != 'arm64'\" # macOS x86\n",
Expand Down

0 comments on commit 4797e76

Please sign in to comment.