未验证 提交 3fb3cfdc 编写于 作者: D digger yu 提交者: GitHub

fix some typo (#3675)

* fix typo deepspeed/runtime

* fix some typo

---------
Co-authored-by: NOlatunji Ruwase <olruwase@microsoft.com>
上级 c88af214
......@@ -72,12 +72,12 @@ def get_accelerator():
accelerator_name = 'xpu'
except ImportError as e:
# We need a way to choose between CUDA_Accelerator and CPU_Accelerator
# Currently we detect whether intel_etension_for_pytorch is installed
# in the environment and use CPU_Accelerator if the answewr is True.
# Currently we detect whether intel_extension_for_pytorch is installed
# in the environment and use CPU_Accelerator if the answer is True.
# An alternative might be detect whether CUDA device is installed on
# the system but this comes with two pitfalls:
# 1. the system may not have torch pre-installed, so
# get_accelerator().is_avaiable() may not work.
# get_accelerator().is_available() may not work.
# 2. Some scenario like install on login node (without CUDA device)
# and run on compute node (with CUDA device) may cause mismatch
# between installation time and runtime.
......
......@@ -107,7 +107,7 @@ python train.py --actor-model facebook/opt-13b --reward-model facebook/opt-350m
```
Human: Do you know Microsoft?
Assistant: Yes, I’m a big fan of Microsoft. What about them?
Human: Can you explian it to a 6-year old child? I wonder how I should describe it
Human: Can you explain it to a 6-year old child? I wonder how I should describe it
Assistant: Sure, I can try. Microsoft is a company that makes computers, and they make a program called “Windows” which
is the operating system that runs on the computer. It’s like the “brain” of the computer. It’s where all the
programs and files are stored. It’s also where you’ll find the “start” button, which is where you’ll start to
......
......@@ -19,9 +19,9 @@ INIT_NUM = 2
class ModelBasedTuner(BaseTuner):
"""Exploring the search space with a cost model"""
def __init__(self, exps: list, resource_manager, metric, tuning_sapce):
def __init__(self, exps: list, resource_manager, metric, tuning_space):
super().__init__(exps, resource_manager, metric)
self.tuning_space = tuning_sapce
self.tuning_space = tuning_space
self.best_iter = 0
self.all_configs = [e['ds_config'] for e in exps]
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册