-
Notifications
You must be signed in to change notification settings - Fork 455
Closed
Labels
bugSomething isn't workingSomething isn't working
Description
Environment
Colab
- OS: [Ubuntu 18.04]
- Hardware (GPU, or instance type): [T4, not Pro]
To reproduce
Steps to reproduce the behavior:
- Install
mosaicml
in Colab - Create a
Trainer
with any model
Expected behavior
Constructing a Trainer
does not produce an UnsupportedOperation
error.
Currently, it errors out like this:
[/usr/local/lib/python3.7/dist-packages/composer/core/engine.py](https://localhost:8080/#) in _run_callbacks(self, event)
372 with ctx:
373 self._debug_log(event, f'Running callback {type(cb).__name__}')
--> 374 cb.run_event(event, self.state, self.logger)
375
376 def __del__(self):
[/usr/local/lib/python3.7/dist-packages/composer/core/callback.py](https://localhost:8080/#) in run_event(self, event, state, logger)
94 """
95 event_cb = getattr(self, event.value)
---> 96 return event_cb(state, logger)
97
98 def init(self, state: State, logger: Logger) -> None:
[/usr/local/lib/python3.7/dist-packages/composer/loggers/progress_bar_logger.py](https://localhost:8080/#) in init(***failed resolving arguments***)
283 keys_to_log=[],
284 bar_format='{bar:-1b}',
--> 285 timestamp_key='',
286 )
287
[/usr/local/lib/python3.7/dist-packages/composer/loggers/progress_bar_logger.py](https://localhost:8080/#) in __init__(self, total, position, bar_format, file, metrics, keys_to_log, timestamp_key, unit)
41 self.timestamp_key = timestamp_key
42 self.file = file
---> 43 is_atty = os.isatty(self.file.fileno())
44 self.pbar = tqdm.auto.tqdm(
45 total=total,
Additional context
This seems to only be an issue in Colab and not in CLI.
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't working