GithubHelp home page GithubHelp logo

Comments (6)

cjld avatar cjld commented on June 3, 2024

请问cli_demo.py能正常问答吗?

from jittorllms.

cjld avatar cjld commented on June 3, 2024

还需要您提供下错误信息中这个文件的具体内容:source file location:D:\Jianan\Win\Anaconda3\envs\jittor\JittorHome.cache\jittor\jt1.3.7\cl\py3.8.16\Windows-10-10.x04\IntelRCoreTMi7x3b\default\cu11.2.67\jit\getitem__Ti_float16__IDIM_1__ODIM_1__IV0_0__IO0_0__VS0_1__JIT_1__JIT_cpu_1__index_t_int32_hash_eaf0bc6f85e36896_op.cc

from jittorllms.

qinxiandiqi avatar qinxiandiqi commented on June 3, 2024

不好意思,那台电脑现在不在身边,要下周二才能再拿到,拿到再回复你哈

from jittorllms.

qinxiandiqi avatar qinxiandiqi commented on June 3, 2024

还需要您提供下错误信息中这个文件的具体内容:source file location:D:\Jianan\Win\Anaconda3\envs\jittor\JittorHome.cache\jittor\jt1.3.7\cl\py3.8.16\Windows-10-10.x04\IntelRCoreTMi7x3b\default\cu11.2.67\jit\getitem__Ti_float16__IDIM_1__ODIM_1__IV0_0__IO0_0__VS0_1__JIT_1__JIT_cpu_1__index_t_int32_hash_eaf0bc6f85e36896_op.cc

内容如下:

#define JIT 1
#define JIT_cpu 1






#include <cmath>
#include "var.h"
#include "executor.h"
#include "ops/getitem_op.h"
#include "ops/op_register.h"
#include "type/fp16_compute.h"
#define getitem 
#define Ti float16
#define IDIM 1
#define ODIM 1
#define IV0 0
#define IO0 0
#define VS0 1
#define index_t int32

namespace jittor {



#pragma GCC diagnostic ignored "-Wunused-variable"

void GetitemOp::jit_run() {
    auto in = inputs().front();
    auto out = outputs().front();
    if (out->num == 0) return;
    if (ns.get(GetitemOp::_inplace) &&
        in->allocator == out->allocator &&
        in->allocation == out->allocation)
        return;

     index_t oshape0 = o_shape[0];
    
        index_t ostride0 = 1;
        
    
    Ti* op = out->ptr<Ti>();

    Ti* ip = in->ptr<Ti>();
     index_t ishape0 = 
        
        in->shape[0];
    
    index_t istride0 = 1;
    

    
     
         
            index_t vstart0 = vs.slices[0].slice.start;
            index_t vstep0 = 1;
        
    
    
     
        
    
    
     
        
    
    
    

     for (index_t i0=0; i0 < oshape0; i0++) {
        index_t oid = 0  + i0 * ostride0;
         index_t iid0 = 
            
            
             (i0*vstep0+vstart0);
        
        auto iid = 0   + iid0 * istride0;
        op[oid] = ip[iid];
    }
}


} 

from jittorllms.

sticktoFE avatar sticktoFE commented on June 3, 2024

应该是修改JITTOR_HOME位置了,我修改到D盘就会报这个问题,保持C盘没问题,我的32G内存,8g显存(nVidia 2080)风险狂转,根本跑不起来

from jittorllms.

qinxiandiqi avatar qinxiandiqi commented on June 3, 2024

应该是修改JITTOR_HOME位置了,我修改到D盘就会报这个问题,保持C盘没问题,我的32G内存,8g显存(nVidia 2080)风险狂转,根本跑不起来

对,我就是修改了JITOR_HOME,C盘空间不够啊

from jittorllms.

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.