deepspeedai / deepspeedai/DeepSpeedExamples
Missing dependence in requirement.txt of applications/DeepSpeed-VisualChat
Nobody has claimed this yet.
- Dominant language
- Python
- Stars
- 6.8k
- Forks
- 1.1k
- Avg merge
- 2d 16h
- Merged PRs (30d)
- 1
Description
We should add tensorboard to the requirement.txt, the moniter of deepspeed require it.
Traceback (most recent call last):
File "/autofs/nccs-svm1_home1/lfsm/code/DeepSpeedExamples/applications/DeepSpeed-VisualChat/training/main.py", line 442, in
main()
File "/autofs/nccs-svm1_home1/lfsm/code/DeepSpeedExamples/applications/DeepSpeed-VisualChat/training/main.py", line 336, in main
model, optimizer, _, lr_scheduler = deepspeed.initialize(
^^^^^^^^^^^^^^^^^^^^^
File "/ccs/home/lfsm/miniconda3/lib/python3.11/site-packages/deepspeed/init.py", line 171, in initialize
engine = DeepSpeedEngine(args=args,
^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/ccs/home/lfsm/miniconda3/lib/python3.11/site-packages/deepspeed/runtime/engine.py", line 252, in init
self.monitor = MonitorMaster(self._config.monitor_config)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/ccs/home/lfsm/miniconda3/lib/python3.11/site-packages/deepspeed/monitor/monitor.py", line 40, in init
self.tb_monitor = TensorBoardMonitor(monitor_config.tensorboard)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/ccs/home/lfsm/miniconda3/lib/python3.11/site-packages/deepspeed/monitor/tensorboard.py", line 17, in init
check_tb_availability()
File "/ccs/home/lfsm/miniconda3/lib/python3.11/site-packages/deepspeed/monitor/utils.py", line 11, in check_tb_availability
import tensorboard # noqa: F401 # type: ignore
^^^^^^^^^^^^^^^^^^
ModuleNotFoundError: No module named 'tensorboard'
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Open applications/DeepSpeed-VisualChat/requirement.txt and compare it with the dependency used by training/main.py. Add tensorboard, then run the training entry point through DeepSpeed initialization and confirm the missing-module error no longer occurs.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- python
- Domain
- machine-learning
- Issue type
- Bug
- Difficulty
- 1/5
- Estimated time
- Under an hour
- Activity status
- Stale
- Clarity
- Clearly specified
- Newbie friendliness
- 55/100