mirror of
https://github.com/microsoft/autogen.git
synced 2026-04-20 03:02:16 -04:00
committed by
GitHub
parent
74557472ec
commit
0df54ec3f3
@@ -2287,7 +2287,7 @@ class TemporalFusionTransformerEstimator(SKLearnEstimator):
|
||||
kwargs.get("log_dir", "lightning_logs")
|
||||
) # logging results to a tensorboard
|
||||
default_trainer_kwargs = dict(
|
||||
gpus=self._kwargs.get("gpu_per_trial", [0])
|
||||
gpus=kwargs.get("gpu_per_trial", [0])
|
||||
if torch.cuda.is_available()
|
||||
else None,
|
||||
max_epochs=max_epochs,
|
||||
|
||||
Reference in New Issue
Block a user