Skip to content

Commit

Permalink
Update supported versions of Python in setup.py (#3438)
Browse files Browse the repository at this point in the history
  • Loading branch information
mariosasko committed Dec 20, 2021
1 parent 4da012b commit ad69b3e
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -248,6 +248,9 @@
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.6",
"Programming Language :: Python :: 3.7",
"Programming Language :: Python :: 3.8",
"Programming Language :: Python :: 3.9",
"Programming Language :: Python :: 3.10",
"Topic :: Scientific/Engineering :: Artificial Intelligence",
],
keywords="datasets machine learning datasets metrics",
Expand Down

1 comment on commit ad69b3e

@github-actions
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Show benchmarks

PyArrow==3.0.0

Show updated benchmarks!

Benchmark: benchmark_array_xd.json

metric read_batch_formatted_as_numpy after write_array2d read_batch_formatted_as_numpy after write_flattened_sequence read_batch_formatted_as_numpy after write_nested_sequence read_batch_unformated after write_array2d read_batch_unformated after write_flattened_sequence read_batch_unformated after write_nested_sequence read_col_formatted_as_numpy after write_array2d read_col_formatted_as_numpy after write_flattened_sequence read_col_formatted_as_numpy after write_nested_sequence read_col_unformated after write_array2d read_col_unformated after write_flattened_sequence read_col_unformated after write_nested_sequence read_formatted_as_numpy after write_array2d read_formatted_as_numpy after write_flattened_sequence read_formatted_as_numpy after write_nested_sequence read_unformated after write_array2d read_unformated after write_flattened_sequence read_unformated after write_nested_sequence write_array2d write_flattened_sequence write_nested_sequence
new / old (diff) 0.013957 / 0.011353 (0.002604) 0.005363 / 0.011008 (-0.005645) 0.036390 / 0.038508 (-0.002119) 0.043580 / 0.023109 (0.020470) 0.393316 / 0.275898 (0.117417) 0.365358 / 0.323480 (0.041878) 0.010471 / 0.007986 (0.002485) 0.006816 / 0.004328 (0.002488) 0.009095 / 0.004250 (0.004844) 0.042742 / 0.037052 (0.005689) 0.410584 / 0.258489 (0.152094) 0.357974 / 0.293841 (0.064133) 0.049206 / 0.128546 (-0.079340) 0.015215 / 0.075646 (-0.060431) 0.298245 / 0.419271 (-0.121027) 0.062878 / 0.043533 (0.019345) 0.394931 / 0.255139 (0.139792) 0.375317 / 0.283200 (0.092118) 0.096915 / 0.141683 (-0.044767) 1.978939 / 1.452155 (0.526784) 2.069029 / 1.492716 (0.576313)

Benchmark: benchmark_getitem_100B.json

metric get_batch_of_1024_random_rows get_batch_of_1024_rows get_first_row get_last_row
new / old (diff) 0.302446 / 0.018006 (0.284440) 0.551426 / 0.000490 (0.550937) 0.005326 / 0.000200 (0.005126) 0.000137 / 0.000054 (0.000083)

Benchmark: benchmark_indices_mapping.json

metric select shard shuffle sort train_test_split
new / old (diff) 0.043089 / 0.037411 (0.005677) 0.027542 / 0.014526 (0.013017) 0.036802 / 0.176557 (-0.139755) 0.094161 / 0.737135 (-0.642974) 0.035099 / 0.296338 (-0.261239)

Benchmark: benchmark_iterating.json

metric read 5000 read 50000 read_batch 50000 10 read_batch 50000 100 read_batch 50000 1000 read_formatted numpy 5000 read_formatted pandas 5000 read_formatted tensorflow 5000 read_formatted torch 5000 read_formatted_batch numpy 5000 10 read_formatted_batch numpy 5000 1000 shuffled read 5000 shuffled read 50000 shuffled read_batch 50000 10 shuffled read_batch 50000 100 shuffled read_batch 50000 1000 shuffled read_formatted numpy 5000 shuffled read_formatted_batch numpy 5000 10 shuffled read_formatted_batch numpy 5000 1000
new / old (diff) 0.593347 / 0.215209 (0.378138) 6.278307 / 2.077655 (4.200652) 2.373380 / 1.504120 (0.869260) 1.919756 / 1.541195 (0.378561) 2.024006 / 1.468490 (0.555516) 0.792158 / 4.584777 (-3.792619) 6.908050 / 3.745712 (3.162338) 5.529021 / 5.269862 (0.259160) 1.515040 / 4.565676 (-3.050636) 0.077875 / 0.424275 (-0.346400) 0.013578 / 0.007607 (0.005971) 0.770422 / 0.226044 (0.544378) 7.719577 / 2.268929 (5.450648) 3.062463 / 55.444624 (-52.382161) 2.192606 / 6.876477 (-4.683871) 2.448322 / 2.142072 (0.306249) 0.931626 / 4.805227 (-3.873601) 0.193482 / 6.500664 (-6.307182) 0.086156 / 0.075469 (0.010687)

Benchmark: benchmark_map_filter.json

metric filter map fast-tokenizer batched map identity map identity batched map no-op batched map no-op batched numpy map no-op batched pandas map no-op batched pytorch map no-op batched tensorflow
new / old (diff) 1.994337 / 1.841788 (0.152550) 14.400730 / 8.074308 (6.326422) 44.289008 / 10.191392 (34.097616) 1.048242 / 0.680424 (0.367818) 0.695689 / 0.534201 (0.161488) 0.632095 / 0.579283 (0.052811) 0.739082 / 0.434364 (0.304718) 0.439915 / 0.540337 (-0.100422) 0.448988 / 1.386936 (-0.937948)
PyArrow==latest
Show updated benchmarks!

Benchmark: benchmark_array_xd.json

metric read_batch_formatted_as_numpy after write_array2d read_batch_formatted_as_numpy after write_flattened_sequence read_batch_formatted_as_numpy after write_nested_sequence read_batch_unformated after write_array2d read_batch_unformated after write_flattened_sequence read_batch_unformated after write_nested_sequence read_col_formatted_as_numpy after write_array2d read_col_formatted_as_numpy after write_flattened_sequence read_col_formatted_as_numpy after write_nested_sequence read_col_unformated after write_array2d read_col_unformated after write_flattened_sequence read_col_unformated after write_nested_sequence read_formatted_as_numpy after write_array2d read_formatted_as_numpy after write_flattened_sequence read_formatted_as_numpy after write_nested_sequence read_unformated after write_array2d read_unformated after write_flattened_sequence read_unformated after write_nested_sequence write_array2d write_flattened_sequence write_nested_sequence
new / old (diff) 0.010732 / 0.011353 (-0.000620) 0.005127 / 0.011008 (-0.005882) 0.033300 / 0.038508 (-0.005208) 0.040394 / 0.023109 (0.017284) 0.401835 / 0.275898 (0.125937) 0.366097 / 0.323480 (0.042617) 0.007640 / 0.007986 (-0.000346) 0.005694 / 0.004328 (0.001365) 0.007507 / 0.004250 (0.003256) 0.047162 / 0.037052 (0.010110) 0.375561 / 0.258489 (0.117072) 0.399683 / 0.293841 (0.105842) 0.054605 / 0.128546 (-0.073942) 0.015672 / 0.075646 (-0.059975) 0.304085 / 0.419271 (-0.115187) 0.069093 / 0.043533 (0.025560) 0.349054 / 0.255139 (0.093915) 0.363472 / 0.283200 (0.080272) 0.093241 / 0.141683 (-0.048442) 2.020346 / 1.452155 (0.568192) 1.999705 / 1.492716 (0.506988)

Benchmark: benchmark_getitem_100B.json

metric get_batch_of_1024_random_rows get_batch_of_1024_rows get_first_row get_last_row
new / old (diff) 1.024399 / 0.018006 (1.006393) 0.633524 / 0.000490 (0.633034) 0.054990 / 0.000200 (0.054791) 0.001411 / 0.000054 (0.001356)

Benchmark: benchmark_indices_mapping.json

metric select shard shuffle sort train_test_split
new / old (diff) 0.033668 / 0.037411 (-0.003743) 0.027893 / 0.014526 (0.013368) 0.036623 / 0.176557 (-0.139933) 0.100215 / 0.737135 (-0.636920) 0.036139 / 0.296338 (-0.260199)

Benchmark: benchmark_iterating.json

metric read 5000 read 50000 read_batch 50000 10 read_batch 50000 100 read_batch 50000 1000 read_formatted numpy 5000 read_formatted pandas 5000 read_formatted tensorflow 5000 read_formatted torch 5000 read_formatted_batch numpy 5000 10 read_formatted_batch numpy 5000 1000 shuffled read 5000 shuffled read 50000 shuffled read_batch 50000 10 shuffled read_batch 50000 100 shuffled read_batch 50000 1000 shuffled read_formatted numpy 5000 shuffled read_formatted_batch numpy 5000 10 shuffled read_formatted_batch numpy 5000 1000
new / old (diff) 0.595546 / 0.215209 (0.380337) 5.922983 / 2.077655 (3.845329) 2.295367 / 1.504120 (0.791247) 2.190336 / 1.541195 (0.649141) 2.195031 / 1.468490 (0.726541) 0.754915 / 4.584777 (-3.829862) 6.720221 / 3.745712 (2.974509) 3.104561 / 5.269862 (-2.165301) 1.538474 / 4.565676 (-3.027203) 0.084403 / 0.424275 (-0.339872) 0.012886 / 0.007607 (0.005279) 0.709933 / 0.226044 (0.483889) 7.740506 / 2.268929 (5.471578) 2.987382 / 55.444624 (-52.457242) 2.273548 / 6.876477 (-4.602928) 2.345873 / 2.142072 (0.203801) 0.969997 / 4.805227 (-3.835231) 0.200331 / 6.500664 (-6.300333) 0.080481 / 0.075469 (0.005012)

Benchmark: benchmark_map_filter.json

metric filter map fast-tokenizer batched map identity map identity batched map no-op batched map no-op batched numpy map no-op batched pandas map no-op batched pytorch map no-op batched tensorflow
new / old (diff) 2.051703 / 1.841788 (0.209916) 14.146648 / 8.074308 (6.072340) 44.892305 / 10.191392 (34.700913) 0.950614 / 0.680424 (0.270190) 0.712582 / 0.534201 (0.178381) 0.652473 / 0.579283 (0.073190) 0.741508 / 0.434364 (0.307144) 0.443229 / 0.540337 (-0.097108) 0.455137 / 1.386936 (-0.931799)

CML watermark

Please sign in to comment.