Commit 8cda1a4
Add new argument for sharding type (#2969)
Summary:
Pull Request resolved: #2969
Add new arg to `shard_quant_model` to allow users to specify sharding_type, which is currently hardcoded to `ShardingType.TABLE_WISE`.
Still use `ShardingType.TABLE_WISE` as default value so there is no impact.
Reviewed By: aporialiao
Differential Revision: D73540534
fbshipit-source-id: bebefd06f38b98df23120e3a1217b5d5e92a357b1 parent cc7f1d0 commit 8cda1a4
1 file changed
+6
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
499 | 499 | | |
500 | 500 | | |
501 | 501 | | |
| 502 | + | |
502 | 503 | | |
503 | 504 | | |
504 | 505 | | |
| |||
534 | 535 | | |
535 | 536 | | |
536 | 537 | | |
| 538 | + | |
| 539 | + | |
| 540 | + | |
| 541 | + | |
537 | 542 | | |
538 | 543 | | |
539 | 544 | | |
| |||
552 | 557 | | |
553 | 558 | | |
554 | 559 | | |
555 | | - | |
| 560 | + | |
556 | 561 | | |
557 | 562 | | |
558 | 563 | | |
| |||
0 commit comments