mobile_app_open icon indicating copy to clipboard operation
mobile_app_open copied to clipboard

For 5.0 submission

Open freedomtan opened this issue 1 year ago • 2 comments

  • [x] create submission-v5.0 branch
  • [x] sync v5.0 branch to the mobile_app_closed repo
  • [x] update the timestep embedding pickle file to mobile_open

freedomtan avatar Jan 21 '25 05:01 freedomtan

https://github.com/mlcommons/mobile_app_open/tree/submission-v5.0 https://github.com/mlcommons/mobile_app_closed/tree/submission-v5.0

anhappdev avatar Jan 21 '25 07:01 anhappdev

To split a file large then a certain threshold, a simple shell script serve well. It event works on Android. Assume that we want to split all the files larger than 20 M in current directory.

find . -type f  -size +20M -exec sh -c 'split -b 20M "$0" "${0%.*}_"; rm "$0"' {} \;
  • find . : find files in current directory
  • -type f: only show the file type == file (there could be directories, socket, etc)
  • size +20M: larger than 20 M
  • -exec sh -c .... {} \;: once matched file > 20M, the file name is passed as {} to -exec
  • 'split -b 20M "$0" "${0%.*}_"; rm "$0"': split file size > 20M bytes, output filename foo to foo_a[a-z], and after splitting, remove the original file.

@Mostelk and @mohitmundhragithub

freedomtan avatar Jan 22 '25 07:01 freedomtan