Skip to content

Commit

Permalink
fix bug in subnetwork extract test
Browse files Browse the repository at this point in the history
  • Loading branch information
rheasukthanker committed Jun 25, 2024
1 parent f2828b0 commit 70d7de1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test/test_extract.py
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ def test_extract_sub_network() -> None:

super_network = GPT(config)
sub_network_config = Config.from_name("pythia-14m")

sub_network_config.fix_head_size = False
super_network.eval()
super_network.set_sub_network(
sub_network_n_embd=sub_network_config.n_embd,
Expand Down

0 comments on commit 70d7de1

Please sign in to comment.