Enhanced Gradio UI#89
Open
ParisNeo wants to merge 15 commits into
Open
Conversation
paras-genmo
requested changes
Dec 1, 2024
| demo.launch() | ||
| @click.option("--lora_path", required=False, help="Path to the lora file.") | ||
| @click.option("--cpu_offload", is_flag=True, help="Whether to offload model to CPU.") | ||
| @click.option("--gpu", default=None, help="Specify the GPU to use (e.g., 'cuda:0').") |
Contributor
There was a problem hiding this comment.
It seems like the gpu option is used to set CUDA_VISIBLE_DEVICES, so the help text is incorrect (cuda:0 isn't valid). Could you remove the option? Users can set CUDA_VISIBLE_DEVICES manually.
Author
|
You are right. I'll make the change. Thanks |
Author
|
Hi, can you please review my pull request? |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Enhanced Gradio interface UI
Added the possibility to select the host and port number when launching the gradio service
Added the possibility to select a specific GPU when launching the gradio service