Skip to content

Commit 118dd08

Browse files
committed
Try with python 3.12
1 parent 4487087 commit 118dd08

File tree

2 files changed

+1
-7
lines changed

2 files changed

+1
-7
lines changed

src/model.py

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -207,12 +207,6 @@ def initialize(self, args):
207207
"Torch parallelism settings " + for_model + ": " + setting_msg
208208
)
209209

210-
# Print out python version
211-
print(
212-
f"Python version is {sys.version_info.major}.{sys.version_info.minor}",
213-
flush=True,
214-
)
215-
216210
self._infer_mode = torch.inference_mode(mode=True)
217211
self._infer_mode.__enter__()
218212

tools/gen_pb_exec_env.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ bash Miniconda3-py312_24.9.2-0-Linux-x86_64.sh -p ./miniconda -b
3232
eval "$(./miniconda/bin/conda shell.bash hook)"
3333

3434
# create conda environment
35-
conda create -n pt python=3.10 -y
35+
conda create -n pt python=3.12 -y
3636
conda activate pt
3737
conda install -c conda-forge conda-pack -y
3838

0 commit comments

Comments
 (0)