Skip to content

Commit 425715c

Browse files
committed
Remove COG_EAGER_IMPORTS from fast path
1 parent c417cec commit 425715c

File tree

1 file changed

+0
-7
lines changed

1 file changed

+0
-7
lines changed

pkg/web/client.go

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,6 @@ type Env struct {
4949
CogTrainTypeStub string `json:"COG_TRAIN_TYPE_STUB"`
5050
CogPredictCodeStrip string `json:"COG_PREDICT_CODE_STRIP"`
5151
CogTrainCodeStrip string `json:"COG_TRAIN_CODE_STRIP"`
52-
CogEagerImports string `json:"COG_EAGER_IMPORTS"`
5352
R8CogVersion string `json:"R8_COG_VERSION"`
5453
R8CudaVersion string `json:"R8_CUDA_VERSION"`
5554
R8CudnnVersion string `json:"R8_CUDNN_VERSION"`
@@ -203,18 +202,12 @@ func (c *Client) versionFromManifest(image string, weights []File, files []File)
203202
}
204203
}
205204

206-
eagerImports := ""
207-
if torchVersion != "" {
208-
eagerImports = "torch"
209-
}
210-
211205
env := Env{
212206
CogGpu: strconv.Itoa(cogGPU),
213207
CogPredictTypeStub: cogConfig.Predict,
214208
CogTrainTypeStub: cogConfig.Train,
215209
CogPredictCodeStrip: predictCode,
216210
CogTrainCodeStrip: trainCode,
217-
CogEagerImports: eagerImports,
218211
R8CogVersion: cogVersion,
219212
R8CudaVersion: cudaVersion,
220213
R8CudnnVersion: cudnnVersion,

0 commit comments

Comments
 (0)