Skip to content

Commit

Permalink
pin jax version after other installs in mt3 colab; for some reason it…
Browse files Browse the repository at this point in the history
…'s getting upgraded to 0.4.2

PiperOrigin-RevId: 506951196
  • Loading branch information
iansimon authored and Magenta Team committed Feb 3, 2023
1 parent 1ff00b3 commit 66f9619
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions mt3/colab/music_transcription_with_transformers.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -65,8 +65,6 @@
"!apt-get update -qq \u0026\u0026 apt-get install -qq libfluidsynth2 build-essential libasound2-dev libjack-dev\n",
"\n",
"!pip install nest-asyncio\n",
"# pin jax to maintain compatibility with default colab jaxlib version\n",
"!pip install jax==0.4.1\n",
"# pin pyfluidsynth to avoid weird octave issue\n",
"!pip install pyfluidsynth==1.3.0\n",
"\n",
Expand All @@ -80,6 +78,9 @@
"!mv mt3 mt3_tmp; mv mt3_tmp/* .; rm -r mt3_tmp\n",
"!python3 -m pip install -e .\n",
"\n",
"# pin jax to maintain compatibility with default colab jaxlib version\n",
"!pip install jax==0.4.1\n",
"\n",
"# copy checkpoints\n",
"!gsutil -q -m cp -r gs:https://mt3/checkpoints .\n",
"\n",
Expand Down

0 comments on commit 66f9619

Please sign in to comment.