DemoFusion icon indicating copy to clipboard operation
DemoFusion copied to clipboard

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

Open nnanhuang opened this issue 1 year ago • 0 comments

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).

nnanhuang avatar Jan 08 '24 06:01 nnanhuang