Skip to content

Commit

Permalink
transformers backend: remove version logging
Browse files Browse the repository at this point in the history
  • Loading branch information
lbeurerkellner committed Oct 14, 2023
1 parent 9f37e57 commit d7a9572
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion src/lmql/models/lmtp/backends/transformers_model.py
Original file line number Diff line number Diff line change
Expand Up @@ -144,7 +144,6 @@ def version_info(self):
# use pip to get version (doesn not have __version__ attribute)
import subprocess
result = subprocess.run(["pip", "show", "bitsandbytes"], capture_output=True)
print(result)
if result.returncode == 0:
version_info["bitsandbytes"] = result.stdout.decode("utf-8").split("\n")[1].split(":")[1].strip()
except:
Expand Down

0 comments on commit d7a9572

Please sign in to comment.