Skip to content

Commit

Permalink
fix gpubox error (PaddlePaddle#1006)
Browse files Browse the repository at this point in the history
* disable pir in all ps mode for Paddle 3.0

* fix gpubox error
  • Loading branch information
fightfat authored Sep 13, 2024
1 parent a28e3f4 commit 25be623
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tools/static_gpubox_trainer.py
Original file line number Diff line number Diff line change
Expand Up @@ -12,9 +12,9 @@
# See the License for the specific language governing permissions and
# limitations under the License.

from __future__ import print_function
import os
os.environ['FLAGS_enable_pir_api'] = '0'
from __future__ import print_function
from utils.static_ps.reader_helper import get_reader, get_example_num, get_file_list, get_word_num
from utils.static_ps.program_helper import get_model, get_strategy
from utils.static_ps.common_ps import YamlHelper, is_distributed_env
Expand Down

0 comments on commit 25be623

Please sign in to comment.