sync learned_computer: 3 files from /dev/shm/neucpu
Browse filesFiles changed (3)
- neucpu/hfsync_cpu.shAdded+10
- neucpu/logs/hfsync.logAdded
- neucpu/mkrepos.pyAdded+5
12345678910#!/bin/bash# push learned-computer checkpoints, code, rollouts and data to private HF repos as they appearcd /dev/shm/neucpuexec /dev/shm/nomas/hyenv/bin/python -u /dev/shm/nomas/hf_sync.py --name learned_computer --every 300 --settle 90 \ --map /dev/shm/neucpu=model:Prahaladha/learned-computer:neucpu \ --map /dev/shm/neurv=model:Prahaladha/learned-computer:neurv \ --map $HOME/neurv_data=dataset:Prahaladha/learned-computer-data:rv32 \ --exclude 'neucpu/__pycache__/*' --exclude 'neucpu/*.tar' \ --exclude 'neurv/pkgs/*' --exclude 'neurv/zigcache/*' --exclude 'neurv/uvcache/*' --exclude 'neurv/src/*' --exclude 'neurv/tmp/*' --exclude 'neurv/*.tar' --exclude 'neurv/__pycache__/*' \ > /dev/shm/neucpu/logs/hfsync.log 2>&112345from huggingface_hub import HfApiapi = HfApi(token=open("/dev/shm/nomas/.hf_token").read().strip())for rid, rtype in (("Prahaladha/learned-computer", "model"), ("Prahaladha/learned-computer-data", "dataset")): u = api.create_repo(rid, repo_type=rtype, private=True, exist_ok=True) print("REPO_OK", rid, rtype)neucpu/hfsync_cpu.shAdded+10
neucpu/logs/hfsync.logAdded
neucpu/mkrepos.pyAdded+5