Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/Francis-Rings/FlashPortrait
/ fast_infer.py
File
fast_infer.py
fast_infer.py:None–None ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
1
import
os
2
import
sys
3
import
cv2
4
import
numpy
as
np
Callers
nothing calls this directly
Calls
15
FaceModel
Class · 0.90
FaceAlignment
Class · 0.90
FanEncoder
Class · 0.90
PortraitEncoder
Class · 0.90
filter_kwargs
Function · 0.90
WanI2VLongPipeline
Class · 0.90
replace_parameters_by_name
Function · 0.90
convert_model_weight_to_float8
Function · 0.90
convert_weight_dtype_wrapper
Function · 0.90
get_teacache_coefficients
Function · 0.90
apply_step_distill_lora
Function · 0.90
StepDistillScheduler
Class · 0.90
Tested by
no test coverage detected