-
Notifications
You must be signed in to change notification settings - Fork 523
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
Issues with Llama-3.2-11B-Vision-Instruct #1294
Comments
This does not seem to be an issue with |
Please let me know what information you need, as I am able to run LLaMA3.2 Vision without outlines without any issue. It would be great if you could provide a working example with LLAMA3.2 Vision, I will try it my end to check if everything is in check. |
This suggests that the issue is likely due to your CUDA installation, which is infamously awful to deal with.
I've found Perplexity to be pretty good at working through these issues, but I agree with Remi that this does not seem to be an Outlines issue. |
Hi @cpfiffer, while trying to run the Llama-3.2-11B-Vision-Instruct with outlines on CPU i was able to get a better error msg:
And it turns out that this Input Id refers to the Image token in Llama and it is not used in generating the output which is indicated by the logits shape, therefore can be filtered out. Not an issue with outlines, but gives error with the mentioned Llama model. I have created a pull request: #1310 Let me know your thoughts. |
Describe the issue as clearly as possible:
Unable to work with Llama-3.2-11B-Vision-Instruct, getting CUDA Out of Bounds Issue
Steps/code to reproduce the bug:
Expected result:
Error message:
0.1.6
Python 3.9.20 (main, Oct 3 2024, 07:27:41)
[GCC 11.2.0]
accelerate==1.1.1
aiohappyeyeballs==2.4.3
aiohttp==3.11.8
aiosignal==1.3.1
airportsdata==20241001
annotated-types==0.7.0
asttokens @ file:///opt/conda/conda-bld/asttokens_1646925590279/work
async-timeout==5.0.1
attrs==24.2.0
backcall @ file:///home/ktietz/src/ci/backcall_1611930011877/work
certifi==2024.8.30
charset-normalizer==3.4.0
cloudpickle==3.1.0
comm @ file:///croot/comm_1709322850197/work
contourpy==1.3.0
cycler==0.12.1
datasets==3.1.0
debugpy @ file:///croot/debugpy_1690905042057/work
decorator @ file:///opt/conda/conda-bld/decorator_1643638310831/work
dill==0.3.8
diskcache==5.6.3
exceptiongroup @ file:///croot/exceptiongroup_1706031385326/work
executing @ file:///opt/conda/conda-bld/executing_1646925071911/work
filelock==3.16.1
fonttools==4.55.0
frozenlist==1.5.0
fsspec==2024.9.0
huggingface-hub==0.26.2
idna==3.10
importlib_metadata @ file:///croot/importlib_metadata-suite_1732633488278/work
importlib_resources==6.4.5
interegular==0.3.3
ipykernel @ file:///croot/ipykernel_1728665589812/work
ipython @ file:///croot/ipython_1694181358621/work
jedi @ file:///croot/jedi_1721058342488/work
Jinja2==3.1.4
jsonschema==4.23.0
jsonschema-specifications==2024.10.1
jupyter_client @ file:///croot/jupyter_client_1699455897726/work
jupyter_core @ file:///croot/jupyter_core_1718818295206/work
kiwisolver==1.4.7
lark==1.2.2
markdown-it-py==3.0.0
MarkupSafe==3.0.2
matplotlib==3.9.2
matplotlib-inline @ file:///opt/conda/conda-bld/matplotlib-inline_1662014470464/work
mdurl==0.1.2
mpmath==1.3.0
multidict==6.1.0
multiprocess==0.70.16
nest-asyncio @ file:///croot/nest-asyncio_1708532673751/work
networkx==3.2.1
numpy==2.0.2
nvidia-cublas-cu12==12.1.3.1
nvidia-cuda-cupti-cu12==12.1.105
nvidia-cuda-nvrtc-cu12==12.1.105
nvidia-cuda-runtime-cu12==12.1.105
nvidia-cudnn-cu12==9.1.0.70
nvidia-cufft-cu12==11.0.2.54
nvidia-curand-cu12==10.3.2.106
nvidia-cusolver-cu12==11.4.5.107
nvidia-cusparse-cu12==12.1.0.106
nvidia-nccl-cu12==2.20.5
nvidia-nvjitlink-cu12==12.6.85
nvidia-nvtx-cu12==12.1.105
outlines @ git+https://github.com/dottxt-ai/outlines.git@e9485cf2126d9c14bd749d55f8aa6729d96808d0
outlines_core==0.1.17
packaging @ file:///croot/packaging_1720101850331/work
pandas==2.2.3
parso @ file:///opt/conda/conda-bld/parso_1641458642106/work
pexpect @ file:///tmp/build/80754af9/pexpect_1605563209008/work
pickleshare @ file:///tmp/build/80754af9/pickleshare_1606932040724/work
pillow==11.0.0
platformdirs @ file:///croot/platformdirs_1692205439124/work
prompt-toolkit @ file:///croot/prompt-toolkit_1704404351921/work
propcache==0.2.0
psutil @ file:///opt/conda/conda-bld/psutil_1656431268089/work
ptyprocess @ file:///tmp/build/80754af9/ptyprocess_1609355006118/work/dist/ptyprocess-0.7.0-py2.py3-none-any.whl
pure-eval @ file:///opt/conda/conda-bld/pure_eval_1646925070566/work
pyarrow==18.1.0
pycountry==24.6.1
pydantic==2.10.2
pydantic_core==2.27.1
Pygments @ file:///croot/pygments_1684279966437/work
pyparsing==3.2.0
python-dateutil @ file:///croot/python-dateutil_1716495738603/work
pytz==2024.2
PyYAML==6.0.2
pyzmq @ file:///croot/pyzmq_1705605076900/work
referencing==0.35.1
regex==2024.11.6
requests==2.32.3
rich==13.9.4
rpds-py==0.21.0
safetensors==0.4.5
six @ file:///tmp/build/80754af9/six_1644875935023/work
stack-data @ file:///opt/conda/conda-bld/stack_data_1646927590127/work
sympy==1.13.3
tokenizers==0.20.3
torch==2.4.0
tornado @ file:///croot/tornado_1718740109488/work
tqdm==4.67.1
traitlets @ file:///croot/traitlets_1718227057033/work
transformers==4.46.3
triton==3.0.0
typing_extensions @ file:///croot/typing_extensions_1715268824938/work
tzdata==2024.2
urllib3==2.2.3
wcwidth @ file:///Users/ktietz/demo/mc3/conda-bld/wcwidth_1629357192024/work
xxhash==3.5.0
yarl==1.18.0
zipp @ file:///croot/zipp_1732630741423/work
The text was updated successfully, but these errors were encountered: