Skip to content

Commit

Permalink
FIX Type annoations in vera/bnb.py (#2139)
Browse files Browse the repository at this point in the history
The file was missing the from __future__ import annotations part. As
this code is only running nightly with GPU, the normal CI missed this
omission.
  • Loading branch information
BenjaminBossan authored Oct 9, 2024
1 parent a724834 commit 3b314cc
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/peft/tuners/vera/bnb.py
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
from __future__ import annotations

import warnings
from typing import Optional
Expand Down

0 comments on commit 3b314cc

Please sign in to comment.