Scenario Description
If you want the files generated during program building and running to be flushed to a unified directory, you can set the environment variables ASCEND_CACHE_PATH and ASCEND_WORK_PATH to storage paths of shared files and process-exclusive files, respectively.
The common application scenarios are as follows:
- In the multi-server or single-server scenario, you can use the two environment variables in this chapter to unify the paths of flushed files.
- If multiple servers share the same network disk, you can share the knowledge base to accelerate network build.
- In the single-server multi-device scenario, multiple devices can share the operator build cache file to accelerate network build.
Parent topic: Files Flushed to Disks