You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
ifnotdevice_name.startswith('NVIDIA A100'):
cwd=pathlib.Path.cwd()
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")
ifsaved_configs.is_file():
importpicklewithopen(saved_configs, 'rb') asf:
print(f"Loading best configs from file {saved_configs}")
returnpickle.load(f)
returnNone
The text was updated successfully, but these errors were encountered:
As I mentioned in the question I understand the function of
segment-anything-fast/segment_anything_fast/flash_4.py
Line 148 in 2ed7d1a
However, rather than using A100 GPU instances
segment-anything-fast/segment_anything_fast/flash_4.py
Line 225 in 2ed7d1a
it was intended to use saved_config.
instead of
segment-anything-fast/segment_anything_fast/flash_4.py
Line 237 in 2ed7d1a
shouldn't be
The text was updated successfully, but these errors were encountered: