Skip to content

Commit

Permalink
For testing
Browse files Browse the repository at this point in the history
  • Loading branch information
krishung5 committed Nov 14, 2024
1 parent 63598a2 commit 4487087
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 1 deletion.
6 changes: 6 additions & 0 deletions src/model.py
Original file line number Diff line number Diff line change
Expand Up @@ -207,6 +207,12 @@ def initialize(self, args):
"Torch parallelism settings " + for_model + ": " + setting_msg
)

# Print out python version
print(
f"Python version is {sys.version_info.major}.{sys.version_info.minor}",
flush=True,
)

self._infer_mode = torch.inference_mode(mode=True)
self._infer_mode.__enter__()

Expand Down
1 change: 0 additions & 1 deletion tools/gen_pb_exec_env.sh
Original file line number Diff line number Diff line change
Expand Up @@ -49,4 +49,3 @@ conda pack -o pb_exec_env_model.py.tar.gz

# deactivate conda
conda deactivate
conda deactivate

0 comments on commit 4487087

Please sign in to comment.