Code Monkey home page Code Monkey logo

Comments (5)

js4ngu avatar js4ngu commented on July 17, 2024 1

Thank you I i fixed with your solution :)
I always thanks to your kindly answer!

from stonne.

js4ngu avatar js4ngu commented on July 17, 2024

I deleted the file and tried it from the beginning, and it succeeded

from stonne.

Adrian-2105 avatar Adrian-2105 commented on July 17, 2024

Hi, I'm glad you were able to fix it. If you have any questions in the future, do not hesitate to ask again!

from stonne.

js4ngu avatar js4ngu commented on July 17, 2024

There is a problem with benchmark execution, so an error occurs in the process of deleting and reinstalling the repository.

The following error occurs. I solved it with "pip install torch" the other day.

However, this seemed to cause problems in the process of executing benchmark
(Banchmark code cannot find simulated functions in torch.nn, such as nn.SimulatedConv2d)

Can you tell me how to solve it?
You have entered all commands in the readme in order.

image

(stonne) jognsang@DESKTOP-TV817D3:~/stonne/pytorch-frontend/stonne_connection$ python setup.py install
Traceback (most recent call last):
File "setup.py", line 2, in
from torch.utils import cpp_extension
ModuleNotFoundError: No module named 'torch'

from stonne.

Adrian-2105 avatar Adrian-2105 commented on July 17, 2024

Hello again,

This happens because we use a specific PyTorch version, so if you install the most updated version of PyTorch through pip it won't work. You must install the version that is already included in the repository. In order to avoid version problems, we recommend to create an Anaconda environment and install PyTorch + STONNE connection inside it

Please, read carefully and follow the steps listed in the README about the Frontend installation. If the problem persists, then I can recommend you to work directly with the Docker image we created, which already have installed STONNE and its PyTorch extension: https://github.com/stonne-simulator/dockerfile

from stonne.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.