Skip to content

Is anyone able to run the AI Scientist Paper Generation Experiments in Mac M1 chipΒ #52

@shanmukha-ajapro

Description

@shanmukha-ajapro

i am facing issues to Run AI Scientist Paper Generation Experiments
i am getting error as follows
command : cd templates/nanoGPT && python experiment.py --out_dir run_0 && python plot.py
tokens per iteration will be: 16,384
/opt/anaconda3/envs/ai_scientist/lib/python3.11/site-packages/torch/amp/autocast_mode.py:250: UserWarning: User provided device_type of 'cuda', but CUDA is not available. Disabling
warnings.warn(
found vocab_size = 65 (inside ../../data/shakespeare_char/meta.pkl)
Initializing a new model from scratch
number of parameters: 10.65M
Traceback (most recent call last):
File "/Users/ajapro/Desktop/SakanaAI/AI-Scientist/templates/nanoGPT/experiment.py", line 697, in
final_info, train_info, val_info = train(dataset, out_dir, seed_offset)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/ajapro/Desktop/SakanaAI/AI-Scientist/templates/nanoGPT/experiment.py", line 459, in train
model.to(device)
File "/opt/anaconda3/envs/ai_scientist/lib/python3.11/site-packages/torch/nn/modules/module.py", line 1173, in to
return self._apply(convert)
^^^^^^^^^^^^^^^^^^^^
File "/opt/anaconda3/envs/ai_scientist/lib/python3.11/site-packages/torch/nn/modules/module.py", line 779, in _apply
module._apply(fn)
File "/opt/anaconda3/envs/ai_scientist/lib/python3.11/site-packages/torch/nn/modules/module.py", line 779, in _apply
module._apply(fn)
File "/opt/anaconda3/envs/ai_scientist/lib/python3.11/site-packages/torch/nn/modules/module.py", line 804, in _apply
param_applied = fn(param)
^^^^^^^^^
File "/opt/anaconda3/envs/ai_scientist/lib/python3.11/site-packages/torch/nn/modules/module.py", line 1159, in convert
return t.to(
^^^^^
File "/opt/anaconda3/envs/ai_scientist/lib/python3.11/site-packages/torch/cuda/init.py", line 284, in _lazy_init
raise AssertionError("Torch not compiled with CUDA enabled")
AssertionError: Torch not compiled with CUDA enabled

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions