vahe1994 1 年之前
父節點
當前提交
52c6e5faea
共有 1 個文件被更改,包括 1 次插入1 次删除
  1. 1 1
      src/petals/server/from_pretrained.py

+ 1 - 1
src/petals/server/from_pretrained.py

@@ -52,7 +52,7 @@ def load_pretrained_block(
 
     assert torch_dtype in DTYPE_MAP.values(), f"torch_dtype must be one of {list(DTYPE_MAP.values())}"
     torch_dtype = resolve_block_dtype(config, torch_dtype)
-
+    print("block_index",block_index)
     with init_empty_weights():
         block = get_model_block(config, layer_idx=block_index)