We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Tested on latest miniconda with Python 3.10.16
Unsloth throws error: AttributeError: 'NoneType' object has no attribute 'group' Which links to
AttributeError: 'NoneType' object has no attribute 'group'
unsloth-zoo/unsloth_zoo/patching_utils.py
Line 334 in 1101ee0
match = re.search(r"\n([ ]{1,})return compiled_fn", source) if match: n = len(match.group(1)) else: n = 0
That code fixed it for me P.S. Sorry, i'm not pushing commit, because i'm not a good programmer, maybe there is a more elegant solution to that error
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Tested on latest miniconda with Python 3.10.16
Unsloth throws error:
AttributeError: 'NoneType' object has no attribute 'group'
Which links to
unsloth-zoo/unsloth_zoo/patching_utils.py
Line 334 in 1101ee0
I suggest adding safecheck as described in pyrhon docs
That code fixed it for me
P.S. Sorry, i'm not pushing commit, because i'm not a good programmer, maybe there is a more elegant solution to that error
The text was updated successfully, but these errors were encountered: