IMPORTANT: At the VERY START of any coding task, you MUST:
- Create a new branch using the format:
claude-session-YYYYMMDD-[topic] - Push the branch to origin
- Start committing changes immediately
| # train_grpo.py | |
| # | |
| # See https://github.com/willccbb/verifiers for ongoing developments | |
| # | |
| """ | |
| citation: | |
| @misc{brown2025grpodemo, | |
| title={Granular Format Rewards for Eliciting Mathematical Reasoning Capabilities in Small Language Models}, | |
| author={Brown, William}, |
# step 0 - cleanup your existing drivers
sudo apt-get --purge remove "*nvidia*"
sudo apt-get --purge remove "*cuda*" "*cudnn*" "*cublas*" "*cufft*" "*cufile*" "*curand*" "*cusolver*" "*cusparse*" "*gds-tools*" "*npp*" "*nvjpeg*" "nsight*" "*nvvm*" "*libnccl*"
# step 0.1 - disable iommu
ll /sys/class/iommu/
# if this folder is empty, continue
# if the folder is not empty, see https://docs.dolphinics.com/latest/guides/iommu.htmlGuide to using MakeSelf tool to create self-extracting shell scripts for easy distribution
How to package your shell scripts project as a release which can be easily downloaded, extracted, and run.
This is intended to work with one or more executable scripts that use a shell shebang. This could work with other shebangs I guss, but you're probably better off using the packaging approach for that language.
This guide is written for macOS / Linux.
| FROM jenkins/jenkins:2.204.5 | |
| RUN /usr/local/bin/install-plugins.sh ssh-slaves | |
| RUN /usr/local/bin/install-plugins.sh kubernetes | |
| USER root | |
| RUN apt-get update && apt-get install -y maven | |
| USER jenkins |
| #!/bin/bash | |
| fuser -k /dev/net/tun | |
| # delete tap0 | |
| ip tuntap del dev tap0 mode tap | |
| # add tap0 | |
| ip tuntap add dev tap0 mode tap | |
| ip link set dev tap0 up | |
| ip addr add dev tap0 10.0.0.1/24 |
| {0: 'tench, Tinca tinca', | |
| 1: 'goldfish, Carassius auratus', | |
| 2: 'great white shark, white shark, man-eater, man-eating shark, Carcharodon carcharias', | |
| 3: 'tiger shark, Galeocerdo cuvieri', | |
| 4: 'hammerhead, hammerhead shark', | |
| 5: 'electric ray, crampfish, numbfish, torpedo', | |
| 6: 'stingray', | |
| 7: 'cock', | |
| 8: 'hen', | |
| 9: 'ostrich, Struthio camelus', |
| sudo iptables -A PREROUTING -t nat -i eth0 -p tcp --dport 80 -j REDIRECT --to-port 8080 | |
| sudo iptables -A PREROUTING -t nat -i eth0 -p tcp --dport 443 -j REDIRECT --to-port 8443 | |
| sudo sh -c "iptables-save > /etc/iptables.rules" | |
| sudo apt-get install iptables-persistent |
NOTE: The zedBoard flow has not been verified
Note: This xapp requires using a Linux host to compile the embedded Linux kernel. The instructions have been
setup such that all implementation work will be done in a directory called xapp1078_2014.4/design and all linux
work will be done in a directory called xapp1078_2014.4/plnx-project. The instructions will require files to be
copied between xapp1078_2014.4/design and xapp1078_2014.4/plnx-project so if the Vivado and SDK tools are ran on
a Windows machine, the files will need to be copied from the Windows xapp1078_2014.4/design to the Linux
machine's xapp1078_2014.4/plnx-project.