Skip to content

Commit

Permalink
fix python 3.9 error (#358)
Browse files Browse the repository at this point in the history
  • Loading branch information
PZS-ModelCloud authored Aug 13, 2024
1 parent 25a32e9 commit 831e09f
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 0 deletions.
1 change: 1 addition & 0 deletions gptqmodel/models/auto.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
from __future__ import annotations
from typing import Dict, List, Optional, Union

from ..utils import BACKEND
Expand Down
1 change: 1 addition & 0 deletions gptqmodel/models/base.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
from __future__ import annotations
import copy
import json
import logging
Expand Down
1 change: 1 addition & 0 deletions gptqmodel/utils/model.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
from __future__ import annotations
import functools
import hashlib
import json
Expand Down

0 comments on commit 831e09f

Please sign in to comment.