File size: 1,494 Bytes
f036afc
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
Because `predownload` was not specified, it will default to 8*batch_size if batch_size is not None, otherwise 64. Prior to Streaming v0.7.0, `predownload` defaulted to max(batch_size, 256 * batch_size // num_canonical_nodes).
Using local dataset /home/oweller/bert24-data/data/ProLong_text/arxiv/1-4...
Traceback (most recent call last):
  File "/home/oweller/bert24-data/src/bert24_data/tokenization/tokenize_mds.py", line 108, in <module>
    sample_dataset_from_config(args)
  File "/home/oweller/bert24-data/src/bert24_data/tokenization/tokenize_mds.py", line 46, in sample_dataset_from_config
    dataset = StreamingDataset(local=args.dataset, shuffle=False, split=None, batch_size=1, keep_zip=False)
  File "/home/oweller/miniconda3/envs/bert24/lib/python3.10/site-packages/streaming/base/dataset.py", line 526, in __init__
    self._shm_prefix_int, self._locals_shm = get_shm_prefix(streams_local, streams_remote,
  File "/home/oweller/miniconda3/envs/bert24/lib/python3.10/site-packages/streaming/base/shared/prefix.py", line 192, in get_shm_prefix
    shm = SharedMemory(name, True, len(data))
  File "/home/oweller/miniconda3/envs/bert24/lib/python3.10/site-packages/streaming/base/shared/memory.py", line 41, in __init__
    shm = BuiltinSharedMemory(name, create, size)
  File "/home/oweller/miniconda3/envs/bert24/lib/python3.10/multiprocessing/shared_memory.py", line 104, in __init__
    self._fd = _posixshmem.shm_open(
FileExistsError: [Errno 17] File exists: '/000044_locals'