Explorar o código

Update tests/test_block_exact_match.py

Co-authored-by: Alexander Borzunov <hxrussia@gmail.com>
justheuristic %!s(int64=3) %!d(string=hai) anos
pai
achega
0dbc2ac838
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      tests/test_block_exact_match.py

+ 1 - 1
tests/test_block_exact_match.py

@@ -17,7 +17,7 @@ from src.dht_utils import get_remote_module
 @pytest.mark.forked
 def test_remote_block_exact_match(atol_forward=1e-5, atol_inference=1e-3):
     dht = hivemind.DHT(initial_peers=INITIAL_PEERS, client_mode=True, start=True)
-    config = src.DistributedBloomConfig.from_pretrained(MODEL_NAME)
+    config = DistributedBloomConfig.from_pretrained(MODEL_NAME)
 
     for block_index in random.sample(range(config.n_layer), 3):
         remote_block = get_remote_module(dht, f"{MODEL_NAME}{UID_DELIMITER}{block_index}", config)