Skip to content

Commit

Permalink
Add a new bench on AppleM1 and asahi
Browse files Browse the repository at this point in the history
  • Loading branch information
FrancescAlted committed Dec 24, 2023
1 parent 13eef50 commit 2f1bc4c
Show file tree
Hide file tree
Showing 3 changed files with 1,117 additions and 123 deletions.
922 changes: 922 additions & 0 deletions bench/encode-chunking-AppleM1-asahi.ipynb

Large diffs are not rendered by default.

311 changes: 192 additions & 119 deletions bench/encode-chunking-AppleM1.ipynb

Large diffs are not rendered by default.

7 changes: 3 additions & 4 deletions bench/encode-chunking-i13900K.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -647,9 +647,8 @@
" quality_layers=np.array([quality], dtype=np.float64),\n",
" **grok_params)\n",
" \n",
" # Iterate over the frames\n",
" iter_frames = tqdm(range(0, nframes, nimages)) if verbose else range(0, nframes, nimages)\n",
" for i in iter_frames:\n",
" # Iterate over one single frame\n",
" for i in range(1):\n",
" im = dset[i, ...]\n",
" # Use pillow for compressing\n",
" j2kim = Image.fromarray(im)\n",
Expand Down Expand Up @@ -918,7 +917,7 @@
"name": "python",
"nbconvert_exporter": "python",
"pygments_lexer": "ipython3",
"version": "3.12.0"
"version": "3.11.7"
}
},
"nbformat": 4,
Expand Down

0 comments on commit 2f1bc4c

Please sign in to comment.