Fix gemlite import (#2553)
This commit is contained in:
@@ -386,18 +386,6 @@ def latency_test(
|
||||
server_args.device,
|
||||
)
|
||||
|
||||
try:
|
||||
import os
|
||||
import pwd
|
||||
|
||||
from gemlite.core import GemLiteLinearTriton
|
||||
|
||||
GemLiteLinearTriton.cache_config(
|
||||
f"/tmp/{pwd.getpwuid(os.getuid()).pw_gecos}_gemlite.json"
|
||||
)
|
||||
except ImportError:
|
||||
pass
|
||||
|
||||
rank_print("Benchmark ...")
|
||||
|
||||
# Run the sweep
|
||||
|
||||
Reference in New Issue
Block a user