Skip to content

Commit 56f7bfb

Browse files
committed
[examples] Add "Open in Colab" button to notebooks.
1 parent 40f6fe2 commit 56f7bfb

File tree

2 files changed

+8
-0
lines changed

2 files changed

+8
-0
lines changed

examples/getting-started.ipynb

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,10 @@
2727
"id": "AidRbcu8Pwxh"
2828
},
2929
"source": [
30+
"<a href=\"https://colab.research.google.com/github/facebookresearch/CompilerGym/blob/stable/examples/getting-started.ipynb\">\n",
31+
" <img src=\"https://colab.research.google.com/assets/colab-badge.svg\" alt=\"Open in Colab\" height=\"20\">\n",
32+
"</a>\n",
33+
"\n",
3034
"# CompilerGym Getting Started\n",
3135
"\n",
3236
"CompilerGym is a toolkit for applying reinforcement learning to compiler optimization tasks. This document provides a short walkthrough of the key concepts, using the codesize reduction task of a production-grade compiler as an example. It will take about 20 minutes to work through. Lets get started!"

examples/rllib.ipynb

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,10 @@
2222
"id": "gsrdt9HooN9K"
2323
},
2424
"source": [
25+
"<a href=\"https://colab.research.google.com/github/facebookresearch/CompilerGym/blob/stable/examples/rllib.ipynb\">\n",
26+
" <img src=\"https://colab.research.google.com/assets/colab-badge.svg\" alt=\"Open in Colab\" height=\"20\">\n",
27+
"</a>\n",
28+
"\n",
2529
"# Using CompilerGym environments with RLlib\n",
2630
"\n",
2731
"In this notebook we will use [RLlib](https://docs.ray.io/en/master/rllib.html) to train an agent for CompilerGym's [LLVM environment](https://facebookresearch.github.io/CompilerGym/llvm/index.html). RLlib is a popular library for scalable reinforcement learning, built on [Ray](https://docs.ray.io/en/master/index.html). It provides distributed implementations of several standard reinforcement learning algorithms.\n",

0 commit comments

Comments
 (0)