Skip to content
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

Compatibility to M1 Mac #521

Open
jmSNU opened this issue Jan 9, 2024 · 1 comment
Open

Compatibility to M1 Mac #521

jmSNU opened this issue Jan 9, 2024 · 1 comment

Comments

@jmSNU
Copy link

jmSNU commented Jan 9, 2024

Describe the bug
A clear and concise description of what the bug is.

I have successfully completed the entire setup, but I am encountering an issue with the 'python run_lab.py' command. Despite diligently following the provided instructions and attempting to troubleshoot the problem on my own, I have been unable to identify the source of the issue. I would appreciate it if you could confirm whether SLM-Lab works on an ARM64 Macbook. If successful, please share the detailed process, including preparation steps for Linux.

To Reproduce

  1. OS and environment: M1 MacBook air Sonoma 14.2.1
  2. SLM Lab git SHA (run git rev-parse HEAD to get it): 5fa5ee3
  3. spec file used: slm_lab/spec/demo.json

Additional context
Add any other context about the problem here.

Python shut down sometime.

Error logs

(lab) ijeongmin@ijeongmin-ui-MacBookAir SLM-Lab % python run_lab.py slm_lab/spec/demo.json dqn_cartpole dev
zsh: illegal hardware instruction  python run_lab.py slm_lab/spec/demo.json dqn_cartpole dev
@kengz
Copy link
Owner

kengz commented Feb 11, 2024

apologies - haven't had time to take a look, but indeed this project precedes Apple Silicon - so the fix would be to update the dependencies with their updated ARM support (e.g. Pytorch)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants