MCPcopy Create free account

hub / github.com/Fanghua-Yu/SUPIR / functions

Functions867 in github.com/Fanghua-Yu/SUPIR

Functionperfcount
(fn)
SUPIR/utils/tilevae.py:572
FunctionpopulateModels
(models)
llava/eval/webpage/script.js:70
FunctionpopulateQuestions
(questions)
llava/eval/webpage/script.js:81
Methodpossible_correction_step
( self, euler_step, x, d, dt, next_sigma, denoiser, cond, uc )
sgm/modules/diffusionmodules/sampling.py:217
Methodpossibly_quantize_c_noise
(self, c_noise)
sgm/modules/diffusionmodules/denoiser.py:59
Methodpossibly_quantize_sigma
(self, sigma)
sgm/modules/diffusionmodules/denoiser.py:56
Methodprepare_inputs
(self, x, s, c, uc)
sgm/modules/diffusionmodules/guiders.py:31
Methodprepare_inputs
(self, x, s, c, uc)
sgm/modules/diffusionmodules/guiders.py:82
Functionprepare_inputs_for_generation
(self: BloomForCausalLM, input_ids: torch.LongTensor, past: Optional[torch.Tensor]=None, attention_mask: Optio
llava/model/language_model/mpt/hf_prefixlm_converter.py:255
Methodprepare_inputs_for_generation
( self, input_ids, past_key_values=None, attention_mask=None, inputs_embeds=None, **kwargs )
llava/model/language_model/llava_llama.py:117
Methodprepare_inputs_for_generation
(self, input_ids, past_key_values=None, inputs_embeds=None, **kwargs)
llava/model/language_model/llava_mpt.py:91
Methodprepare_inputs_for_generation
(self, input_ids, past_key_values=None, inputs_embeds=None, **kwargs)
llava/model/language_model/mpt/modeling_mpt.py:301
Methodprepare_sampling_loop
(self, x, cond, uc=None, num_steps=None)
sgm/modules/diffusionmodules/sampling.py:45
Functionrandn
(seed, shape)
SUPIR/utils/devices.py:83
Functionrandn_without_seed
(shape)
SUPIR/utils/devices.py:88
Functionreceive_heart_beat
(request: Request)
llava/serve/controller.py:269
Functionrefresh_all_workers
()
llava/serve/controller.py:251
Functionregenerate
(state, image_process_mode, request: gr.Request)
llava/serve/gradio_web_server.py:113
Functionregister_empty_buffer
(module, name, buffer)
llava/model/language_model/mpt/meta_init_context.py:67
Functionregister_empty_parameter
(module, name, param)
llava/model/language_model/mpt/meta_init_context.py:60
Functionregister_worker
(request: Request)
llava/serve/controller.py:243
Functionrelease_model_semaphore
(fn=None)
llava/serve/model_worker.py:224
Methodreset_num_updates
(self)
sgm/modules/ema.py:29
Methodsample
(self)
sgm/modules/distributions/distributions.py:6
Methodsampler_step
(self, sigma, next_sigma, denoiser, x, cond, uc, *args, **kwargs)
sgm/modules/diffusionmodules/sampling.py:79
Methodsampler_step
(self, sigma, next_sigma, denoiser, x, cond, uc)
sgm/modules/diffusionmodules/sampling.py:244
Methodsampler_step
(self, sigma, next_sigma, denoiser, x, cond, uc=None, **kwargs)
sgm/modules/diffusionmodules/sampling.py:268
Functionscale_module
Scale the parameters of a module and return it.
sgm/modules/diffusionmodules/util.py:242
Functionscaled_multihead_dot_product_attention
(query, key, value, n_heads, past_key_value=None, softmax_scale=None, attn_bias=None, key_padding_mask=None, i
llava/model/language_model/mpt/attention.py:20
Methodschedule
(self, n, **kwargs)
sgm/lr_scheduler.py:114
Methodset_decoder
(self, decoder)
llava/model/language_model/mpt/modeling_mpt.py:267
Methodset_input_embeddings
(self, value)
llava/model/language_model/mpt/modeling_mpt.py:84
Methodset_input_embeddings
(self, value)
llava/model/language_model/mpt/modeling_mpt.py:258
Methodset_output_embeddings
(self, new_embeddings)
llava/model/language_model/mpt/modeling_mpt.py:264
Methodset_upscale_factor
(self, upscale_factor)
SUPIR/utils/face_restoration_helper.py:119
Functionstage1_process
(input_image, gamma_correction)
gradio_demo_face.py:72
Functionstage1_process
(input_image, gamma_correction)
gradio_demo_tiled.py:68
Functionstage1_process
(input_image, gamma_correction)
gradio_demo.py:60
Functionstage2_process
(input_image, prompt, a_prompt, n_prompt, num_samples, upscale, edm_steps, s_stage1, s_stage2,
gradio_demo_face.py:120
Functionstage2_process
(input_image, prompt, a_prompt, n_prompt, num_samples, upscale, edm_steps, s_stage1, s_stage2,
gradio_demo_tiled.py:114
Functionstage2_process
(input_image, prompt, a_prompt, n_prompt, num_samples, upscale, edm_steps, s_stage1, s_stage2,
gradio_demo.py:86
Methodstep_progressive_mask
(self)
SUPIR/modules/SUPIR_v0.py:583
Functionsubmit_feedback
(event_id, fb_score, fb_text)
gradio_demo_face.py:266
Functionsubmit_feedback
(event_id, fb_score, fb_text)
gradio_demo_tiled.py:202
Functionsubmit_feedback
(event_id, fb_score, fb_text)
gradio_demo.py:175
Functiontest_for_nans
(x, where)
SUPIR/utils/devices.py:107
Functionto_d_center
(denoised, x_center, x)
sgm/modules/diffusionmodules/sampling.py:518
Functiontorch_default_param_init_fn_
(module: nn.Module, verbose: int=0, **kwargs)
llava/model/language_model/mpt/param_init_fns.py:10
Functiontorch_gc
()
SUPIR/utils/devices.py:41
Methodtraining_step
(self, batch, batch_idx)
sgm/models/diffusion.py:144
Methodtraining_step
(self, batch, batch_idx, optimizer_idx)
sgm/models/autoencoder.py:182
Functiontrim_hanging_lines
(s: str, n: int)
llava/eval/generate_webpage_data_from_table.py:23
Functiontriton_flash_attn_fn
(query, key, value, n_heads, past_key_value=None, softmax_scale=None, attn_bias=None, key_padding_mask=None, i
llava/model/language_model/mpt/attention.py:107
Methoducg_rate
(self)
sgm/modules/encoders/modules.py:49
Functionuniq
(arr)
sgm/modules/attention.py:62
Functionupvote_last_response
(state, model_selector, request: gr.Request)
llava/serve/gradio_web_server.py:95
Methodvalidation_step
(self, batch, batch_idx)
sgm/models/autoencoder.py:219
Functionvanilla_d_loss
(logits_real, logits_fake)
sgm/modules/autoencoding/lpips/vqperceptual.py:12
Functionwavelet_color_fix
(target: Image, source: Image)
SUPIR/utils/colorfix.py:29
Functionweights_init
(m)
sgm/modules/autoencoding/lpips/model/model.py:8
Functionwithout_autocast
(disable=False)
SUPIR/utils/devices.py:99
Functionworker_api_generate_stream
(request: Request)
llava/serve/controller.py:277
Functionworker_api_get_status
(request: Request)
llava/serve/controller.py:284
Functionwrapper
(*args, **kwargs)
SUPIR/utils/tilevae.py:573
Functionwrapper
(*args, **kwargs)
llava/model/language_model/mpt/meta_init_context.py:78
Functionxavier_normal_param_init_fn_
(module: nn.Module, n_layers: int, d_model: Optional[int]=None, init_div_is_residual: Union[int, float, str, b
llava/model/language_model/mpt/param_init_fns.py:176
Functionxavier_uniform_param_init_fn_
(module: nn.Module, n_layers: int, d_model: Optional[int]=None, init_div_is_residual: Union[int, float, str, b
llava/model/language_model/mpt/param_init_fns.py:169
← previous801–867 of 867, ranked by callers