Skip to content

Commit f30aeb4

Browse files
committed
Add CPU version of Torch to Github workflow
1 parent b06dff3 commit f30aeb4

3 files changed

Lines changed: 14 additions & 0 deletions

File tree

.github/workflows/render-and-publish.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,7 @@ jobs:
2323
- name: Install dependencies
2424
run: |
2525
pip install plotly kaleido
26+
pip install --index-url https://download.pytorch.org/whl/cpu torch
2627
2728
- name: Set up Java
2829
uses: actions/setup-java@v4

src/ppo/main.clj

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
^{:kindly/hide-code true
2+
:clay {:title "Proximal Policy Optimization with Clojure and Pytorch"
3+
:external-requirements []
4+
:quarto {:author [:janwedekind]
5+
:draft true
6+
:description "A Clojure port of Jinghao's PPO implementation using Pytorch and Quil"
7+
:image "pendulum.png"
8+
:type :post
9+
:date "2026-04-18"
10+
:category :ml
11+
:tags [:physics :machine-learning :optimization :ppo :control]}}}
12+
13+
(ns ppo.main)

src/ppo/pendulum.png

6.34 KB
Loading

0 commit comments

Comments
 (0)