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

It's not opening at http://0.0.0.0:7860 but getting this #62

Open
oly1kenobi opened this issue Jul 13, 2024 · 6 comments
Open

It's not opening at http://0.0.0.0:7860 but getting this #62

oly1kenobi opened this issue Jul 13, 2024 · 6 comments

Comments

@oly1kenobi
Copy link

C:\Users\droly\Paints-UNDO>python gradio_app.py
A matching Triton is not available, some optimizations will not be enabled
Traceback (most recent call last):
File "C:\Users\droly\miniconda3\envs\paints_undo\lib\site-packages\xformers_init_.py", line 55, in _is_triton_available
from xformers.triton.softmax import softmax as triton_softmax # noqa
File "C:\Users\droly\miniconda3\envs\paints_undo\lib\site-packages\xformers\triton\softmax.py", line 14, in
from xformers.triton.k_softmax import _softmax, softmax_backward
File "C:\Users\droly\miniconda3\envs\paints_undo\lib\site-packages\xformers\triton\k_softmax.py", line 8, in
import triton.language as tl
ModuleNotFoundError: No module named 'triton.language'
The config attributes {'shift_factor': None, 'use_post_quant_conv': True, 'use_quant_conv': True} were passed to AutoencoderKL, but are not expected and will be ignored. Please verify your config.json configuration file.
Fetching 19 files: 100%|███████████████████████████████████████████████████████████████████████| 19/19 [00:00<?, ?it/s]
Loading weights from local directory
Loading weights from local directory
Loading weights from local directory
Unload to CPU: ModifiedUNet
Unload to CPU: CLIPTextModel
Unload to CPU: CLIPTextModel
Unload to CPU: UNet3DModel
Unload to CPU: VideoAutoencoderKL
Unload to CPU: ImprovedCLIPVisionModelWithProjection
Unload to CPU: Resampler
Unload to CPU: AutoencoderKL
C:\Users\droly\Paints-UNDO\diffusers_helper\k_diffusion.py:43: UserWarning: To copy construct from a tensor, it is recommended to use sourceTensor.clone().detach() or sourceTensor.clone().detach().requires_grad
(True), rather than torch.tensor(sourceTensor).
alphas_cumprod = torch.tensor(np.cumprod(alphas, axis=0), dtype=torch.float32)
Running on local URL: http://0.0.0.0:7860

To create a public link, set share=True in launch().

@barepixels
Copy link

For me, I edit near last line of gradio_app.py

to block.queue().launch(server_name='127.0.0.1')

@packetlost
Copy link

For me, I edit near last line of gradio_app.py

to block.queue().launch(server_name='127.0.0.1')

For the win!

@oly1kenobi
Copy link
Author

For me, I edit near last line of gradio_app.py

to block.queue().launch(server_name='127.0.0.1')

Thanks, but where would I edit that? NEWB here
Thanks

@packetlost
Copy link

gradio_app.py

That file is in your program directory. Edit gradio_app.py with Notepad and scroll to the bottom. Highlight the entire last line and paste the corrected line.

@Its-Endless
Copy link

You can just change the http in the browser from http://0.0.0.0:7860 to http://127.0.0.1:7860

@DimitriMichel
Copy link

Just prefix it with localhost localhost:7860 which essenstially translates to what @Its-Endless says with http://127.0.0.1:7860/

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

5 participants