文件历史

7 次代码提交

作者 SHA1 备注 提交日期
nv-dlasalle 7a2f494373 [bugfix] Make source build work for systems where the default is python2 (#3718)
* Make compatible for system where the default is python2

* Update cmakelists with find package

* Switch to find_program

Co-authored-by: Quan (Andy) Gan <coin2028@hotmail.com>
2022-03-30 08:27:58 -07:00
Quan (Andy) Gan 520cef88df [Feature] Compatibility to DLPack 0.6 in tensoradapter (#3803)
* compatibility to DLPack 0.6 in tensoradapter

* fix

* oops

Co-authored-by: Jinjing Zhou <VoVAllen@users.noreply.github.com>
2022-03-10 10:32:52 +08:00
nv-dlasalle fc6f0b9efc [bugfix] Link against pytorch library by name rather than path (attempting to fix linking issue). (#3246)
* Use library name

* fix for mac builds from source

Co-authored-by: Quan (Andy) Gan <coin2028@hotmail.com>
2021-08-19 16:16:08 +08:00
nv-dlasalle 799c091e6d [bugfix] Only link the pytorch tensordispatcher against libtorch (#3225)
* Only link tensordispatcher against pytorch

* Only modify libraries when not using MSVC
2021-08-08 13:17:04 +08:00
Quan (Andy) Gan d696558b0b fix building script for tensoradapter on mac (#2472)
Co-authored-by: Jinjing Zhou <VoVAllen@users.noreply.github.com>
2021-01-02 02:59:14 +08:00
Quan (Andy) Gan 9fe47355f0 [Build] Option to disable CUDA arch autodetection for PyTorch (#2454) 2020-12-25 15:12:13 +08:00
Quan (Andy) Gan 9a7235faf2 [Performance] Use allocator from PyTorch if possible (#2328)
* first commit

* some thoughts

* move around

* more commit

* more fixes

* now it uses torch allocator

* fix symbol export error

* fix

* fixes

* test fix

* add script

* building separate library per version

* fix for vs2019

* more fixes

* fix on windows build

* update jenkinsfile

* auto copy built dlls for windows

* lint and installation guide update

* fix

* specify conda environment

* set environment for ci

* fix

* fix

* fix

* fix again

* revert

* fix cmake

* fix

* switch to using python interpreter path

* remove scripts

* debug

* oops sorry

* Update index.rst

* Update index.rst

* copies automatically, no need for this

* do not print message if library not found

* tiny fixes

* debug on nightly

* replace add_compile_definitions to make CMake 3.5 happy

* fix linking to wrong lib for multiple pytorch envs

* changed building strategy

* fix nightly

* fix windows

* fix windows again

* setup bugfix

* address comments

* change README
2020-12-25 13:57:51 +08:00