已合并
修复部分st问题 #481
pengnuoheng创建于 2025年7月15日
修复部分st问题 #481
已合并
pengnuoheng创建于 2025年7月15日
refs/pull/481/head合入到master
4 个文件变更+4-1
@@ -279,7 +279,7 @@ def metrics_sort(metrics, time_all) -> Dict[str, Tensor]:
279 return sorted_metric279 return sorted_metric
280 280 
281 281 
282-def compute_tps(compute_kwargs, metrics_result, gbs, n_samples, time_all, log_max_throughput):282+def compute_tps(compute_kwargs, metrics_result, gbs, n_samples, time_all, log_max_throughput=False):
283 actor_resource = compute_kwargs.get('actor_resource', {})283 actor_resource = compute_kwargs.get('actor_resource', {})
284 reference_resource = compute_kwargs.get('reference_resource', {})284 reference_resource = compute_kwargs.get('reference_resource', {})
285 reward_resource = compute_kwargs.get('reward_resource', None)285 reward_resource = compute_kwargs.get('reward_resource', None)
@@ -1,4 +1,5 @@
1#!/bin/bash1#!/bin/bash
2+set -e # 开启错误检测,当脚本中的任何命令返回非零退出状态时,立即退出脚本的执行。
2export CUDA_DEVICE_MAX_CONNECTIONS=13export CUDA_DEVICE_MAX_CONNECTIONS=1
3export HCCL_DETERMINISTIC=True4export HCCL_DETERMINISTIC=True
4 5 
@@ -1,4 +1,5 @@
1#!/bin/bash1#!/bin/bash
2+set -e # 开启错误检测,当脚本中的任何命令返回非零退出状态时,立即退出脚本的执行。
2export CUDA_DEVICE_MAX_CONNECTIONS=13export CUDA_DEVICE_MAX_CONNECTIONS=1
3export HCCL_DETERMINISTIC=True4export HCCL_DETERMINISTIC=True
4 5 
@@ -1,4 +1,5 @@
1#!/bin/bash1#!/bin/bash
2+set -e # 开启错误检测,当脚本中的任何命令返回非零退出状态时,立即退出脚本的执行。
2export CUDA_DEVICE_MAX_CONNECTIONS=13export CUDA_DEVICE_MAX_CONNECTIONS=1
3export HCCL_DETERMINISTIC=True4export HCCL_DETERMINISTIC=True
4export HCCL_HOST_SOCKET_PORT_RANGE="60000-60050"5export HCCL_HOST_SOCKET_PORT_RANGE="60000-60050"