Skip to content

Error with torch not compiled with cuda enabled #531

Open
@berlinbrown

Description

I tried to run with this:

python3 -m train.py --compile=False --eval_iters=10 --batch_size=8

But got this error, I think it is around my mac and cuda and torch compiled mode?

File "/Library/Frameworks/Python.framework/Versions/3.11/lib/python3.11/site-packages/torch/cuda/init.py", line 239, in _lazy_init
raise AssertionError("Torch not compiled with CUDA enabled")

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions