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

OverflowError :cannot fit 'int' into an index-sized integer #35

Open
nnanhuang opened this issue Jan 8, 2024 · 0 comments
Open

OverflowError :cannot fit 'int' into an index-sized integer #35

nnanhuang opened this issue Jan 8, 2024 · 0 comments

Comments

@nnanhuang
Copy link

When I run your code, it fails and I got message below:
OverflowError
cannot fit 'int' into an index-sized integer
File "/data1/hn/high_reso_3d/stable-dreamfusion/guidance/pipeline_demofusion_sdxl.py", line 309, in encode_prompt
text_inputs = tokenizer(
File "/data1/hn/high_reso_3d/stable-dreamfusion/guidance/pipeline_demofusion_sdxl.py", line 919, in call
) = self.encode_prompt(
File "/data1/hn/high_reso_3d/stable-dreamfusion/test_demo_sdxl.py", line 11, in
images = pipe(prompt, negative_prompt=negative_prompt,
OverflowError: cannot fit 'int' into an index-sized integer

My Python and system architectures are correctly aligned (both 64-bit).

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