Name Error Bug Fix - import from packaging.version import Version (#1468)

This commit is contained in:
Yonghye Kwon 2024-12-23 16:22:36 +09:00 committed by GitHub
commit d91ec7ee39

View file

@ -12,6 +12,7 @@
# See the License for the specific language governing permissions and
# limitations under the License.
from packaging.version import Version
from bitsandbytes.nn import Linear4bit as Bnb_Linear4bit
from peft.tuners.lora import Linear4bit as Peft_Linear4bit
from peft.tuners.lora import Linear as Peft_Linear