Skip to content

fix wandb weights logging #88

Merged
p-ferreira merged 1 commit intostagingfrom
fix/weights-wandb-log
Jul 13, 2023
Merged

fix wandb weights logging #88
p-ferreira merged 1 commit intostagingfrom
fix/weights-wandb-log

Conversation

@p-ferreira
Copy link
Contributor

Problem:

The current implementation that logs weights to wandb gets converted to a wandb histogram of 32 bins in the run dataset, complicating individual uid-weight tracking.

Solution:

It seems that this is the default behavior of wandb while working with raw tensors, converting the tensor to a list does the job of logging all the 1024 weights uids correctly.

Note: Unfortunately wandb histograms are limited to 512 bins max

Example run:
https://wandb.ai/opentensor-dev/openvalidators/runs/ahics286

@p-ferreira p-ferreira merged commit a7dd867 into staging Jul 13, 2023
@p-ferreira p-ferreira deleted the fix/weights-wandb-log branch August 1, 2023 17:52
@p-ferreira p-ferreira mentioned this pull request Aug 1, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant