Spaces:
Running
on
Zero
Running
on
Zero
Update setup_environment.py
Browse files- setup_environment.py +7 -7
setup_environment.py
CHANGED
@@ -78,11 +78,11 @@ def check_stf_alternative_installed():
|
|
78 |
else:
|
79 |
print("stf-alternative ํจํค์ง๊ฐ ์ค์น๋์ง ์์์ต๋๋ค.")
|
80 |
|
81 |
-
# ์ถ๋ ฅ์์ stf-alternative ํจํค์ง๊ฐ ์๋์ง ํ์ธ
|
82 |
-
if "stf-tools" in result.stdout:
|
83 |
-
|
84 |
-
else:
|
85 |
-
|
86 |
|
87 |
|
88 |
# ์ถ๊ฐ๋ ํจ์๋ค: 'libcublasLt.so.11'์ ๊ฒฝ๋ก๋ฅผ ์ฐพ์ LD_LIBRARY_PATH์ ์ถ๊ฐํ๋ ํจ์
|
@@ -128,8 +128,8 @@ def initialize_environment():
|
|
128 |
# stf-api-alternative์์ pip install . ์คํ
|
129 |
run_pip_install("/home/user/app/stf/stf-api-alternative")
|
130 |
|
131 |
-
# stf-api-tools์์ pip install . ์คํ
|
132 |
-
run_pip_install("/home/user/app/stf/stf-api-tools")
|
133 |
|
134 |
# PYTHONPATH ์ค์
|
135 |
set_pythonpath()
|
|
|
78 |
else:
|
79 |
print("stf-alternative ํจํค์ง๊ฐ ์ค์น๋์ง ์์์ต๋๋ค.")
|
80 |
|
81 |
+
# # ์ถ๋ ฅ์์ stf-alternative ํจํค์ง๊ฐ ์๋์ง ํ์ธ
|
82 |
+
# if "stf-tools" in result.stdout:
|
83 |
+
# print("stf-tools ํจํค์ง๊ฐ ์ค์น๋์ด ์์ต๋๋ค.")
|
84 |
+
# else:
|
85 |
+
# print("stf-tools ํจํค์ง๊ฐ ์ค์น๋์ง ์์์ต๋๋ค.")
|
86 |
|
87 |
|
88 |
# ์ถ๊ฐ๋ ํจ์๋ค: 'libcublasLt.so.11'์ ๊ฒฝ๋ก๋ฅผ ์ฐพ์ LD_LIBRARY_PATH์ ์ถ๊ฐํ๋ ํจ์
|
|
|
128 |
# stf-api-alternative์์ pip install . ์คํ
|
129 |
run_pip_install("/home/user/app/stf/stf-api-alternative")
|
130 |
|
131 |
+
# # stf-api-tools์์ pip install . ์คํ
|
132 |
+
# run_pip_install("/home/user/app/stf/stf-api-tools")
|
133 |
|
134 |
# PYTHONPATH ์ค์
|
135 |
set_pythonpath()
|