kadirnar commited on
Commit
39f5688
·
verified ·
1 Parent(s): d965c47

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -10,7 +10,7 @@ from transformers import T5ForConditionalGeneration, T5Tokenizer
10
  import os
11
 
12
  subprocess.run('pip install flash-attn --no-build-isolation', env={'FLASH_ATTENTION_SKIP_CUDA_BUILD': "TRUE"}, shell=True)
13
-
14
  def install_apex():
15
  # Apex reposunu klonla (eğer zaten klonlanmamışsa)
16
  if not os.path.exists('apex'):
@@ -37,7 +37,7 @@ except ModuleNotFoundError:
37
  install_apex()
38
  # Kurulumdan sonra apex'i import etmeyi dene
39
  import apex
40
-
41
 
42
 
43
 
 
10
  import os
11
 
12
  subprocess.run('pip install flash-attn --no-build-isolation', env={'FLASH_ATTENTION_SKIP_CUDA_BUILD': "TRUE"}, shell=True)
13
+ """
14
  def install_apex():
15
  # Apex reposunu klonla (eğer zaten klonlanmamışsa)
16
  if not os.path.exists('apex'):
 
37
  install_apex()
38
  # Kurulumdan sonra apex'i import etmeyi dene
39
  import apex
40
+ """
41
 
42
 
43