Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

OSError: The paging file is too small for this operation to complete. (os error 1455) #181

Open
PegaBlade2 opened this issue Jan 8, 2025 · 0 comments

Comments

@PegaBlade2
Copy link

D:\AIImage\OmniGen>conda activate omnigen

(omnigen) D:\AIImage\OmniGen>python app.py
Model not found, downloading...
Fetching 10 files: 100%|███████████████████████████████████████████████████████████████████████| 10/10 [00:00<?, ?it/s]
Downloaded model to C:\Users\mwbla.cache\huggingface\hub\models--Shitao--OmniGen-v1\snapshots\58e249c7c7634423c0ba41c34a774af79aa87889
Loading safetensors
Traceback (most recent call last):
File "D:\AIImage\OmniGen\app.py", line 11, in
pipe = OmniGenPipeline.from_pretrained(
File "D:\AIImage\OmniGen\OmniGen\pipeline.py", line 84, in from_pretrained
model = OmniGen.from_pretrained(model_name)
File "D:\AIImage\OmniGen\OmniGen\model.py", line 200, in from_pretrained
ckpt = load_file(os.path.join(model_name, 'model.safetensors'))
File "C:\Users\mwbla\miniconda3\envs\omnigen\lib\site-packages\safetensors\torch.py", line 313, in load_file
with safe_open(filename, framework="pt", device=device) as f:
OSError: The paging file is too small for this operation to complete. (os error 1455)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant