chengzeyi / stable-fast

Best inference performance optimization framework for HuggingFace Diffusers on NVIDIA GPUs.
MIT License
1.05k stars 59 forks source link

help me #105

Closed lengyanju8 closed 5 months ago

lengyanju8 commented 5 months ago

TracerWarning: torch.as_tensor results are registered as constants in the trace. You can safely ignore this warning if you use this function to create tensors out of constant variables that would be the same every time you call this function. In any other case, this might cause the trace to be incorrect. return func(*args, **kwargs)

chengzeyi commented 5 months ago

In most cases this won't be a problem. Just ignore that.