SakanaAI / AI-Scientist

The AI Scientist: Towards Fully Automated Open-Ended Scientific Discovery 🧑‍🔬
Apache License 2.0
7.91k stars 1.09k forks source link

Issues with `requirements.txt` and Compatibility on windows #102

Closed 0wnway closed 1 month ago

0wnway commented 1 month ago

I've been struggling for the past three days trying to get this repository to work, and I'm quite frustrated. It would be really helpful to have a detailed and accurate requirements.txt file. I have Python 3.11 installed, and the current requirements.txt installs Torch 2.4. However, I've read that Torch 2.0.1 and CUDA 12.2 were used. I'm confused about how CUDA 12.2 is supposed to be compatible with Torch 2.0.1. My attempts to get this setup working have failed. Additionally, I noticed another contributor is using CUDA 11.8 with Torch 2.1.0, which seems more compatible, but I still encountered issues with torch.compile(model) on Windows.

Please complete the requirement.txt with the corresponding versions of the libraries used. Information about the system used and how to use it for Windows users would also save hours or days of trial and error.

conglu1997 commented 1 month ago

Hi! All code was tested on Linux, Windows is not something we support, nor we do we have access to such machines.

I suspect getting it to work on Windows will take some effort, but there seems to be community interest in this.

The exact version of torch and CUDA does not really matter, as long as you have any version that works with GPU and torch.compile.