Grain 0.2.12
-
New features:
- Adds Windows build.
- Allow passing
read_kwargstoParquetIterDatasetfor configuring parquet
file reading. ThreadPrefetchDatasetIteratornow supports non-Grain iterators that
support checkpointing.- Introduces API for device prefetch -
grain.experimental.device_put()for
easy CPU and device prefetching. - Introduces API for autotuning -- given the user provided RAM restrictions
and specificIterDataset, finds number of processes formp_prefetch
and buffer size forPrefetchDatasetIterator. - Allow passing
reader_optionstoArrayRecordDataSourcefor configuring
array record file reading. - Introduces
grain.experimental.batch_and_padfor padding a partial batch to
avoid dropping batch remainder data. - Grain interleave optimization - allow creating more threads to parallelly
keep starting iterators and prefetching elements.
-
Breaking changes:
- Upgrades
array_recordandprotobuf.
- Upgrades