Skip to content

Commit

Permalink
fix typo with environment_viriables
Browse files Browse the repository at this point in the history
  • Loading branch information
digger-yu committed Jul 13, 2023
1 parent 11d6547 commit b95186d
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions docs/source/environment_variables.rst
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ OneFlow has an extensive set of environment variables to tune for specific usage
`ONEFLOW_COMM_NET_IB_HCA <https://github.com/Oneflow-Inc/oneflow/blob/v0.9.0/oneflow/core/comm_network/ibverbs/ibverbs_comm_network.cpp#L47>`_
---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------

When there are multiple IB NIC(which can be checked by ``ibstatus`` on the server, the system uses the first IB NIC for comm_net communication by default.
When there are multiple IB NIC(which can be checked by ``ibstatus`` on the server), the system uses the first IB NIC for comm_net communication by default.

When this environment variable is set, the system will check all IB NIC and find the NIC with the corresponding name. `#5626 <https://github.com/Oneflow-Inc/oneflow/pull/5626>`_

Expand Down Expand Up @@ -409,7 +409,7 @@ Specify SBP derivation rules

Values accepted
^^^^^^^^^^^^^^^
When the default vaule is ``1`` , select the SBP that satisfies the producer or the SBP with the smallest cost as much as possible.
When the default value is ``1`` , select the SBP that satisfies the producer or the SBP with the smallest cost as much as possible.

When the default value is ``2``, select the SBP that matches the most.

Expand Down

0 comments on commit b95186d

Please sign in to comment.