Skip to content

Commit

Permalink
Update Faust_to_QDax.ipynb (#201)
Browse files Browse the repository at this point in the history
fix misspelled variable
  • Loading branch information
imilas authored May 7, 2024
1 parent 7518daf commit 09e9f02
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion examples/Faust_to_QDax/Faust_to_QDax.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@
"```python\n",
"import jax\n",
"default_device = 'cpu' # or 'gpu'\r\n",
"jax.config.update('jax_platform_name',default_devicee)\n",
"jax.config.update('jax_platform_name',default_device)\n",
"```\n",
"\n",
"You may want to pick CPU if your batch size is small. However, for larger batch sizes, the benefit of GPU parallelism will outweigh the worse single-item performance of a GPU relative to a CPU. For example, a CPU could produce 1 item of L-seconds of audio in 1 second. To get to 10 items, the CPU would take 10 seconds. However, in those same 10 seconds, the GPU might produce 20 equivalent items. The CPU took 1 second for its small batch, and the GPU took 10 seconds, but the GPU is twice as productive thanks to parallelism."
Expand Down

0 comments on commit 09e9f02

Please sign in to comment.