This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# By defauly the PKGBUILD produces combinations of python-pytorch{,-opt}{,-cuda} | |
# Comment out some sections yourself to choose your build. | |
# Maintainer: Sven-Hendrik Haase <sh@lutzhaase.com> | |
# Contributor: Stephen Zhang <zsrkmyn at gmail dot com> | |
pkgbase="python-pytorch" | |
pkgname=(# "python-pytorch" "python-pytorch-opt" "python-pytorch-cuda" | |
"python-pytorch-opt-cuda") | |
_pkgname="pytorch" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
diff --git a/torch/csrc/api/src/optim/adagrad.cpp b/torch/csrc/api/src/optim/adagrad.cpp | |
index 96b9af2bcd..e5da19b8d3 100644 | |
--- a/torch/csrc/api/src/optim/adagrad.cpp | |
+++ b/torch/csrc/api/src/optim/adagrad.cpp | |
@@ -24,6 +24,7 @@ void Adagrad::step() { | |
} | |
if (options.weight_decay_ > 0) { | |
+ NoGradGuard guard; | |
p.grad() = p.grad() + options.weight_decay_ * p; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
use actix::prelude::*; | |
use failure::Fallible; | |
use rdkafka::{ | |
consumer::stream_consumer::StreamConsumer, | |
message::OwnedMessage, | |
Message, | |
}; | |
pub struct MsgConsumer { | |
consumer: &'static StreamConsumer, |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
use std::{ | |
marker::PhantomData, | |
ops::{Add, Shl}, | |
}; | |
use typenum::{consts::*, Double, Sum, Unsigned}; | |
pub struct Tensor<Size> | |
where | |
Size: Unsigned, | |
{ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
use std::marker::PhantomData; | |
/* Counter def, used to distinguish termination and non-termination step */ | |
/// counter trait | |
pub trait Counter {} | |
/// End of counter | |
pub struct Current; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
use typenum::{Bit, Integer, NInt, NonZero, PInt, UInt, UTerm, Unsigned, Z0}; | |
pub trait ToUnsigned<Output> { | |
fn to_unsigned() -> Output; | |
} | |
pub trait ToSigned<Output> { | |
fn to_signed() -> Output; | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
2019-11-24 03:44:20.534 [info] <0.651.5> accepting AMQP connection <0.651.5> (127.0.0.1:49752 -> 127.0.0.1:5672) | |
2019-11-24 03:44:20.534 [info] <0.654.5> accepting AMQP connection <0.654.5> (127.0.0.1:49754 -> 127.0.0.1:5672) | |
2019-11-24 03:44:20.535 [info] <0.657.5> accepting AMQP connection <0.657.5> (127.0.0.1:49756 -> 127.0.0.1:5672) | |
2019-11-24 03:44:20.579 [info] <0.654.5> connection <0.654.5> (127.0.0.1:49754 -> 127.0.0.1:5672): user 'guest' authenticated and granted access to vhost '/' | |
2019-11-24 03:44:20.579 [info] <0.651.5> connection <0.651.5> (127.0.0.1:49752 -> 127.0.0.1:5672): user 'guest' authenticated and granted access to vhost '/' | |
2019-11-24 03:44:20.579 [info] <0.657.5> connection <0.657.5> (127.0.0.1:49756 -> 127.0.0.1:5672): user 'guest' authenticated and granted access to vhost '/' | |
2019-11-24 03:44:22.134 [info] <0.687.5> accepting AMQP connection <0.687.5> (127.0.0.1:49760 -> 127.0.0.1:5672) | |
2019-11-24 03:44:22.136 [info] <0.687.5> connection <0.687.5> (127.0.0.1:49760 -> 127.0.0.1:5672): |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
cc -Wl,--as-needed -Wl,-z,noexecstack -m64 -L /home/aeon/.rustup/toolchains/nightly-2019-12-30-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib /mnt/ssd1/aeon/repos/wayside-portal/web/target/release/deps/wayside_web-9502d6d2c490caab.wayside_web.9eajdlu3-cgu.0.rcgu.o /mnt/ssd1/aeon/repos/wayside-portal/web/target/release/deps/wayside_web-9502d6d2c490caab.wayside_web.9eajdlu3-cgu.1.rcgu.o /mnt/ssd1/aeon/repos/wayside-portal/web/target/release/deps/wayside_web-9502d6d2c490caab.wayside_web.9eajdlu3-cgu.10.rcgu.o /mnt/ssd1/aeon/repos/wayside-portal/web/target/release/deps/wayside_web-9502d6d2c490caab.wayside_web.9eajdlu3-cgu.11.rcgu.o /mnt/ssd1/aeon/repos/wayside-portal/web/target/release/deps/wayside_web-9502d6d2c490caab.wayside_web.9eajdlu3-cgu.12.rcgu.o /mnt/ssd1/aeon/repos/wayside-portal/web/target/release/deps/wayside_web-9502d6d2c490caab.wayside_web.9eajdlu3-cgu.13.rcgu.o /mnt/ssd1/aeon/repos/wayside-portal/web/target/release/deps/wayside_web-9502d6d2c490caab.wayside_web.9eajdlu3-cgu.14.rcgu |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
GNU ld (GNU Binutils for Ubuntu) 2.30 | |
Supported emulations: | |
elf_x86_64 | |
elf32_x86_64 | |
elf_i386 | |
elf_iamcu | |
i386linux | |
elf_l1om | |
elf_k1om | |
i386pep |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Package Information for pkg-config | |
prefix=/opt/opencv4.2.0 | |
exec_prefix=${prefix} | |
libdir=${exec_prefix}/lib | |
includedir_old=${prefix}/include/opencv4/opencv | |
includedir_new=${prefix}/include/opencv4 | |
Name: OpenCV | |
Description: Open Source Computer Vision Library |
OlderNewer