Hello, I try to use unsloth to load smolvlm2 for inference but I got this error.
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "<frozen importlib._bootstrap>", line 1387, in _gcd_import
File "<frozen importlib._bootstrap>", line 1360, in _find_and_load
File "<frozen importlib._bootstrap>", line 1331, in _find_and_load_unlocked
File "<frozen importlib._bootstrap>", line 935, in _load_unlocked
File "<frozen importlib._bootstrap_external>", line 995, in exec_module
File "<frozen importlib._bootstrap_external>", line 1133, in get_code
File "<frozen importlib._bootstrap_external>", line 1063, in source_to_code
File "<frozen importlib._bootstrap>", line 488, in _call_with_frames_removed
File "/home/hermeschen/Repo/taiwan-license-plate-recognition/unsloth_compiled_cache/unsloth_compiled_module_smolvlm.py", line 481
= loss_fct(shift_logits, shift_labels)
IndentationError: unexpected indent
Then I looked up "unsloth_compiled_cache/unsloth_compiled_module_smolvlm.py" and found it generate something wrong.
I supposed that loss_fct(shift_logits, shift_labels) should be assign to loss and try to fix it manaully but it still being overwritten. Is there any solution for this?
