Describe the bug
datasets 4.8.5
from datasets import load_dataset, load_from_disk
data = load_from_disk('pretrain_cached_dataset/train')
def dummy_map(example):
return example
dataset = data.map(dummy_map)
dataset = data.map(dummy_map, load_from_cache_file=True) # works fine
dataset = data.map(dummy_map, load_from_cache_file=True, num_proc=4) # works fine
dataset = data.map(dummy_map, load_from_cache_file=False) # does not work
Steps to reproduce the bug
Expected behavior
Environment info
Describe the bug
datasets 4.8.5
Steps to reproduce the bug
Expected behavior
Environment info