Skip to content

Commit

Permalink
debug
Browse files Browse the repository at this point in the history
  • Loading branch information
zhenglongjiepheonix committed Jul 13, 2024
1 parent 0512b23 commit 8ec6727
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
3 changes: 2 additions & 1 deletion .github/workflows/test_fx_automatic_parallel.yml
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,8 @@ jobs:
container:
image: ${{ matrix.config.image }}
options: --mount type=tmpfs,destination=/tmp --shm-size 64gb --gpus all --ipc host -v /mnt/hf_cache:/mnt/cache/

env:
NCCL_DEBUG: INFO
defaults:
run:
shell: bash
Expand Down
1 change: 1 addition & 0 deletions optimum/fx/parallelization/passes.py
Original file line number Diff line number Diff line change
Expand Up @@ -426,6 +426,7 @@ def handle_embedding(node: Node, ctx: ParallelExecutionCtx) -> None:
if key in layer_cache:
new_mod = layer_cache[key]
else:
assert ctx.compile_times == 0, "illegal path for recompilation"
new_mod = VocabParallelEmbedding(ctx, mod)
layer_cache[key] = new_mod
setattr(parent_mod, field, new_mod)
Expand Down

0 comments on commit 8ec6727

Please sign in to comment.