Skip to content

Commit

Permalink
Fix load local config for non-A100 setup (#100)
Browse files Browse the repository at this point in the history
  • Loading branch information
cpuhrsch authored Dec 8, 2023
1 parent ceaae4b commit d40f920
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion segment_anything_fast/flash_4.py
Original file line number Diff line number Diff line change
Expand Up @@ -234,7 +234,6 @@ def _load_best_configs():
saved_configs = cwd / "flash_4_configs.p"
print(f"We will try to read previously created kernel configurations from {saved_configs}.")
print("You can disable this kernel by setting SEGMENT_ANYTHING_FAST_USE_FLASH_4=0")
return None
if saved_configs.is_file():
import pickle
with open(saved_configs, 'rb') as f:
Expand Down

0 comments on commit d40f920

Please sign in to comment.