SeanScripts commited on
Commit
c119e42
1 Parent(s): 55ae3f5

Update README.md

Browse files
Files changed (1) hide show
  1. README.md +1 -1
README.md CHANGED
@@ -28,7 +28,7 @@ device_map = {
28
  "model.transformer.ln_f": 0,
29
  "model.transformer.ff_out": 1,
30
  }
31
- # For 2 x 24 GB, this works for *only* 38 or 39. Any higher or lower and it'll either only work for <= 1 token of output.
32
  switch_point = 38 # layer index to switch to second GPU
33
  device_map |= {f"model.transformer.blocks.{i}": 0 for i in range(0, switch_point)}
34
  device_map |= {f"model.transformer.blocks.{i}": 1 for i in range(switch_point, 80)}
 
28
  "model.transformer.ln_f": 0,
29
  "model.transformer.ff_out": 1,
30
  }
31
+ # For 2 x 24 GB, this works for *only* 38 or 39. Any higher or lower and it'll either only work for 1 token of output or fail completely.
32
  switch_point = 38 # layer index to switch to second GPU
33
  device_map |= {f"model.transformer.blocks.{i}": 0 for i in range(0, switch_point)}
34
  device_map |= {f"model.transformer.blocks.{i}": 1 for i in range(switch_point, 80)}