Skip to content

Commit

Permalink
chore: release notes + version
Browse files Browse the repository at this point in the history
fix: weights to torch
  • Loading branch information
gus-opentensor committed Jun 3, 2024
1 parent c38da2b commit d3d3dc5
Show file tree
Hide file tree
Showing 4 changed files with 13 additions and 3 deletions.
10 changes: 10 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,15 @@
# Changelog

## 7.0.1 / 2024-05-31

## What's Changed
* Release/7.0.0 by @gus-opentensor in https://github.com/opentensor/bittensor/pull/1899
* Fix return of ip version. by @opendansor in https://github.com/opentensor/bittensor/pull/1961


**Full Changelog**: https://github.com/opentensor/bittensor/compare/v7.0.0...v7.0.1


## 7.0.0 / 2024-05-29

## What's Changed
Expand Down
2 changes: 1 addition & 1 deletion VERSION
Original file line number Diff line number Diff line change
@@ -1 +1 @@
7.0.0
7.0.1
2 changes: 1 addition & 1 deletion bittensor/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@
nest_asyncio.apply()

# Bittensor code and protocol version.
__version__ = "7.0.0"
__version__ = "7.0.1"

version_split = __version__.split(".")
__version_as_int__: int = (
Expand Down
2 changes: 1 addition & 1 deletion bittensor/utils/weight_utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -251,7 +251,7 @@ def process_weights_for_netuid(
metagraph = subtensor.metagraph(netuid)

# Cast weights to floats.
if not use_torch():
if use_torch():
if not isinstance(weights, torch.FloatTensor):
weights = weights.type(torch.float32)
else:
Expand Down

0 comments on commit d3d3dc5

Please sign in to comment.