The tutorial is great !!But, I have the problem, that I cannot use it overnight, because on my notebook, Colab ends after 60 minutes each time...
The tutorial is great !!But, I have the problem, that I cannot use it overnight, because on my notebook, Colab ends after 60 minutes each time...
I think it might be the case when your system logs off (or locks screen) after some time. Then browser looses focus and colab can check for this and disconnect.When I only turn off my screen but keep my user logged, colab session is active much longer.
2019/12/31 10:30:06 lc0_main.go:175: Completed 52 games in 24m43.089748894s time (3029 games/day) 2019/12/31 10:30:44 lc0_main.go:663: trainDir=/content/lc0/build/data-ecnoufrhdxpx 2019/12/31 10:30:45 lc0_main.go:175: Completed 53 games in 25m21.771930215s time (3009 games/day) 2019/12/31 10:30:52 lc0_main.go:663: trainDir=/content/lc0/build/data-ecnoufrhdxpx 2019/12/31 10:30:52 lc0_main.go:175: Completed 54 games in 25m28.68048106s time (3052 games/day) 2019/12/31 10:30:54 lc0_main.go:663: trainDir=/content/lc0/build/data-ecnoufrhdxpx 2019/12/31 10:30:54 lc0_main.go:175: Completed 55 games in 25m30.805238852s time (3104 games/day) 2019/12/31 10:30:55 lc0_main.go:663: trainDir=/content/lc0/build/data-ecnoufrhdxpx 2019/12/31 10:30:55 lc0_main.go:175: Completed 56 games in 25m31.916998937s time (3158 games/day)
2020/01/02 16:18:09 lc0_main.go:663: trainDir=/content/lc0/build/data-zojyllnhvcgj 2020/01/02 16:18:09 lc0_main.go:175: Completed 59 games in 4m18.904148902s time (19689 games/day) 2020/01/02 16:18:13 lc0_main.go:663: trainDir=/content/lc0/build/data-zojyllnhvcgj 2020/01/02 16:18:13 lc0_main.go:175: Completed 60 games in 4m23.391850915s time (19681 games/day)
2020/01/02 18:26:03 lc0_main.go:175: Completed 1757 games in 2h12m13.492650621s time (19134 games/day) 2020/01/02 18:26:10 lc0_main.go:663: trainDir=/content/lc0/build/data-nspydqxyvppm 2020/01/02 18:26:10 lc0_main.go:175: Completed 1758 games in 2h12m20.443496119s time (19128 games/day) 2020/01/02 18:26:11 lc0_main.go:663: trainDir=/content/lc0/build/data-nspydqxyvppm 2020/01/02 18:26:11 lc0_main.go:175: Completed 1759 games in 2h12m21.545052041s time (19137 games/day) 2020/01/02 18:26:14 lc0_main.go:663: trainDir=/content/lc0/build/data-nspydqxyvppm 2020/01/02 18:26:14 lc0_main.go:175: Completed 1760 games in 2h12m24.46464599s time (19140 games/day) 2020/01/02 18:26:19 lc0_main.go:663: trainDir=/content/lc0/build/data-nspydqxyvppm 2020/01/02 18:26:19 lc0_main.go:175: Completed 1761 games in 2h12m28.946142314s time (19140 games/day)
Credit to @borg, @Harry Seldon, @fischerandom and others for putting this together.1. Download the script file "lc0_v8.ipynb" attached to this post2. (OPTIONAL) If you want the games you generate to show under your username, then locate line 132 of the script and replace the user and password parameters (--user 'Google Colab' --password googlecolab) and save the file.3. Go to https://colab.research.google.com/ in your web browser.4. Sign in with your google account or create one.5. Click on the upload tab and upload the "lc0_v8.ipynb" script.6. (OPTIONAL) If you want to generate games for a specific run, then click the dropdown box under "Choose a run to contribute" and select 1 for T60 or 2 for T58.7. Click "Runtime" on the top menu bar and choose "Run all".8. You will now begin generating games as long as the browser tab is open. Check on the tab periodically as it will sometimes disconnect and prompt you to reconnect via a popup box.If you need more guidance, post here or join the discord channel - https://discord.gg/pKujYxD
Why are hardware resources such as T4 GPUs not available to me?
The best available hardware is prioritized for users who use Colaboratory interactively rather than for long-running computations. Users who use Colaboratory for long-running computations may be temporarily restricted in the type of hardware made available to them, and/or the duration that the hardware can be used for. We encourage users with high computational needs to use Colaboratory’s UI with a local runtime.
Please note that using Colaboratory for cryptocurrency mining is disallowed entirely, and may result in being banned from using Colab altogether.