turome-learning commited on
Commit
7514f6b
·
verified ·
1 Parent(s): 53dcff5

Update main.py

Browse files
Files changed (1) hide show
  1. main.py +5 -0
main.py CHANGED
@@ -3,6 +3,11 @@ import os
3
  os.environ["HUGGINGFACE_HUB_CACHE"] = "/tmp/huggingface_cache"
4
  os.makedirs("/tmp/huggingface_cache", exist_ok=True)
5
 
 
 
 
 
 
6
  import torch
7
  import numpy as np
8
  from PIL import Image
 
3
  os.environ["HUGGINGFACE_HUB_CACHE"] = "/tmp/huggingface_cache"
4
  os.makedirs("/tmp/huggingface_cache", exist_ok=True)
5
 
6
+ os.environ["NUMBA_CACHE_DIR"] = "/tmp/numba_cache"
7
+
8
+ # Create the directory
9
+ os.makedirs("/tmp/numba_cache", exist_ok=True)
10
+
11
  import torch
12
  import numpy as np
13
  from PIL import Image