deepspeedai / deepspeedai/DeepSpeedExamples

Missing dependence in requirement.txt of applications/DeepSpeed-VisualChat

Open
#770 0 comments 0 reactions 0 assignees View on GitHub

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

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. 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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.