Coder Social home page Coder Social logo

Comments (8)

strint avatar strint commented on May 30, 2024

use oneflow_compile to compile the ImageEncoderViT model

Please wait for onediff 1.1.

oneflow_compile is not a very general API to compile other models for now.

@zhangvia

from onediff.

zhangvia avatar zhangvia commented on May 30, 2024

use oneflow_compile to compile the ImageEncoderViT model

Please wait for onediff 1.1.

oneflow_compile is not a very general API to compile other models for now.

@zhangvia

got it. there is another question i want to know. the newest version of oneflow is 1.0.0 in github repo changelog. but there is no prebuilt version 1.0.0 in https://github.com/siliconflow/oneflow_releases/releases/expanded_assets/, right? and besides, when i install oneflow use python3 -m pip install -U --pre oneflow -f https://github.com/siliconflow/oneflow_releases/releases/expanded_assets/community_cu118, there is compile_from_torch method sometimes, and sometimes there is not. i don't know why

from onediff.

strint avatar strint commented on May 30, 2024

got it. there is another question i want to know. the newest version of oneflow is 1.0.0 in github repo changelog.

OneDiff is using a special oneflow build by onediff team, let's call it oneflow4onediff. It's different with oneflow 1.0.0.

oneflow4onediff is here: https://github.com/siliconflow/onediff?tab=readme-ov-file#1-install-oneflow

from onediff.

zhangvia avatar zhangvia commented on May 30, 2024

but there is also no prebuilt verison v1.0.0 in https://oneflow-staging.oss-cn-beijing.aliyuncs.com/branch/master/cu118 or https://pypi.tuna.tsinghua.edu.cn/simple. the version 1.0.0 can only be installed from source?

besides, what is the difference between the compile_from_torch in oneflow v1.0.0 and onediff ?

from onediff.

strint avatar strint commented on May 30, 2024

besides, what is the difference between the compile_from_torch in oneflow v1.0.0 and onediff ?

compile_from_torch is absorbed form onediff infer_compiler and compile_from_torch is trying to be able to compile more torch models than onediff(which focuses on diffusion models)

But compile_from_torch is at an early stage of being a general torch code compiler.

from onediff.

jackalcooper avatar jackalcooper commented on May 30, 2024

verison v1.0.0

verison v1.0.0 is onediff's version, not oneflow's. It would work by installing these nightly builds of oneflow which including dates like dev20240415

from onediff.

zhangvia avatar zhangvia commented on May 30, 2024

verison v1.0.0 is onediff's version, not oneflow's. It would work by installing these nightly builds of oneflow which including dates like dev20240415

i think the oneflow also has version 1.0.0 image

from onediff.

strint avatar strint commented on May 30, 2024

but there is also no prebuilt verison v1.0.0 in https://oneflow-staging.oss-cn-beijing.aliyuncs.com/branch/master/cu118 or https://pypi.tuna.tsinghua.edu.cn/simple. the version 1.0.0 can only be installed from source?

Yes.

But if you are using onediff, you must install oneflow from here: https://github.com/siliconflow/onediff?tab=readme-ov-file#1-install-oneflow

from onediff.

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.