-
-
Notifications
You must be signed in to change notification settings - Fork 2
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
peft v0.7.1 #11
peft v0.7.1 #11
Conversation
Hi! This is the friendly automated conda-forge-linting service. I just wanted to let you know that I linted all conda-recipes in your PR ( |
Getting this error at https://dev.azure.com/conda-forge/feedstock-builds/_build/results?buildId=842710&view=logs&j=656edd35-690f-5c53-9ba3-09c10d0bea97&t=986b1512-c876-5f92-0d81-ba851554a0a3&l=521: import: 'peft'
Traceback (most recent call last):
File "/home/conda/feedstock_root/build_artifacts/peft_1702421290489/test_tmp/run_test.py", line 2, in <module>
import peft
File "/home/conda/feedstock_root/build_artifacts/peft_1702421290489/_test_env_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_p/lib/python3.12/site-packages/peft/__init__.py", line 22, in <module>
from .auto import (
File "/home/conda/feedstock_root/build_artifacts/peft_1702421290489/_test_env_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_p/lib/python3.12/site-packages/peft/auto.py", line 30, in <module>
from .config import PeftConfig
File "/home/conda/feedstock_root/build_artifacts/peft_1702421290489/_test_env_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_p/lib/python3.12/site-packages/peft/config.py", line 22, in <module>
from transformers.utils import PushToHubMixin
ImportError: cannot import name 'PushToHubMixin' from 'transformers.utils' (/home/conda/feedstock_root/build_artifacts/peft_1702421290489/_test_env_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_p/lib/python3.12/site-packages/transformers/utils/__init__.py)
WARNING: Tests failed for peft-0.7.1-pyhd8ed1ab_0.conda - moving package to /home/conda/feedstock_root/build_artifacts/broken
TESTS FAILED: peft-0.7.1-pyhd8ed1ab_0.conda Seems like the installed version of |
To fix error like `ImportError: cannot import name 'PushToHubMixin' from 'transformers.utils'` when importing peft in Python.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Nice, pinning to transformes>=4.18.0
worked!
* updated v0.8.1 * Remove hadim * Pin minimum version of transformers to 4.18.0 Xref 63e75c7 in #11. * MNT: Re-rendered with conda-build 3.27.0, conda-smithy 3.30.4, and conda-forge-pinning 2024.01.22.14.29.27 --------- Co-authored-by: Hadrien Mary <hadim@users.noreply.github.com> Co-authored-by: Wei Ji <23487320+weiji14@users.noreply.github.com>
* updated v0.13.0 * MNT: Re-rendered with conda-build 24.9.0, conda-smithy 3.40.1, and conda-forge-pinning 2024.09.25.17.37.07 * Pin minimum version of transformers to 4.18.0 Xref 63e75c7 in #11. * Add setuptools as host dependency --------- Co-authored-by: Wei Ji <23487320+weiji14@users.noreply.github.com>
* updated v0.14.0 * MNT: Re-rendered with conda-build 24.11.2, conda-smithy 3.44.9, and conda-forge-pinning 2024.12.06.19.20.35 * Pin minimum version of transformers to 4.18.0 Xref 63e75c7 in #11. * Bump minimum Python from 3.8 to 3.9, and use CFEP-25 syntax Xref huggingface/peft#2135 and https://conda-forge.org/docs/maintainer/knowledge_base/#noarch-python --------- Co-authored-by: Wei Ji <23487320+weiji14@users.noreply.github.com>
It is very likely that the current package version for this feedstock is out of date.
Checklist before merging this PR:
license_file
is packagedInformation about this PR:
@conda-forge-admin,
please add bot automerge
in the title and merge the resulting PR. This command will add our bot automerge feature to your feedstock.bot-rerun
label to this PR. The bot will close this PR and schedule another one. If you do not have permissions to add this label, you can use the phrase@conda-forge-admin, please rerun bot
in a PR comment to have theconda-forge-admin
add it for you.Dependency Analysis
Please note that this analysis is highly experimental. The aim here is to make maintenance easier by inspecting the package's dependencies. Importantly this analysis does not support optional dependencies, please double check those before making changes. If you do not want hinting of this kind ever please add
bot: inspection: false
to yourconda-forge.yml
. If you encounter issues with this feature please ping the bot teamconda-forge/bot
.Analysis by grayskull shows no discrepancy with the stated requirements in the meta.yaml.
This PR was created by the regro-cf-autotick-bot. The regro-cf-autotick-bot is a service to automatically track the dependency graph, migrate packages, and propose package version updates for conda-forge. Feel free to drop us a line if there are any issues! This PR was generated by https://github.com/regro/cf-scripts/actions/runs/7188052607, please use this URL for debugging.