Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Installation problems #2

Open
WangDaobin-Lz opened this issue Feb 12, 2025 · 3 comments
Open

Installation problems #2

WangDaobin-Lz opened this issue Feb 12, 2025 · 3 comments

Comments

@WangDaobin-Lz
Copy link

WangDaobin-Lz commented Feb 12, 2025

Has anyone successfully installed SimPhony? When I finished the installation and ran the example test_load_devices.py, it prompted that TorchONN was required. Following the steps shown below to install pyutils.
conda install scopex/label/ScopeX::torchonn-pyutils
Following the steps shown below to install TorchONN.
git clone https://github.com/JeremieMelo/pytorch-onn.git
cd pytorch-onn
python3 setup.py install --user clean
But, when running the third step above, it prompted that the pyutils.torch_train module was not found. Nevertheless, I found that torch_train exists as a separate file in the Pyutils folder. How can the problem be solved?
In addition, I'd like to inquire if cacti doesn't require a special installation step, just git clone the corresponding files into the cacti folder?

Any helpful guidance is greatly appreciated. Thanks!

Image

@JeremieMelo
Copy link
Collaborator

Can you try pip install torchonn-pyutils --no-build-isolation

@WangDaobin-Lz
Copy link
Author

Can you try pip install torchonn-pyutils --no-build-isolation

It doesn't seem to be working.

Image

@Farbin
Copy link

Farbin commented Mar 7, 2025

For my case, I first cloned https://github.com/JeremieMelo/pyutility and copied the pyutils folder in the SimPhony folder and that resolved the "No module named pyutils.torch_train" error.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants