cloneofsimo / lora

Using Low-rank adaptation to quickly fine-tune diffusion models.
https://arxiv.org/abs/2106.09685
Apache License 2.0
7k stars 480 forks source link

Typing fix #194

Closed A2va closed 1 year ago

A2va commented 1 year ago

Some colab still use python 3.7 (like Kaggle) and some of the typing are not available in this version. But Python Foundation provide typing_extensions to use all the new types in previous python versions.

cloneofsimo commented 1 year ago

Thanks!