Skip to content

fidoriel/Trackio.jl

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

trackio.jl

This is a trackio client for julia. It was ported with ai from py to jl.

Demo

By default, Trackio.jl logs locally to the same SQLite directory used by Python Trackio:

using Trackio

run = Trackio.init("julia-client-demo-project"; name = "local-demo")
Trackio.log(run, Dict("loss" => 0.5))
Trackio.finish(run)

Open the Python dashboard against the same local data:

uv tool run trackio show --project julia-client-demo-project

If you want to try a local self hosted server:

uv venv
uv pip install trackio
uv run python -c 'import trackio.server as server; server.write_token = "dev-token"; import trackio; trackio.show(project="julia-client-demo-project", host="127.0.0.1", server_port=7860, open_browser=False)'
export TRACKIO_SERVER_URL="http://127.0.0.1:7860"
export TRACKIO_WRITE_TOKEN="dev-token"

Remote logging must opt in with report_to = :remote. The examples/log_everything.jl demo does this for you.

Alternatively, if you want to log to a Hugging Face Space instead of a local server:

export TRACKIO_SPACE_ID="your-user/your-trackio-space"
export HF_TOKEN="hf_..."

Run the example

julia --project=. examples/log_everything.jl

Dev

make format

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

Packages

Contributors

Languages