babysor / babysor/MockingBird

训练到7344/20414错误提示:_pickle.PicklingError: Can't pickle <class 'MemoryError'>: it's not the same object as builtins.MemoryError

Open
#132 3 comments 0 reactions 0 assignees View on GitHub
Dominant language
Python
Stars
36.9k
Forks
5.2k
PR merge metrics
No merged PRs in 30d

Description

File "C:\Users\86158\Anaconda3\envs\pytorch\lib\multiprocessing\queues.py", line 239, in _feed
obj = _ForkingPickler.dumps(obj)
File "C:\Users\86158\Anaconda3\envs\pytorch\lib\multiprocessing\reduction.py", line 51, in dumps
cls(buf, protocol).dump(obj)
File "C:\Users\86158\Anaconda3\envs\pytorch\lib\site-packages\torch\multiprocessing\reductions.py", line 319, in reduce_storage
metadata = storage._share_filename_()
RuntimeError: Couldn't open shared file mapping: <0000029FFD7D77B2>, error code: <1455>
{| Epoch: 1/1 (7341/20414) | Loss: 0.7548 | 0.86 steps/s | Step: 7k | }Traceback (most recent call last):
File "C:\Users\86158\Anaconda3\envs\pytorch\lib\multiprocessing\queues.py", line 239, in _feed
obj = _ForkingPickler.dumps(obj)
File "C:\Users\86158\Anaconda3\envs\pytorch\lib\multiprocessing\reduction.py", line 51, in dumps
cls(buf, protocol).dump(obj)
File "C:\Users\86158\Anaconda3\envs\pytorch\lib\site-packages\torch\multiprocessing\reductions.py", line 319, in reduce_storage
metadata = storage._share_filename_()
RuntimeError: Couldn't open shared file mapping: <000001EBF5A60222>, error code: <1455>
{| Epoch: 1/1 (7342/20414) | Loss: 0.7547 | 0.86 steps/s | Step: 7k | }Traceback (most recent call last):
File "C:\Users\86158\Anaconda3\envs\pytorch\lib\multiprocessing\queues.py", line 239, in _feed
obj = _ForkingPickler.dumps(obj)
File "C:\Users\86158\Anaconda3\envs\pytorch\lib\multiprocessing\reduction.py", line 51, in dumps
cls(buf, protocol).dump(obj)
_pickle.PicklingError: Can't pickle : it's not the same object as builtins.MemoryError
{| Epoch: 1/1 (7343/20414) | Loss: 0.7564 | 0.87 steps/s | Step: 7k | }Traceback (most recent call last):
File "C:\Users\86158\Anaconda3\envs\pytorch\lib\multiprocessing\queues.py", line 239, in _feed
obj = _ForkingPickler.dumps(obj)
File "C:\Users\86158\Anaconda3\envs\pytorch\lib\multiprocessing\reduction.py", line 51, in dumps
cls(buf, protocol).dump(obj)
**_pickle.PicklingError: Can't pickle : it's not the same object as builtins.MemoryError**
{| Epoch: 1/1 (7344/20414) | Loss: 0.7568 | 0.87 steps/s | Step: 7k | }Traceback (most recent call last):

大佬们 帮忙解决 /(ㄒoㄒ)/~~ 训练了一天了 从早上到晚上

Contributor guide

No contributing guide indexed for this repository

Research direction

Start by reproducing the training run around step 7344 and review the reported multiprocessing and torch storage errors in the Python and PyTorch environment. Completion would require identifying a reproducible cause and confirming that training can continue without the shared-file-mapping or PicklingError failures.

Written by the indexing model from the issue text.

Assessment

Tech stack
python, pytorch
Domain
ai, machine-learning
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
20/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.