Spaces:
Paused
Paused
Download preprocess/tools/note_transcription/utils/commons/single_thread_env.py from aiqtech/SoulX-Singer: direct link, hf CLI and curl.
- Browser
- Download file 133 Bytes
-
https://huggingface.co/spaces/aiqtech/SoulX-Singer/resolve/main/preprocess/tools/note_transcription/utils/commons/single_thread_env.py
- Command line
-
hf download hf://spaces/aiqtech/SoulX-Singer/preprocess/tools/note_transcription/utils/commons/single_thread_env.py
-
curl -L -o single_thread_env.py https://huggingface.co/spaces/aiqtech/SoulX-Singer/resolve/main/preprocess/tools/note_transcription/utils/commons/single_thread_env.py
133 Bytes
| import os | |
| os.environ["OMP_NUM_THREADS"] = "1" | |
| os.environ['TF_NUM_INTEROP_THREADS'] = '1' | |
| os.environ['TF_NUM_INTRAOP_THREADS'] = '1' | |