Skip to content

Commit

Permalink
Merge branch 'main' into dev
Browse files Browse the repository at this point in the history
  • Loading branch information
hellowaywewe authored Jan 26, 2022
2 parents 7207d82 + 1ab3723 commit 4fc6803
Show file tree
Hide file tree
Showing 2 changed files with 58 additions and 0 deletions.
29 changes: 29 additions & 0 deletions docs/en/source/quickstart/install.md
Original file line number Diff line number Diff line change
Expand Up @@ -123,3 +123,32 @@ If the output is similar to below, then the installation is valid
[[2. 2. 2.]
[2. 2. 2.]]
```

## Notes

When we use `TinyMS 0.3.1`, the following error may be reported

**Error Details:**

````
[ERROR] ME(24148:23792,MainProcess):2022-01-25-21:59:25.562.448 [mindspore\_extends\parse\parser.py:565] When eval 'P.tensor_add(identity, x)' by using Fallback feature, an error occurred: name 'identity' is not defined. You can try to turn off the Fallback feature by 'export MS_DEV_ENABLE_FALLBACK=0'.
````

**Solution:**

According to the error prompt, we can turn off the `Fallback feature` with the following command.

For general users, execute the following commands in the command line tool:

```shell
export MS_DEV_ENABLE_FALLBACK=0
````

For users using jupyter, execute the following command in the cell:

````python
!export MS_DEV_ENABLE_FALLBACK=0
````

If you report other error while using `TinyMS 0.3.1`, after you try to solve the error, there is still a problem, we welcome you to submit your issues and pull requests in our [community](https://github.com/tinyms-ai/tinyms), and we will reply you as soon as possible.

29 changes: 29 additions & 0 deletions docs/zh_CN/source/quickstart/install.md
Original file line number Diff line number Diff line change
Expand Up @@ -122,3 +122,32 @@ print(tensor_add(x, y))
[[2. 2. 2.]
[2. 2. 2.]]
```

## Notes

在我们使用`TinyMS 0.3.1`的时候可能会报以下错误

**错误详情:**

```
[ERROR] ME(24148:23792,MainProcess):2022-01-25-21:59:25.562.448 [mindspore\_extends\parse\parser.py:565] When eval 'P.tensor_add(identity, x)' by using Fallback feature, an error occurred: name 'identity' is not defined. You can try to turn off the Fallback feature by 'export MS_DEV_ENABLE_FALLBACK=0'.
```

**解决方案:**

根据错误提示,我们可以通过以下命令将`Fallback feature`关掉

对于一般用户,在命令行工具执行以下命令:

```shell
export MS_DEV_ENABLE_FALLBACK=0
```

对于使用jupyter的用户,在cell执行以下命令:

```python
!export MS_DEV_ENABLE_FALLBACK=0
```

如果您在使用`TinyMS 0.3.1`过程中报其它ERROR,在您尝试解决ERROR过后,依然有问题,欢迎您在我们的[社区](https://github.com/tinyms-ai/tinyms),提出您的Issues和Pull requests,我们会及时回复您。

0 comments on commit 4fc6803

Please sign in to comment.